Re: [PATCH]: gl: Return surface in error when creating oversized texture surfaces
Chris Wilson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jul 29, 2013 at 02:02:34PM -0700, Martin Robinson wrote: > If you are more comfortable with it, I can simply replicate the check at > the beginning of _cairo_gl_surface_create_similar and the associated > error surface. I think that's sufficient for what we need in WebKit. I think returning the error surface is indeed the better approach, as it prevents surprises. It is just that it is at odds with the ethos that Cairo can (and should) handle infinite surfaces and coordinate systems that chaffs. Reality is such a let down. -Chris -- Chris Wilson, Intel Open Source Technology Centre -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo