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

Unified Diff: remoting/client/display/gl_canvas.cc

Issue 2874143002: [CRD iOS] Some fixes for rendering (Closed)
Patch Set: Just use presentRenderbuffer to swap buffers Created 3 years, 7 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 | « remoting/client/display/canvas.h ('k') | remoting/client/jni/jni_gl_display_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/display/gl_canvas.cc
diff --git a/remoting/client/display/gl_canvas.cc b/remoting/client/display/gl_canvas.cc
index c61a43c1dec17018118d3fd8ff9446eb5f2f61f6..58ec1af2fece0b08412023584057aa2afee154b2 100644
--- a/remoting/client/display/gl_canvas.cc
+++ b/remoting/client/display/gl_canvas.cc
@@ -119,7 +119,6 @@ void GlCanvas::SetTransformationMatrix(const std::array<float, 9>& matrix) {
void GlCanvas::SetViewSize(int width, int height) {
DCHECK(width > 0 && height > 0);
- glViewport(0, 0, width, height);
float view_size[2]{width, height};
glUniform2fv(view_size_location_, 1, view_size);
view_size_set_ = true;
« no previous file with comments | « remoting/client/display/canvas.h ('k') | remoting/client/jni/jni_gl_display_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698