forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allocate TransformationMatrix on PartitionAlloc
TransformationMatrix needs to be 16-byte aligned on 64-bit platforms due to use of vector instructions. PartitionAlloc has an ability to allocate a multiple-of-16-byte object with 16-byte alignment, but Oilpan doesn't have the ability. So this CL changes CSSMatrix and DOMMatrixReadOnly so that they hold TransformationMatrix via an OwnPtr, which makes sure that TransformationMatrix is allocated on PartitionAlloc. Patch by haraken@chromium.org, reviewed at https://codereview.chromium.org/1361373002/ This is identical to this patch, except that the check in checkAlignment() is done conditionally. BUG=534853 TBR=haraken Review URL: https://codereview.chromium.org/1359363005 Cr-Commit-Position: refs/heads/master@{#350931}
- Loading branch information
Showing
8 changed files
with
173 additions
and
138 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
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
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
Oops, something went wrong.