Index: ui/gl/gl_surface_overlay.h |
diff --git a/ui/gl/gl_surface_overlay.h b/ui/gl/gl_surface_overlay.h |
index df6923ab6db1baf8dbb5c212b9bdf7051450ae4f..713a505dbdcc6f6f6232b0bb16b65ce8f3010a9b 100644 |
--- a/ui/gl/gl_surface_overlay.h |
+++ b/ui/gl/gl_surface_overlay.h |
@@ -20,9 +20,11 @@ class GLSurfaceOverlay { |
public: |
GLSurfaceOverlay(int z_order, |
OverlayTransform transform, |
+ gfx::BufferFormat storage_format, |
gl::GLImage* image, |
const Rect& bounds_rect, |
- const RectF& crop_rect); |
+ const RectF& crop_rect, |
+ bool handle_scaling); |
~GLSurfaceOverlay(); |
// Schedule the image as an overlay plane to be shown at swap time for |
@@ -32,9 +34,11 @@ class GLSurfaceOverlay { |
private: |
int z_order_; |
OverlayTransform transform_; |
+ gfx::BufferFormat storage_format_; |
scoped_refptr<gl::GLImage> image_; |
Rect bounds_rect_; |
RectF crop_rect_; |
+ bool handle_scaling_; |
}; |
} // namespace gfx |