diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/platform/graphics/texmap/TextureMapperTile.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/platform/graphics/texmap/TextureMapperTile.h')
-rw-r--r-- | Source/WebCore/platform/graphics/texmap/TextureMapperTile.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Source/WebCore/platform/graphics/texmap/TextureMapperTile.h b/Source/WebCore/platform/graphics/texmap/TextureMapperTile.h index ee6809f20..6aebd3139 100644 --- a/Source/WebCore/platform/graphics/texmap/TextureMapperTile.h +++ b/Source/WebCore/platform/graphics/texmap/TextureMapperTile.h @@ -20,8 +20,6 @@ #ifndef TextureMapperTile_h #define TextureMapperTile_h -#if USE(ACCELERATED_COMPOSITING) && USE(TEXTURE_MAPPER) - #include "FloatRect.h" #include "Image.h" #include "TextureMapper.h" @@ -34,14 +32,14 @@ class GraphicsLayer; class TextureMapperTile { public: - inline PassRefPtr<BitmapTexture> texture() const { return m_texture; } + inline RefPtr<BitmapTexture> texture() const { return m_texture; } inline FloatRect rect() const { return m_rect; } inline void setTexture(BitmapTexture* texture) { m_texture = texture; } inline void setRect(const FloatRect& rect) { m_rect = rect; } - void updateContents(TextureMapper*, Image*, const IntRect&, BitmapTexture::UpdateContentsFlag UpdateCanModifyOriginalImageData); - void updateContents(TextureMapper*, GraphicsLayer*, const IntRect&, BitmapTexture::UpdateContentsFlag UpdateCanModifyOriginalImageData); - virtual void paint(TextureMapper*, const TransformationMatrix&, float, const unsigned exposedEdges); + void updateContents(TextureMapper&, Image*, const IntRect&, BitmapTexture::UpdateContentsFlag UpdateCanModifyOriginalImageData); + void updateContents(TextureMapper&, GraphicsLayer*, const IntRect&, BitmapTexture::UpdateContentsFlag UpdateCanModifyOriginalImageData, float scale = 1); + virtual void paint(TextureMapper&, const TransformationMatrix&, float, const unsigned exposedEdges); virtual ~TextureMapperTile() { } explicit TextureMapperTile(const FloatRect& rect) @@ -55,6 +53,5 @@ private: }; } -#endif #endif |