summaryrefslogtreecommitdiff
path: root/libs/hwui/OpenGLRenderer.h
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2014-08-12 14:31:35 -0700
committer Chris Craik <ccraik@google.com> 2014-08-12 16:00:09 -0700
commit91a8c7c62913c2597e3bf5a6d59d2ed5fc7ba4e0 (patch)
tree22f6e0e41bccc3df2b4b053a5decddabe5382c95 /libs/hwui/OpenGLRenderer.h
parentddc122ee5015f9ca0cc124a53c175aadf85f50ad (diff)
Switch to cos interpolation of shadow alpha
bug:16852257 Updates default shadow opacities to compensate. Also, update variable/constant naming related to vertex alpha. Change-Id: I9055b4ac3c9ac305ca9d515f21b52d6aa6dc9c5c
Diffstat (limited to 'libs/hwui/OpenGLRenderer.h')
-rwxr-xr-xlibs/hwui/OpenGLRenderer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/hwui/OpenGLRenderer.h b/libs/hwui/OpenGLRenderer.h
index 2a9badda7783..fc95c18e81b8 100755
--- a/libs/hwui/OpenGLRenderer.h
+++ b/libs/hwui/OpenGLRenderer.h
@@ -96,7 +96,7 @@ enum ClipSideFlags {
enum VertexBufferDisplayFlags {
kVertexBuffer_Offset = 0x1,
- kVertexBuffer_ShadowAA = 0x2,
+ kVertexBuffer_ShadowInterp = 0x2,
};
/**
@@ -847,7 +847,7 @@ private:
void setupDrawWithTextureAndColor(bool isAlpha8 = false);
void setupDrawWithExternalTexture();
void setupDrawNoTexture();
- void setupDrawAA(bool useShadowInterp);
+ void setupDrawVertexAlpha(bool useShadowAlphaInterp);
void setupDrawColor(int color, int alpha);
void setupDrawColor(float r, float g, float b, float a);
void setupDrawAlpha8Color(int color, int alpha);