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

Unified Diff: ui/gl/gl_context_egl.h

Issue 13140006: gpu: Fix Vivante's "hisilicon" GPUs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add recreate work-around 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
Index: ui/gl/gl_context_egl.h
diff --git a/ui/gl/gl_context_egl.h b/ui/gl/gl_context_egl.h
index e45cc251890145fcca9279814843edfa61d44a3e..ea61976e67690ca7b3663160adfdb2c4a5f64816 100644
--- a/ui/gl/gl_context_egl.h
+++ b/ui/gl/gl_context_egl.h
@@ -36,6 +36,8 @@ class GLContextEGL : public GLContext {
virtual bool WasAllocatedUsingRobustnessExtension() OVERRIDE;
virtual bool GetTotalGpuMemory(size_t* bytes) OVERRIDE;
+ bool RecreateSurfaceIfNeeded(GLSurface* surface);
+
protected:
virtual ~GLContextEGL();

Powered by Google App Engine
This is Rietveld 408576698