Index: ui/gl/gl_image.h |
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
index 45303fd64602321259973a4090478e645390ca37..86f6467f83408ad53b1b9c361feb25069ce6e355 100644 |
--- a/ui/gl/gl_image.h |
+++ b/ui/gl/gl_image.h |
@@ -6,6 +6,10 @@ |
#define UI_GL_GL_IMAGE_H_ |
#include "base/memory/ref_counted.h" |
+#include "ui/gfx/native_widget_types.h" |
+#include "ui/gfx/overlay_transform.h" |
+#include "ui/gfx/rect.h" |
+#include "ui/gfx/rect_f.h" |
#include "ui/gfx/size.h" |
#include "ui/gl/gl_export.h" |
@@ -41,6 +45,13 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
// Called after the texture image data has been modified. |
virtual void DidModifyTexImage() = 0; |
+ // Schedule image as an overlay plane to be shown at swap time for |widget|. |
reveman
2014/07/31 18:40:32
Note: I think this comment is enough here. I'd rat
|
+ virtual bool ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
+ int z_order, |
+ OverlayTransform transform, |
+ const Rect& bounds_rect, |
+ const RectF& crop_rect) = 0; |
+ |
// Indicate that image should be released after use. |
// (For an Android work-around only). |
virtual void SetReleaseAfterUse(); |