diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.h b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.h index 28d4b09..5418745 100644 --- a/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.h +++ b/Source/WebCore/platform/graphics/android/GraphicsLayerAndroid.h @@ -1,5 +1,6 @@ /* * Copyright (C) 2009 The Android Open Source Project + * Copyright (C) 2011, Sony Ericsson Mobile Communications AB * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -92,6 +93,10 @@ public: virtual void setNeedsDisplay(); virtual void setNeedsDisplayInRect(const FloatRect&); +#if ENABLE(WEBGL) + virtual void setContentsNeedsDisplay(); +#endif + virtual bool addAnimation(const KeyframeValueList& valueList, const IntSize& boxSize, const Animation* anim, @@ -116,6 +121,9 @@ public: virtual void setContentsToImage(Image*); virtual void setContentsToMedia(PlatformLayer*); +#if ENABLE(WEBGL) + virtual void setContentsToCanvas(PlatformLayer*); +#endif virtual PlatformLayer* platformLayer() const; void pauseDisplay(bool state); @@ -165,6 +173,12 @@ private: bool m_newImage; Image* m_image; +#if ENABLE(WEBGL) + bool m_is3DCanvas; +#endif + + SkRegion m_dirtyRegion; + LayerAndroid* m_contentLayer; FixedBackgroundImageLayerAndroid* m_fixedBackgroundLayer; LayerAndroid* m_foregroundLayer; |