From ee916f14cbd1fe1422c063ce2ef7b185e2bc5c6f Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Mon, 20 Sep 2010 17:53:08 -0700 Subject: Add support for SweepGradient in the GL renderer. Change-Id: I7aa397ed4e34655ead9ba1f5b4ce087665e0f022 --- libs/hwui/GradientCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/GradientCache.cpp') diff --git a/libs/hwui/GradientCache.cpp b/libs/hwui/GradientCache.cpp index 9957370a5ae6..97f4cb468c53 100644 --- a/libs/hwui/GradientCache.cpp +++ b/libs/hwui/GradientCache.cpp @@ -116,7 +116,7 @@ void GradientCache::clear() { mCache.clear(); } -Texture* GradientCache::addLinearGradient(SkShader* shader, float* bounds, uint32_t* colors, +Texture* GradientCache::addLinearGradient(SkShader* shader, uint32_t* colors, float* positions, int count, SkShader::TileMode tileMode) { SkBitmap bitmap; bitmap.setConfig(SkBitmap::kARGB_8888_Config, 1024, 1); -- cgit v1.2.3-59-g8ed1b