diff options
author | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-27 19:39:42 +0000 |
---|---|---|
committer | nduca@chromium.org <nduca@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-27 19:39:42 +0000 |
commit | 50bd645cfa2824a22f98096cb6a66bbd7cf757f4 (patch) | |
tree | 3cae036733b722b0ec731363179c5fdec5f7e137 /chrome/renderer/render_widget.cc | |
parent | 1bead0713628b2410ffd7ba49700c5901059d07b (diff) | |
download | chromium_src-50bd645cfa2824a22f98096cb6a66bbd7cf757f4.zip chromium_src-50bd645cfa2824a22f98096cb6a66bbd7cf757f4.tar.gz chromium_src-50bd645cfa2824a22f98096cb6a66bbd7cf757f4.tar.bz2 |
When accelerated compositing is enabled, we create a plugin-like pair of windows,
CompositorHostWindow and CompositorWindow inside the RenderWidgetHostView. The host-side
HWND is used to position the compositor output relative to plugins; the GPU process creates the
compositor window as a child of the CompositorHostWindow.
Once we land webkit bugfix 49396, ANGLE issue 3038042, Chromium issue 4671003, this will fix
bugs 54301 and 61516 for windows.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/4815001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_widget.cc')
-rw-r--r-- | chrome/renderer/render_widget.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc index bcf58b0..ee1ccd9 100644 --- a/chrome/renderer/render_widget.cc +++ b/chrome/renderer/render_widget.cc @@ -523,8 +523,7 @@ void RenderWidget::DoDeferredUpdate() { dib_id = current_paint_buf_->id(); } else { // Accelerated compositing path // Begin painting. - bool finish = next_paint_is_resize_ack(); - webwidget_->composite(finish); + webwidget_->composite(false); } // sending an ack to browser process that the paint is complete... @@ -628,7 +627,7 @@ void RenderWidget::didScrollRect(int dx, int dy, const WebRect& clip_rect) { void RenderWidget::didActivateAcceleratedCompositing(bool active) { is_accelerated_compositing_active_ = active; - Send(new ViewHostMsg_GpuRenderingActivated( + Send(new ViewHostMsg_DidActivateAcceleratedCompositing( routing_id_, is_accelerated_compositing_active_)); } |