summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorniloc <storm99999@gmail.com>2010-08-04 17:40:06 -0700
committerniloc <storm99999@gmail.com>2010-08-04 17:40:06 -0700
commit7ba0be1b2eb8a410ab2898af8058f9e382a44e8f (patch)
tree044ccfe6b2b2f828825ee951779cc37ebe458b5b /libs
parent18e29ffaeac7b2fb89bb3d145a619caa93138cd9 (diff)
downloadframeworks_base-7ba0be1b2eb8a410ab2898af8058f9e382a44e8f.zip
frameworks_base-7ba0be1b2eb8a410ab2898af8058f9e382a44e8f.tar.gz
frameworks_base-7ba0be1b2eb8a410ab2898af8058f9e382a44e8f.tar.bz2
Added N1 Calibration profile to rendering options.
Diffstat (limited to 'libs')
-rw-r--r--libs/surfaceflinger/LayerBase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/surfaceflinger/LayerBase.cpp b/libs/surfaceflinger/LayerBase.cpp
index f78d140..79cbc23 100644
--- a/libs/surfaceflinger/LayerBase.cpp
+++ b/libs/surfaceflinger/LayerBase.cpp
@@ -39,6 +39,7 @@
#define RENDER_EFFECT_AMBER 4
#define RENDER_EFFECT_SALMON 5
#define RENDER_EFFECT_FUSCIA 6
+#define RENDER_EFFECT_N1_CALIBRATED 7
namespace android {
@@ -467,6 +468,8 @@ void LayerBase::drawWithOpenGL(const Region& clip, const Texture& texture) const
case RENDER_EFFECT_FUSCIA:
glColor4x(alpha, 0, alpha*0.5, alpha);
break;
+ case RENDER_EFFECT_N1_CALIBRATED:
+ glColor4x(alpha, alpha*0.98, alpha*0.82, alpha);
}
glEnable(GL_BLEND);
glBlendFunc(src, GL_ONE_MINUS_SRC_ALPHA);