Index: ui/gl/gl_image.h |
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
index 8a7a21203f9404196d8a10caae8afc27ca042ae5..bb2cd5ddcd7c04fb996ef95827fce7f4f2ec5c80 100644 |
--- a/ui/gl/gl_image.h |
+++ b/ui/gl/gl_image.h |
@@ -92,6 +92,9 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
}; |
virtual Type GetType() const; |
+ // Flush any preceding rendering for the image. |
+ virtual void Flush() = 0; |
reveman
2016/06/29 07:37:51
Do we need to add GLImage API function for this? I
vinceh
2016/06/29 07:44:36
That's actually implemented according to Daniel's
dnicoara
2016/06/29 14:21:56
My thought was to make it a generic API since it i
vinceh
2016/06/30 09:22:48
Then let's implement this inside GLImageOzoneNativ
marcheu1
2016/07/01 06:45:58
If we do this as part of ScheduleOverlayPlane, wou
reveman
2016/07/11 18:59:06
Is this flush needed in the sw raster case? In the
|
+ |
protected: |
virtual ~GLImage() {} |