Permalink
Show file tree
Hide file tree
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
1 parent
53cde09
commit e02b94f1f43373b509b26f146066e715fb1e076c
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters