Home
last modified time | relevance | path

Searched refs:SHADOW_LUT_SIZE (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp30 static const int SHADOW_LUT_SIZE = 128; variable
76 unsigned char bytes[SHADOW_LUT_SIZE]; in constructTexture()
77 for (int i = 0; i < SHADOW_LUT_SIZE; i++) { in constructTexture()
78 float inputRatio = i / (SHADOW_LUT_SIZE - 1.0f); in constructTexture()
81 mShadowLutTexture->upload(GL_ALPHA, SHADOW_LUT_SIZE, 1, GL_ALPHA, GL_UNSIGNED_BYTE, &bytes); in constructTexture()