Home | History | Annotate | Download | only in hwui

Lines Matching refs:dither

18 #include "Dither.h"
27 Dither::Dither(): mCaches(NULL), mInitialized(false), mDitherTexture(0) {
30 void Dither::bindDitherTexture() {
48 float dither = 1.0f / (255.0f * DITHER_KERNEL_SIZE * DITHER_KERNEL_SIZE);
50 0 * dither, 8 * dither, 2 * dither, 10 * dither,
51 12 * dither, 4 * dither, 14 * dither, 6 * dither,
52 3 * dither, 11 * dither, 1 * dither, 9 * dither,
53 15 * dither, 7 * dither, 13 * dither, 5 * dither
78 void Dither::clear() {
89 void Dither::setupProgram(Program* program, GLuint* textureUnit) {