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

Unified Diff: ui/gl/gl_image.h

Issue 66033009: [Android] Add workaround to unbind gpu memory buffer only on NVIDIA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comma Created 7 years, 1 month 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 859966c6a7f00d804c9bd1d7def8632a27c3d689..027abe504ab7a4b89259e2ee962e960b9cb63901 100644
--- a/ui/gl/gl_image.h
+++ b/ui/gl/gl_image.h
@@ -39,6 +39,10 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> {
// Called after the texture has been used for drawing.
virtual void DidUseTexImage();
+ // Indicate that the DidUse should release image in DidUse.
reveman 2013/11/12 20:56:54 Please rephrase this comment. Maybe "Indicate that
boliu 2013/11/12 21:06:50 Done.
+ // (For an Android work-around only).
+ virtual void SetReleaseAfterUse();
+
// Create a GL image for a window.
static scoped_refptr<GLImage> CreateGLImage(gfx::PluginWindowHandle window);

Powered by Google App Engine
This is Rietveld 408576698