diff options
author | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-05 01:22:43 +0000 |
---|---|---|
committer | backer@chromium.org <backer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-05 01:22:43 +0000 |
commit | 99b409c55961ff08620d95022c53dae982b3faca (patch) | |
tree | 30c779119e24ac556cab61a0b2204b667ee17f91 /content/browser | |
parent | 26bfd8fb52c08484dea77a1de65bd9a2595712ec (diff) | |
download | chromium_src-99b409c55961ff08620d95022c53dae982b3faca.zip chromium_src-99b409c55961ff08620d95022c53dae982b3faca.tar.gz chromium_src-99b409c55961ff08620d95022c53dae982b3faca.tar.bz2 |
Fix --enable-partial-swap for Aura
The change in RWHVA in r111835 missed the PostSubBuffer path. Also added a minor change to ImageTransportSurfaceLinuxGLX to get rid of an invalid call to SwapBuffers.
R=piman,sky
BUG=none
TEST=try --ui-enable-partial-swap --enable-partial-swap on aura with intel graphics on webkit.org/blog-files/3d-transforms/poster-circle.html; resize the window
Review URL: http://codereview.chromium.org/8983029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116433 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_view_aura.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc index 25b6b38..ce6c01b 100644 --- a/content/browser/renderer_host/render_widget_host_view_aura.cc +++ b/content/browser/renderer_host/render_widget_host_view_aura.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -362,6 +362,7 @@ void RenderWidgetHostViewAura::AcceleratedSurfacePostSubBuffer( const GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params& params, int gpu_host_id) { #if defined(UI_COMPOSITOR_IMAGE_TRANSPORT) + current_surface_ = params.surface_id; UpdateExternalTexture(); if (!window_->layer()->GetCompositor()) { |