[cairo] [PATCH] gl: fix the same surface bug and cairo_glx_surface_t source surface bug

Chris Wilson chris at chris-wilson.co.uk
Wed Jan 11 04:20:50 PST 2012


On Wed, 11 Jan 2012 17:03:46 +0800, Chuanbo Weng <strgnm at gmail.com> wrote:
> We have to create a new surface to avoid drawing error when the source
> and destination is the same surface. Also, we should create a new texture
> surface when the source surface type is cairo_glx_surface_t. This fix
> issue in self-copy, subsurface and subsurface-modify-child test case.

What's the drawing error? A GL error? An issue in the output? Due to its
render roots, self-copy is undefined in the Cairo API so unless this
prevents an explicit error against the GL spec, I'm not going to accept
it without the larger issue (of defining self-copy) being addressed.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list