Home
last modified time | relevance | path

Searched refs:GL_ALPHA (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/libs/hwui/
DDither.cpp69 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, DITHER_KERNEL_SIZE, DITHER_KERNEL_SIZE, 0, in bindDitherTexture()
70 GL_ALPHA, GL_UNSIGNED_BYTE, &pattern); in bindDitherTexture()
DPixelBuffer.h171 case GL_ALPHA: in formatSize()
188 case GL_ALPHA: in formatAlphaOffset()
DTextDropShadowCache.cpp214 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, texture->width, texture->height, 0, in get()
215 GL_ALPHA, GL_UNSIGNED_BYTE, shadow.image); in get()
DFontRenderer.cpp55 if (texture.getFormat() == GL_ALPHA) { in draw()
403 GL_ALPHA, true)); in initTextTexture()
405 GL_ALPHA, false)); in initTextTexture()
407 GL_ALPHA, false)); in initTextTexture()
409 GL_ALPHA, false)); in initTextTexture()
757 case GL_ALPHA: { in getCacheSize()
DCaches.cpp211 const uint32_t sizeA8 = fontRenderer->getFontRendererSize(i, GL_ALPHA); in dumpMemoryUsage()
230 total += fontRenderer->getFontRendererSize(i, GL_ALPHA); in dumpMemoryUsage()
DPathCache.cpp297 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, texture->width, texture->height, 0, in generateTexture()
298 GL_ALPHA, GL_UNSIGNED_BYTE, bitmap.getPixels()); in generateTexture()
DTextureCache.cpp287 uploadToTexture(resize, GL_ALPHA, bitmap->rowBytesAsPixels(), bitmap->bytesPerPixel(), in generateTexture()
DLayerRenderer.cpp380 format = GL_ALPHA; in copyLayer()
/frameworks/native/cmds/flatland/
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()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp235 if (mFormat != GL_ALPHA) { in fitBitmap()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp137 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, w, h, 0, GL_ALPHA, in initTexture()
/frameworks/native/opengl/libagl/
Dtexture.cpp203 case GL_ALPHA: fi = 0; break; in convertGLPixelFormat()
225 if (format<GL_ALPHA || format>GL_LUMINANCE_ALPHA) { in validFormatType()
1323 if (internalformat<GL_ALPHA || internalformat>GL_LUMINANCE_ALPHA) { in glCopyTexImage2D()
1348 case GL_ALPHA: in glCopyTexImage2D()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java26 int GL_ALPHA = 0x1906; field
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DGL10Header.java-if25 int GL_ALPHA = 0x1906;
/frameworks/base/opengl/java/android/opengl/
DGLES10.java28 public static final int GL_ALPHA = 0x1906; field in GLES10
DGLES20.java155 public static final int GL_ALPHA = 0x1906; field in GLES20
/frameworks/native/opengl/tests/angeles/include/GLES/
Dgl.h319 #define GL_ALPHA 0x1906 macro
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DGLES10Header.java-if28 public static final int GL_ALPHA = 0x1906;
DGLES20Header.java-if155 public static final int GL_ALPHA = 0x1906;
/frameworks/native/opengl/include/GLES/
Dgl.h362 #define GL_ALPHA 0x1906 macro
/frameworks/native/opengl/include/GLES2/
Dgl2.h205 #define GL_ALPHA 0x1906 macro
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_fixup.cpp90 case GL_ALPHA: in getBytesPerTexel()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp684 return GL_ALPHA; in getInternalFormat()
/frameworks/native/opengl/include/GLES3/
Dgl3.h205 #define GL_ALPHA 0x1906 macro
/frameworks/rs/driver/
DrsdAllocation.cpp80 case RS_KIND_PIXEL_A: return GL_ALPHA; in rsdKindToGLFormat()

12