| Index: ui/gl/gl_surface.h
|
| diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
|
| index 7fc65f7d27075ce9d2c0c96e9552a5cec46c27f1..8659cb812319e32b289ba51ba94e681e69d8e6f0 100644
|
| --- a/ui/gl/gl_surface.h
|
| +++ b/ui/gl/gl_surface.h
|
| @@ -26,6 +26,7 @@ class GLImage;
|
| namespace gfx {
|
|
|
| class GLContext;
|
| +class Transform;
|
| class VSyncProvider;
|
|
|
| // Encapsulates a surface that can be rendered to with GL, hiding platform
|
| @@ -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.
|
|
|