RESOLVED FIXED99529
GraphicsLayer visible rect computation needs to use the current animating transform
https://bugs.webkit.org/show_bug.cgi?id=99529
Summary GraphicsLayer visible rect computation needs to use the current animating tra...
Simon Fraser (smfr)
Reported 2012-10-16 18:04:58 PDT
GraphicsLayer visible rect computation needs to use the current animating transform
Attachments
Patch (12.44 KB, patch)
2012-10-16 18:08 PDT, Simon Fraser (smfr)
dino: review+
Simon Fraser (smfr)
Comment 1 2012-10-16 18:08:16 PDT
Dean Jackson
Comment 2 2012-10-17 10:59:07 PDT
Comment on attachment 169067 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=169067&action=review > Source/WebCore/platform/graphics/GraphicsLayerClient.h:75 > + virtual void currentTransform(const GraphicsLayer*, TransformationMatrix&) const { } It's a bit strange that this method is called currentTransform like the existing method on RenderLayer, but modifies its parameter rather than providing a return value. > Source/WebCore/rendering/RenderLayer.h:598 > - TransformationMatrix currentTransform() const; > + TransformationMatrix currentTransform(RenderStyle::ApplyTransformOrigin = RenderStyle::IncludeTransformOrigin) const; This is the existing one (in another class) > Source/WebCore/rendering/RenderLayerBacking.h:151 > + virtual void currentTransform(const GraphicsLayer*, TransformationMatrix&) const; This is the new one. > LayoutTests/compositing/visible-rect/animated.html:26 > + @-webkit-keyframes move { > + from { -webkit-transform: translateX(-100px); } > + to { -webkit-transform: translateX(300px); } > + } I'm not sure how this test is exercising the new code. You don't have anything here that setting transform origin.
Simon Fraser (smfr)
Comment 3 2012-10-17 11:21:11 PDT
Note You need to log in before you can comment on or make changes to this bug.