X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fui%2Fgl%2Fgl_surface.h;h=3851c1c7c81b935154533af5f39a53c1f1791bf6;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=ed029add26c6992111dcb446ba6cfe2523deb3da;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ui/gl/gl_surface.h b/src/ui/gl/gl_surface.h index ed029ad..3851c1c 100644 --- a/src/ui/gl/gl_surface.h +++ b/src/ui/gl/gl_surface.h @@ -122,6 +122,8 @@ class GL_EXPORT GLSurface : public base::RefCounted { const Rect& bounds_rect, const RectF& crop_rect); + virtual bool IsSurfaceless() const; + // Create a GL surface that renders directly to a view. static scoped_refptr CreateViewGLSurface( gfx::AcceleratedWidget window); @@ -181,6 +183,7 @@ class GL_EXPORT GLSurfaceAdapter : public GLSurface { GLImage* image, const Rect& bounds_rect, const RectF& crop_rect) OVERRIDE; + virtual bool IsSurfaceless() const OVERRIDE; GLSurface* surface() const { return surface_.get(); }