Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DDither.cpp49 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()
DDither.h30 #define DITHER_KERNEL_SIZE 4 macro
/frameworks/native/cmds/flatland/
DGLHelper.h42 enum { DITHER_KERNEL_SIZE = 4 }; enumerator
DRenderers.cpp106 float invDitherKernelSize = 1.0f / float(GLHelper::DITHER_KERNEL_SIZE); in drawGradient()
DGLHelper.cpp455 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()