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

Unified Diff: ui/gl/gl_image.h

Issue 180723023: gpu: Mailbox emulation with EGLImage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 6 years, 9 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_fence.cc ('k') | ui/gl/gl_image.cc » ('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 08d2be60a5adfe51d5b9a4ff0144498fce6d66f9..c1358683c0624757382bc5387f755516b1de566e 100644
--- a/ui/gl/gl_image.h
+++ b/ui/gl/gl_image.h
@@ -39,6 +39,12 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> {
// Called after the texture has been used for drawing.
virtual void DidUseTexImage();
+ // Called before the texture image data will be modified.
+ virtual void WillModifyTexImage();
+
+ // Called after the texture image data has been modified.
+ virtual void DidModifyTexImage();
+
// Indicate that image should be released after use.
// (For an Android work-around only).
virtual void SetReleaseAfterUse();
« no previous file with comments | « ui/gl/gl_fence.cc ('k') | ui/gl/gl_image.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698