diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2012-04-25 15:30:11 -0700 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2012-04-26 09:47:40 -0700 |
commit | 485445e9a624fe92ca04a1d0e92c1f71aaf8cd8f (patch) | |
tree | 7181253b2cef71b38e00bbd0fbc38459c7870d45 /Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h | |
parent | 2ad54828a335c8e7337ab1f1077253689630a6d2 (diff) | |
download | external_webkit-485445e9a624fe92ca04a1d0e92c1f71aaf8cd8f.zip external_webkit-485445e9a624fe92ca04a1d0e92c1f71aaf8cd8f.tar.gz external_webkit-485445e9a624fe92ca04a1d0e92c1f71aaf8cd8f.tar.bz2 |
Support partial draw in terms of a rect.
In this way, we can cover any internal rect area of the tiles.
bug:6338952
Change-Id: If236a7f6ad82a3f9126a692ca5b08240a3631f88
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h b/Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h index e290242..8c9e301 100644 --- a/Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h +++ b/Source/WebCore/platform/graphics/android/rendering/ShaderProgram.h @@ -167,7 +167,7 @@ private: void setBlendingState(bool enableBlending); void drawQuadInternal(ShaderType type, const GLfloat* matrix, int textureId, float opacity, GLenum textureTarget, GLenum filter, - const Color& pureColor, const FloatPoint& fillPortion); + const Color& pureColor, const FloatRect& fillPortion); Color shaderColor(Color pureColor, float opacity); ShaderType getTextureShaderType(GLenum textureTarget); void resetBlending(); |