Permalink
Browse files

Added N1 Calibration profile to rendering options.

  • Loading branch information...
1 parent 18e29ff commit 7ba0be1b2eb8a410ab2898af8058f9e382a44e8f @cjosey cjosey committed Aug 5, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 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);

0 comments on commit 7ba0be1

Please sign in to comment.