-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=76858 Patch by Dana Jansens <danakj@chromium.org> on 2012-01-31 Reviewed by James Robinson. Source/WebCore: New unit tests in TiledLayerChromiumTest.cpp, CCLayerTreeHostCommonTest.cpp, CCLayerTreeHostTest.cpp * platform/graphics/FloatRect.cpp: (WebCore::enclosedIntRect): (WebCore): * platform/graphics/FloatRect.h: (WebCore): * platform/graphics/chromium/Canvas2DLayerChromium.cpp: (WebCore::Canvas2DLayerChromium::paintContentsIfDirty): * platform/graphics/chromium/Canvas2DLayerChromium.h: (Canvas2DLayerChromium): * platform/graphics/chromium/ContentLayerChromium.cpp: (WebCore::ContentLayerChromium::paintContentsIfDirty): * platform/graphics/chromium/ContentLayerChromium.h: (ContentLayerChromium): * platform/graphics/chromium/ImageLayerChromium.cpp: (WebCore::ImageLayerChromium::paintContentsIfDirty): * platform/graphics/chromium/ImageLayerChromium.h: (ImageLayerChromium): * platform/graphics/chromium/LayerChromium.cpp: (WebCore::LayerChromium::contentToScreenSpaceTransform): (WebCore): (WebCore::LayerChromium::addSelfToOccludedScreenSpace): (WebCore::LayerChromium::isPaintedAxisAlignedInScreen): * platform/graphics/chromium/LayerChromium.h: (WebCore): (WebCore::LayerChromium::paintContentsIfDirty): (LayerChromium): * platform/graphics/chromium/RenderSurfaceChromium.h: (RenderSurfaceChromium): * platform/graphics/chromium/TiledLayerChromium.cpp: (WebCore::TiledLayerChromium::addSelfToOccludedScreenSpace): * platform/graphics/chromium/TiledLayerChromium.h: (WebCore): (): * platform/graphics/chromium/cc/CCLayerTreeHost.cpp: (WebCore::CCLayerTreeHost::paintContentsIfDirty): (WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface): (RenderSurfaceRegion): (WebCore): (WebCore::pushTargetRenderSurfaceRegion): (WebCore::popAndPushTargetRenderSurfaceRegion): (WebCore::CCLayerTreeHost::paintLayerContents): * platform/graphics/chromium/cc/CCLayerTreeHost.h: (WebCore): (): * platform/graphics/chromium/cc/CCQuadCuller.cpp: Source/WebKit/chromium: * tests/CCLayerTreeHostCommonTest.cpp: (WebCore::TEST): (WebCore): * tests/CCLayerTreeHostTest.cpp: (WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty): (WTF): (TestLayerChromium): (WTF::TestLayerChromium::create): (WTF::TestLayerChromium::paintContentsIfDirty): (WTF::TestLayerChromium::drawsContent): (WTF::TestLayerChromium::occludedScreenSpace): (WTF::TestLayerChromium::clearOccludedScreenSpace): (WTF::TestLayerChromium::TestLayerChromium): (WTF::setLayerPropertiesForTesting): (CCLayerTreeHostTestLayerOcclusion): (WTF::CCLayerTreeHostTestLayerOcclusion::CCLayerTreeHostTestLayerOcclusion): (WTF::CCLayerTreeHostTestLayerOcclusion::beginTest): (WTF::CCLayerTreeHostTestLayerOcclusion::afterTest): * tests/Canvas2DLayerChromiumTest.cpp: (WebCore::Canvas2DLayerChromiumTest::fullLifecycleTest): * tests/TiledLayerChromiumTest.cpp: (WTF::FakeLayerTextureUpdater::setOpaquePaintRect): (FakeLayerTextureUpdater): (WTF::FakeTiledLayerChromium::paintContentsIfDirty): (WTF::FakeLayerTextureUpdater::prepareToUpdate): (WTF::TEST): (WTF): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d5736250