Chromium: Add a layer for rubber-band overhang painting to the hardware path.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Sep 2011 04:06:49 +0000 (04:06 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Sep 2011 04:06:49 +0000 (04:06 +0000)
commitef1c8346ac01b6764bd8620b34b7e01d71702d57
tree7f75ef8636eaf28dfbc1deec402bdafa57b1ef87
parent5936a9dffd97bbce364c979de29446e053ed0582
Chromium: Add a layer for rubber-band overhang painting to the hardware path.
https://bugs.webkit.org/show_bug.cgi?id=66969

Also, add layout tests for rubber-band overhang drawing for compositing path.

Patch by Alexei Svitkine <asvitkine@chromium.org> on 2011-09-14
Reviewed by James Robinson.

* page/FrameView.cpp:
(WebCore::FrameView::layerForOverhangAreas):
* page/FrameView.h:
* platform/ScrollView.cpp:
(WebCore::ScrollView::scrollContents):
(WebCore::ScrollView::wheelEvent):
* platform/ScrollView.h:
* platform/ScrollableArea.h:
(WebCore::ScrollableArea::layerForOverhangAreas):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::frameViewDidChangeSize):
(WebCore::RenderLayerCompositor::paintContents):
(WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
(WebCore::RenderLayerCompositor::destroyRootLayer):
* rendering/RenderLayerCompositor.h:
(WebCore::RenderLayerCompositor::layerForOverhangAreas):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
33 files changed:
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-e-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-e-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-e.html [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-n-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-n-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-n.html [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-ne-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-ne-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-ne.html [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-nw-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-nw-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-nw.html [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-s-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-s-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-s.html [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-se-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-se-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-se.html [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-sw-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-sw-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-sw.html [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-w-expected.png [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-w-expected.txt [new file with mode: 0644]
LayoutTests/platform/chromium-gpu/compositing/rubberbanding/transform-overhang-w.html [new file with mode: 0644]
LayoutTests/platform/chromium/test_expectations.txt
Source/WebCore/ChangeLog
Source/WebCore/page/FrameView.cpp
Source/WebCore/page/FrameView.h
Source/WebCore/platform/ScrollView.cpp
Source/WebCore/platform/ScrollView.h
Source/WebCore/platform/ScrollableArea.h
Source/WebCore/rendering/RenderLayerCompositor.cpp
Source/WebCore/rendering/RenderLayerCompositor.h