[cairo] [PATCH] [cairo-gl] Fix support for gl window surface resizes
ranma42 at gmail.com
Wed Jan 12 04:30:41 PST 2011
On Wed, Jan 12, 2011 at 11:54 AM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> On Wed, 12 Jan 2011 10:05:32 +0100, Andrea Canciani <ranma42 at gmail.com>
>> 'git grep' finds two occurrences of _cairo_gl_context_set_destination
Oops, there are actually three of them, anyway...
>> and both of them are on surface->base.device. Is it really possible
>> to use a cairo-gl surface as destination in multiple contexts?
> Yes, since we are concerned about invalidating the cairo_gl_context_t
> *cache* of the current surface.
I'm still not seeing what can cause the boolean flag to fail.
I thought that the problem might have been with a gl surface being
destroyed and a new one being created at the same address, but
that is already handled by _cairo_gl_surface_finish.
Could you post a small pseudocode snippet which might trigger the problem?
More information about the cairo