summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/ImageTexture.h
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2012-06-06 11:24:02 -0700
committerTeng-Hui Zhu <ztenghui@google.com>2012-06-07 12:23:20 -0700
commit750f81c3eb609bfd132182bbbb9b467455175498 (patch)
tree1c0f5672223b66964693ea536504ac6f6e750c54 /Source/WebCore/platform/graphics/android/rendering/ImageTexture.h
parent6f60c96bbd87b5c54d89aeb23ace06ae3647e2f3 (diff)
downloadexternal_webkit-750f81c3eb609bfd132182bbbb9b467455175498.zip
external_webkit-750f81c3eb609bfd132182bbbb9b467455175498.tar.gz
external_webkit-750f81c3eb609bfd132182bbbb9b467455175498.tar.bz2
Add fast drawing path for repeat background image.
In the slow draw path, we are drawing the small background image one by one. Now in the fast path, we can use the GL shader to repeat the iamges. bug:6579681 Change-Id: I8ab413bdd073cb867002b77b36d4a1361290ecb2
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/ImageTexture.h')
-rw-r--r--Source/WebCore/platform/graphics/android/rendering/ImageTexture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/ImageTexture.h b/Source/WebCore/platform/graphics/android/rendering/ImageTexture.h
index 99bec90..53df6f9 100644
--- a/Source/WebCore/platform/graphics/android/rendering/ImageTexture.h
+++ b/Source/WebCore/platform/graphics/android/rendering/ImageTexture.h
@@ -92,7 +92,7 @@ public:
int nbTextures();
virtual SurfaceType type() { return TilePainter::Image; }
-
+ unsigned int getImageTextureId();
private:
const TransformationMatrix* transform();
void getImageToLayerScale(float* scaleW, float* scaleH) const;