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

Unified Diff: ui/gl/gl_surface_egl.cc

Issue 1420503011: GLES2CmdDecoder should resize GLSurface using GLSurface::Resize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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_egl.h ('k') | ui/gl/gl_surface_glx.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl.cc
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc
index f85258ff8b876e276aed88706849a1a179131e0a..778e0c525c25e2f9724646ed5019a73e7fb3ac1f 100644
--- a/ui/gl/gl_surface_egl.cc
+++ b/ui/gl/gl_surface_egl.cc
@@ -672,7 +672,7 @@ gfx::Size NativeViewGLSurfaceEGL::GetSize() {
return gfx::Size(width, height);
}
-bool NativeViewGLSurfaceEGL::Resize(const gfx::Size& size) {
+bool NativeViewGLSurfaceEGL::Resize(const gfx::Size& size, float scale_factor) {
if (size == GetSize())
return true;
@@ -815,7 +815,7 @@ gfx::Size PbufferGLSurfaceEGL::GetSize() {
return size_;
}
-bool PbufferGLSurfaceEGL::Resize(const gfx::Size& size) {
+bool PbufferGLSurfaceEGL::Resize(const gfx::Size& size, float scale_factor) {
if (size == size_)
return true;
@@ -901,7 +901,7 @@ gfx::Size SurfacelessEGL::GetSize() {
return size_;
}
-bool SurfacelessEGL::Resize(const gfx::Size& size) {
+bool SurfacelessEGL::Resize(const gfx::Size& size, float scale_factor) {
size_ = size;
return true;
}
« no previous file with comments | « ui/gl/gl_surface_egl.h ('k') | ui/gl/gl_surface_glx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698