Re: [PATCH] gl: Create a new image surface if necessary in upload_boxes().
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <1341835295_225967@CP5-2952> |
On Fri, 6 Jul 2012 15:52:28 +0800, Chuanbo Weng <[email protected]> wrote: > When the source surface type is gl-window in upload_boxes(), we should > create a image surface for it to do compositing. Fixes 6 fails in > cairo-test-suite, for example, subsurface-image-repeat. So this get_source() should just return the surface and the caller needs to decide if it can handle it. So move if the _cairo_gl_surface_is_texture() check into upload-boxes and simply return unsupported if we cannot use this fast path for it. -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo