| Index: ui/gl/gl_surface.h
|
| diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
|
| index 981e0ed60020c336f2dee11d22523c230129e5aa..56511c6c3728877a4c65d931c17a291a60b502b1 100644
|
| --- a/ui/gl/gl_surface.h
|
| +++ b/ui/gl/gl_surface.h
|
| @@ -26,6 +26,10 @@ class Transform;
|
| class VSyncProvider;
|
| }
|
|
|
| +namespace ui {
|
| +struct CARendererLayerParams;
|
| +}
|
| +
|
| namespace gl {
|
|
|
| class GLContext;
|
| @@ -173,17 +177,8 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
|
|
|
| // Schedule a CALayer to be shown at swap time.
|
| // All arguments correspond to their CALayer properties.
|
| - virtual bool ScheduleCALayer(GLImage* contents_image,
|
| - const gfx::RectF& contents_rect,
|
| - float opacity,
|
| - unsigned background_color,
|
| - unsigned edge_aa_mask,
|
| - const gfx::RectF& rect,
|
| - bool is_clipped,
|
| - const gfx::RectF& clip_rect,
|
| - const gfx::Transform& transform,
|
| - int sorting_content_id,
|
| - unsigned filter);
|
| + virtual bool ScheduleCALayer(const ui::CARendererLayerParams& params);
|
| +
|
| struct GL_EXPORT CALayerInUseQuery {
|
| CALayerInUseQuery();
|
| explicit CALayerInUseQuery(const CALayerInUseQuery&);
|
|
|