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

Unified Diff: ui/gl/gl_surface.cc

Issue 14241009: Revert "gpu: Fix Vivante's "hisilicon" GPUs" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@HUAWEI_fix_black_fix_var
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_surface.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface.cc
diff --git a/ui/gl/gl_surface.cc b/ui/gl/gl_surface.cc
index fc271a263293ad3041687fef158b5d3a059a831d..0feeb34ddebb0711479c12807dada960d208d39f 100644
--- a/ui/gl/gl_surface.cc
+++ b/ui/gl/gl_surface.cc
@@ -84,11 +84,6 @@ bool GLSurface::Resize(const gfx::Size& size) {
return false;
}
-bool GLSurface::Recreate() {
- NOTIMPLEMENTED();
- return false;
-}
-
bool GLSurface::DeferDraws() {
return false;
}
@@ -150,13 +145,6 @@ VSyncProvider* GLSurface::GetVSyncProvider() {
return NULL;
}
-bool GLSurface::RecreateOnMakeCurrent() {
- return false;
-}
-
-void GLSurface::SetRecreateOnMakeCurrent(bool recreate) {
-}
-
GLSurface* GLSurface::GetCurrent() {
return current_surface_.Pointer()->Get();
}
@@ -197,10 +185,6 @@ bool GLSurfaceAdapter::Resize(const gfx::Size& size) {
return surface_->Resize(size);
}
-bool GLSurfaceAdapter::Recreate() {
- return surface_->Recreate();
-}
-
bool GLSurfaceAdapter::DeferDraws() {
return surface_->DeferDraws();
}
@@ -265,14 +249,6 @@ VSyncProvider* GLSurfaceAdapter::GetVSyncProvider() {
return surface_->GetVSyncProvider();
}
-bool GLSurfaceAdapter::RecreateOnMakeCurrent() {
- return surface_->RecreateOnMakeCurrent();
-}
-
-void GLSurfaceAdapter::SetRecreateOnMakeCurrent(bool recreate) {
- surface_->SetRecreateOnMakeCurrent(recreate);
-}
-
GLSurfaceAdapter::~GLSurfaceAdapter() {}
} // namespace gfx
« no previous file with comments | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698