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

Unified Diff: ui/gl/gl_image_egl.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: Update a more comments 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_egl.h
diff --git a/ui/gl/gl_image_egl.h b/ui/gl/gl_image_egl.h
index 2c64f4d6becec430849a5fb9f89d76580c680062..44ddce6273a4d22306721fc02df6440e2950f5c5 100644
--- a/ui/gl/gl_image_egl.h
+++ b/ui/gl/gl_image_egl.h
@@ -22,7 +22,7 @@ class GL_EXPORT GLImageEGL : public GLImage {
virtual bool BindTexImage() OVERRIDE;
virtual void ReleaseTexImage() OVERRIDE;
virtual void WillUseTexImage() OVERRIDE;
- virtual void DidUseTexImage() OVERRIDE;
+ virtual void DidUseTexImage(bool release_tex_image) OVERRIDE;
protected:
virtual ~GLImageEGL();
@@ -30,6 +30,7 @@ class GL_EXPORT GLImageEGL : public GLImage {
private:
EGLImageKHR egl_image_;
gfx::Size size_;
+ bool need_unbind_after_use_;
bool in_use_;
DISALLOW_COPY_AND_ASSIGN(GLImageEGL);
« ui/gl/gl_image.h ('K') | « ui/gl/gl_image.cc ('k') | ui/gl/gl_image_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698