diff options
author | Chris Craik <ccraik@google.com> | 2012-05-24 14:02:34 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2012-05-24 16:46:59 -0700 |
commit | 6c20d86c1e2d94a15a34cb3881f6c29967591f7d (patch) | |
tree | ad049684ed167e55a3922e2a9c5fc9f204e16238 /Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h | |
parent | 9c52999fb17b49c672908e36aabda61abf63fe8f (diff) | |
download | external_webkit-6c20d86c1e2d94a15a34cb3881f6c29967591f7d.zip external_webkit-6c20d86c1e2d94a15a34cb3881f6c29967591f7d.tar.gz external_webkit-6c20d86c1e2d94a15a34cb3881f6c29967591f7d.tar.bz2 |
Compute draw transforms only for new/dynamically transformed layers
Previously, hundreds of layers could take 4+ ms to update transforms. Now, only
those that are fixed, have animations, or are scrollable calculate transforms.
bug:6530473
Change-Id: Ic9b14b76190c5bd0e5a405914a624d92b7ca7980
Diffstat (limited to 'Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h b/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h index 55b4b21..b43dc83 100644 --- a/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h +++ b/Source/WebCore/platform/graphics/android/layers/BaseLayerAndroid.h @@ -51,6 +51,7 @@ public: private: // TODO: move to SurfaceCollection. Color m_color; + bool m_positionsCalculated; }; class ForegroundBaseLayerAndroid : public LayerAndroid { |