From 3191cc67fddce23a92c2a5ac2ccc95cbda392180 Mon Sep 17 00:00:00 2001 From: "backer@chromium.org" Date: Wed, 12 Jun 2013 21:16:55 +0000 Subject: CC: Call SwapBuffers instead of PostSubBuffer on full frame update. This allows us to remove a driver workaround and send less information in the GLFrameData. TEST=cc_unittests Review URL: https://chromiumcodereview.appspot.com/16509008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205932 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/output/gl_renderer.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'cc/output/gl_renderer.cc') diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc index 6ae5cb2..fb5de4e 100644 --- a/cc/output/gl_renderer.cc +++ b/cc/output/gl_renderer.cc @@ -2029,11 +2029,9 @@ void GLRenderer::SwapBuffers() { flipped_y_pos_of_rect_bottom, swap_buffer_rect_.width(), swap_buffer_rect_.height()); - compositor_frame.gl_frame_data->partial_swap_allowed = true; } else { compositor_frame.gl_frame_data->sub_buffer_rect = gfx::Rect(output_surface_->SurfaceSize()); - compositor_frame.gl_frame_data->partial_swap_allowed = false; } output_surface_->SwapBuffers(&compositor_frame); -- cgit v1.1