diff options
author | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-12 21:16:55 +0000 |
---|---|---|
committer | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-12 21:16:55 +0000 |
commit | 3191cc67fddce23a92c2a5ac2ccc95cbda392180 (patch) | |
tree | fead59fbc0a577312f5d87f5f966aa964c19a669 /cc/output/gl_renderer.cc | |
parent | 59b463158f40c1096f6b2926c628d122790650e6 (diff) | |
download | chromium_src-3191cc67fddce23a92c2a5ac2ccc95cbda392180.zip chromium_src-3191cc67fddce23a92c2a5ac2ccc95cbda392180.tar.gz chromium_src-3191cc67fddce23a92c2a5ac2ccc95cbda392180.tar.bz2 |
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
Diffstat (limited to 'cc/output/gl_renderer.cc')
-rw-r--r-- | cc/output/gl_renderer.cc | 2 |
1 files changed, 0 insertions, 2 deletions
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); |