diff options
author | 2013-10-17 10:30:55 -0700 | |
---|---|---|
committer | 2013-10-17 10:37:15 -0700 | |
commit | e63f7c622a2086aefa80983c6f41b74fb166bb42 (patch) | |
tree | 85b440de978e64c43fa5dfbe80ebd1a555b7155a /libs/hwui/Program.h | |
parent | 8c317898ee65462e9fa7b511ddf5d89c4d77e291 (diff) |
Clean unused parameters, disable warnings
Change-Id: Iddb872f53075dd022eeef45265594d1c6a9e2bc0
Diffstat (limited to 'libs/hwui/Program.h')
-rw-r--r-- | libs/hwui/Program.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h index 4f94afce9164..bc0f2114d203 100644 --- a/libs/hwui/Program.h +++ b/libs/hwui/Program.h @@ -207,7 +207,7 @@ struct ProgramDescription { * the fragment shader. When this method returns true, the program should * be provided with a modulation color. */ - bool setColor(const float r, const float g, const float b, const float a) { + bool setColorModulate(const float a) { modulate = a < COLOR_COMPONENT_THRESHOLD; return modulate; } @@ -217,7 +217,7 @@ struct ProgramDescription { * the fragment shader. When this method returns true, the program should * be provided with a modulation color. */ - bool setAlpha8Color(const float r, const float g, const float b, const float a) { + bool setAlpha8ColorModulate(const float r, const float g, const float b, const float a) { modulate = a < COLOR_COMPONENT_THRESHOLD || r > COLOR_COMPONENT_INV_THRESHOLD || g > COLOR_COMPONENT_INV_THRESHOLD || b > COLOR_COMPONENT_INV_THRESHOLD; return modulate; |