From 91a8c7c62913c2597e3bf5a6d59d2ed5fc7ba4e0 Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Tue, 12 Aug 2014 14:31:35 -0700 Subject: 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 --- libs/hwui/OpenGLRenderer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/hwui/OpenGLRenderer.h') 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); -- cgit v1.2.3-59-g8ed1b