[cairo] [PATCH] [cairo-gl] Fix support for gl window surface resizes (take 2)

Bill Spitzak spitzak at gmail.com
Tue Jan 18 08:39:41 PST 2011


Is there a reason that a cairo_gl_surface_t can only be used by at most 
one cairo_gl_context_t? The flag will only work if this is true.

Alexandros Frantzis wrote:
> Hi all!
> 
> Now that the issue with surfaces and gl_contexts is hopefully clear, I
> have created a new branch that includes Andrea's proposed patch.
> 
> This is a similar but improved version of my original
> gl-window-surface-resize branch which has now been overwritten with a
> new version.
> 
> The patches can be found in the 'gl-window-surface-resize3' branch at:
> 
> http://git.linaro.org/gitweb?p=people/afrantzis/cairo.git;a=shortlog;h=refs/heads/gl-window-surface-resize3
> 
> git://git.linaro.org/people/afrantzis/cairo.git
> 
> Summing up the current branch contents:
> 
> gl-window-surface-resize: use width/height to detect surface resizes
> gl-window-surface-resize2: use a per surface serial to detect surface resizes
> gl-window-surface-resize3: use a per surface flag to detect surface resizes


More information about the cairo mailing list