Searched refs:DITHER_KERNEL_SIZE (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/ |
D | Dither.cpp | 49 float dither = 1.0f / (255.0f * DITHER_KERNEL_SIZE * DITHER_KERNEL_SIZE); in bindDitherTexture() 57 glTexImage2D(GL_TEXTURE_2D, 0, GL_R16F, DITHER_KERNEL_SIZE, DITHER_KERNEL_SIZE, 0, in bindDitherTexture() 67 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, DITHER_KERNEL_SIZE, DITHER_KERNEL_SIZE, 0, in bindDitherTexture()
|
D | Dither.h | 30 #define DITHER_KERNEL_SIZE 4 macro
|
/frameworks/native/cmds/flatland/ |
D | GLHelper.h | 42 enum { DITHER_KERNEL_SIZE = 4 }; enumerator
|
D | Renderers.cpp | 106 float invDitherKernelSize = 1.0f / float(GLHelper::DITHER_KERNEL_SIZE); in drawGradient()
|
D | GLHelper.cpp | 455 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, DITHER_KERNEL_SIZE, in getDitherTexture() 456 DITHER_KERNEL_SIZE, 0, GL_ALPHA, GL_UNSIGNED_BYTE, &pattern); in getDitherTexture()
|