summaryrefslogtreecommitdiff
path: root/libs/hwui/GradientCache.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-09-20 17:53:08 -0700
committer Romain Guy <romainguy@google.com> 2010-09-20 17:54:17 -0700
commitee916f14cbd1fe1422c063ce2ef7b185e2bc5c6f (patch)
tree4fd53bcd273d42fa1aebb064b18563aa293467b1 /libs/hwui/GradientCache.h
parentb5ab4173e0927e4668a45298c9900cd8007584e1 (diff)
Add support for SweepGradient in the GL renderer.
Change-Id: I7aa397ed4e34655ead9ba1f5b4ce087665e0f022
Diffstat (limited to 'libs/hwui/GradientCache.h')
-rw-r--r--libs/hwui/GradientCache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/GradientCache.h b/libs/hwui/GradientCache.h
index 51a8c0185adb..c829fd468007 100644
--- a/libs/hwui/GradientCache.h
+++ b/libs/hwui/GradientCache.h
@@ -46,8 +46,8 @@ public:
* Adds a new linear gradient to the cache. The generated texture is
* returned.
*/
- Texture* addLinearGradient(SkShader* shader, float* bounds, uint32_t* colors,
- float* positions, int count, SkShader::TileMode tileMode);
+ Texture* addLinearGradient(SkShader* shader, uint32_t* colors, float* positions,
+ int count, SkShader::TileMode tileMode = SkShader::kClamp_TileMode);
/**
* Returns the texture associated with the specified shader.
*/