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

Unified Diff: ui/gl/gl_context_egl.h

Issue 14189031: Merge 195349 "Reland "gpu: Fix Vivante's "hisilicon" GPUs"" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1453/src/
Patch Set: Created 7 years, 8 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_context.cc ('k') | ui/gl/gl_context_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_egl.h
===================================================================
--- ui/gl/gl_context_egl.h (revision 195901)
+++ ui/gl/gl_context_egl.h (working copy)
@@ -35,7 +35,10 @@
virtual std::string GetExtensions() OVERRIDE;
virtual bool WasAllocatedUsingRobustnessExtension() OVERRIDE;
virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE;
+ virtual void SetRecreateSurfaceOnMakeCurrent() OVERRIDE;
+ bool RecreateSurfaceIfNeeded(GLSurface* surface);
+
protected:
virtual ~GLContextEGL();
@@ -43,6 +46,7 @@
EGLContext context_;
EGLDisplay display_;
EGLConfig config_;
+ bool recreate_surface_on_makecurrent_;
DISALLOW_COPY_AND_ASSIGN(GLContextEGL);
};
« no previous file with comments | « ui/gl/gl_context.cc ('k') | ui/gl/gl_context_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698