Descriptiongfx: De-templatize the gfx::Point and gfx::PointF classes.
This shrinks the android ChromeShell APK by 600 bytes, and improves
performance on compositor benchmarks.
Numbers can be found here https://crbug.com/407444#c15 but the summary
is this saves about 0.1ms cpu time on the JS_FULL_SCREEN_INVALIDATION
test in the thread_times.tough_compositor_cases test suite.
This also makes it easier to read and find functions in the Point and
PointF classes for developers.
R=sky
BUG=407444
Committed: https://crrev.com/76b13bfe17a7bf70ea6a2763e1f8c68aca794f66
Cr-Commit-Position: refs/heads/master@{#300283}
Patch Set 1 : inlines-point: gn #Patch Set 2 : inlines-point: header-in-tests #Patch Set 3 : inlines-point: windows #Patch Set 4 : inlines-point: rebase #
Messages
Total messages: 11 (6 generated)
|