Descriptionui/gfx mojo: Don't serialize the identity matrix
Identity transforms are the most common transform on the web
(most things aren't transformed) and so we shouldn't spend a bunch of time
serializing and deserializing (and validating) identity matrices.
This improves deserialization performance of CompositorFrames with a lot
of SharedQuadState or RenderPasses by between 5-15%. Where gfx::Transform
isn't used as much, this change has a negligible impact.
BUG=624459
Committed: https://crrev.com/7ca76d1cfb84ff3483540cf107bec90c99d8a90b
Cr-Commit-Position: refs/heads/master@{#411099}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 11 (3 generated)
|