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

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
« 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..7fa4068efe5d34296354e6125886d753a7cae405 100644
--- a/ui/gl/gl_image.h
+++ b/ui/gl/gl_image.h
@@ -68,6 +68,9 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> {
const gfx::Rect& bounds_rect,
const gfx::RectF& crop_rect) = 0;
+ // Flush any preceding rendering for the image.
+ virtual void Flush() = 0;
+
// Dumps information about the memory backing the GLImage to a dump named
// |dump_name|.
virtual void OnMemoryDump(base::trace_event::ProcessMemoryDump* pmd,
« 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