diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/LayerAndroid.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/LayerAndroid.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/LayerAndroid.h b/Source/WebCore/platform/graphics/android/LayerAndroid.h index 90f4e86..cd52937 100644 --- a/Source/WebCore/platform/graphics/android/LayerAndroid.h +++ b/Source/WebCore/platform/graphics/android/LayerAndroid.h @@ -276,6 +276,12 @@ public: void assignTextureTo(LayerAndroid* newTree); void createTexture(); + // Update layers using another tree. Only works for basic properties + // such as the position, the transform. Return true if anything more + // complex is needed. + bool updateWithTree(LayerAndroid*); + bool updateWithLayer(LayerAndroid*); + SkBitmapRef* imageRef() { return m_imageRef; } ImageTexture* imageTexture() { return m_imageTexture; } int type() { return m_type; } |