Chromium Code Reviews| Index: ui/gl/gl_surface.h |
| diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h |
| index 7fc65f7d27075ce9d2c0c96e9552a5cec46c27f1..bfed21baf7e97044f7e935d7e4c1a27650ab55e9 100644 |
| --- a/ui/gl/gl_surface.h |
| +++ b/ui/gl/gl_surface.h |
| @@ -25,6 +25,7 @@ class GLImage; |
| namespace gfx { |
| +class Transform; |
| class GLContext; |
| class VSyncProvider; |
|
Avi (use Gerrit)
2015/11/10 02:25:58
alphabetize?
ccameron
2015/11/10 03:05:06
Done.
|
| @@ -144,6 +145,15 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> { |
| const Rect& bounds_rect, |
| const RectF& crop_rect); |
| + // Schedule a CALayer to be shown at swap time. |
| + // All arguments correspond to their CALayer properties. |
| + virtual bool ScheduleCALayer(gl::GLImage* contents_image, |
| + const RectF& contents_rect, |
| + float opacity, |
| + unsigned background_color, |
| + const SizeF& size, |
| + const Transform& transform); |
| + |
| virtual bool IsSurfaceless() const; |
| // Create a GL surface that renders directly to a view. |