Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1671)

Unified Diff: ui/gl/gl_image.h

Issue 2109803003: Add support for EXT_image_flush_external extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add support for EXT_image_flush_external extension Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_bindings_autogen_egl.cc ('k') | ui/gl/gl_image_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {}
« no previous file with comments | « ui/gl/gl_bindings_autogen_egl.cc ('k') | ui/gl/gl_image_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698