Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added N1 Calibration profile to rendering options.

  • Loading branch information...
commit 7ba0be1b2eb8a410ab2898af8058f9e382a44e8f 1 parent 18e29ff
Colin Josey authored August 04, 2010

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. 3  libs/surfaceflinger/LayerBase.cpp
3  libs/surfaceflinger/LayerBase.cpp
@@ -39,6 +39,7 @@
39 39
 #define RENDER_EFFECT_AMBER 4
40 40
 #define RENDER_EFFECT_SALMON 5
41 41
 #define RENDER_EFFECT_FUSCIA 6
  42
+#define RENDER_EFFECT_N1_CALIBRATED 7
42 43
 
43 44
 namespace android {
44 45
 
@@ -467,6 +468,8 @@ void LayerBase::drawWithOpenGL(const Region& clip, const Texture& texture) const
467 468
             case RENDER_EFFECT_FUSCIA:
468 469
                 glColor4x(alpha, 0, alpha*0.5, alpha);
469 470
                 break;
  471
+            case RENDER_EFFECT_N1_CALIBRATED:
  472
+                glColor4x(alpha, alpha*0.98, alpha*0.82, alpha);
470 473
         }
471 474
         glEnable(GL_BLEND);
472 475
         glBlendFunc(src, GL_ONE_MINUS_SRC_ALPHA);

0 notes on commit 7ba0be1

Please sign in to comment.
Something went wrong with that request. Please try again.