[cairo] [cairo-commit] src/cairo-skia-surface.cpp
nravi.n at samsung.com
Sun Jul 13 23:42:18 PDT 2014
Please see if this patch fulfils the need.
> -----Original Message-----
> From: Chris Wilson [mailto:chris at chris-wilson.co.uk]
> Sent: Friday, July 11, 2014 11:28 AM
> To: RAVI NANJUNDAPPA
> Cc: cairo at cairographics.org; cairo-commit at cairographics.org
> Subject: Re: Re: [cairo] [cairo-commit] src/cairo-skia-surface.cpp
> On Fri, Jul 11, 2014 at 04:33:52AM +0000, RAVI NANJUNDAPPA wrote:
> > Hi Chris,
> > I understand your point.
> > May be in such a case, where the user has not explicitly passed any
> type, then we can fallback to " _cairo_image_surface_create_with_content
> (content, width, height);" statement,
> > which ideally should be the case (I'm using this from
> > I hope this is fine ?
> If the create_similar backend returns NULL, it is an indication that the
> operation is unsupported for that backend. The caller then decides how to
> handle the unsupported operation. In the user facing function, an image
> surface is created instead.
> Chris Wilson, Intel Open Source Technology Centre
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1143 bytes
Desc: not available
More information about the cairo