Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[TexMap] A Minor optimization of GraphicsLayerTransform.
https://bugs.webkit.org/show_bug.cgi?id=105758 Patch by Huang Dongsung <luxtella@company100.net> on 2012-12-26 Reviewed by Noam Rosenthal. Only multiply the transformation matrices if the paramaters are actually changed. This optimizes the code path called from flushCompositingStateForThisLayerOnly(), and potentially setAnimatedTransform(). No new tests. Refactoring only. * platform/graphics/GraphicsLayerTransform.cpp: (WebCore::GraphicsLayerTransform::setPosition): (WebCore::GraphicsLayerTransform::setSize): (WebCore::GraphicsLayerTransform::setAnchorPoint): (WebCore::GraphicsLayerTransform::setFlattening): (WebCore::GraphicsLayerTransform::setLocalTransform): (WebCore::GraphicsLayerTransform::setChildrenTransform): Canonical link: https://commits.webkit.org/123971@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@138487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information