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

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, 5 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
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/07/11 18:59:06 nit: EmulatingRGB and GetType are temporary workar
+
protected:
virtual ~GLImage() {}
« no previous file with comments | « ui/gl/gl_bindings_autogen_egl.cc ('k') | ui/gl/gl_image_egl.h » ('j') | ui/gl/gl_image_glx.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698