Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
DPixelBuffer.h144 case GL_ALPHA: in formatSize()
161 case GL_ALPHA: in formatAlphaOffset()
DFontRenderer.cpp52 if (texture.getFormat() == GL_ALPHA) { in draw()
407 createCacheTexture(mSmallCacheWidth, mSmallCacheHeight, GL_ALPHA, true)); in initTextTexture()
409 createCacheTexture(mLargeCacheWidth, mLargeCacheHeight >> 1, GL_ALPHA, false)); in initTextTexture()
411 createCacheTexture(mLargeCacheWidth, mLargeCacheHeight >> 1, GL_ALPHA, false)); in initTextTexture()
413 createCacheTexture(mLargeCacheWidth, mLargeCacheHeight, GL_ALPHA, false)); in initTextTexture()
751 case GL_ALPHA: { in cacheTexturesForFormat()
778 const uint32_t sizeA8 = getCacheSize(GL_ALPHA); in dumpMemoryUsage()
779 const uint32_t usedA8 = sizeA8 - getFreeCacheSize(GL_ALPHA); in dumpMemoryUsage()
783 dumpTextures(log, "A8", cacheTexturesForFormat(GL_ALPHA)); in dumpMemoryUsage()
798 return getCacheSize(GL_ALPHA) + getCacheSize(GL_RGBA); in getSize()
DTexture.cpp39 case GL_ALPHA: in bytesPerPixel()
199 *outFormat = GL_ALPHA; in colorTypeToGlFormatAndType()
200 *outInternalFormat = GL_ALPHA; in colorTypeToGlFormatAndType()
313 if (!mIsLinear && internalFormat != GL_ALPHA && !rgba16fNeedsConversion) { in upload()
DTextDropShadowCache.cpp183 texture->upload(GL_ALPHA, shadow.width, shadow.height, GL_ALPHA, GL_UNSIGNED_BYTE, in get()
DOpenGLReadback.cpp147 format = GL_ALPHA; in copyTextureInto()
148 internalFormat = GL_ALPHA; in copyTextureInto()
/frameworks/base/libs/hwui/renderstate/
DTextureState.cpp75 mShadowLutTexture->upload(GL_ALPHA, SHADOW_LUT_SIZE, 1, GL_ALPHA, GL_UNSIGNED_BYTE, &bytes); in constructTexture()
/frameworks/native/cmds/flatland/
DGLHelper.cpp441 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, DITHER_KERNEL_SIZE, in getDitherTexture()
442 DITHER_KERNEL_SIZE, 0, GL_ALPHA, GL_UNSIGNED_BYTE, &pattern); in getDitherTexture()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp233 if (mFormat != GL_ALPHA) { in fitBitmap()
/frameworks/native/opengl/libagl/
Dtexture.cpp196 case GL_ALPHA: fi = 0; break; in convertGLPixelFormat()
218 if (format<GL_ALPHA || format>GL_LUMINANCE_ALPHA) { in validFormatType()
1310 if (internalformat<GL_ALPHA || internalformat>GL_LUMINANCE_ALPHA) { in glCopyTexImage2D()
1335 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/core/jni/android/opengl/
Dutil.cpp634 internalformat == GL_ALPHA) ? 0 : -1; in checkInternalFormat()
668 return GL_ALPHA; in getInternalFormat()
/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/base/cmds/bootanimation/
DBootAnimation.cpp165 glTexImage2D(GL_TEXTURE_2D, 0, GL_ALPHA, w, h, 0, GL_ALPHA, in initTexture()
/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.h287 #define GL_ALPHA 0x1906 macro
/frameworks/native/opengl/include/GLES2/
Dgl2.h211 #define GL_ALPHA 0x1906 macro
/frameworks/rs/driver/
DrsdAllocation.cpp75 case RS_KIND_PIXEL_A: return GL_ALPHA; in rsdKindToGLFormat()
/frameworks/native/opengl/libs/
Denums.in205 GL_ENUM(0x1906,GL_ALPHA)
/frameworks/native/opengl/include/GLES3/
Dgl3.h211 #define GL_ALPHA 0x1906 macro
Dgl31.h213 #define GL_ALPHA 0x1906 macro
Dgl32.h213 #define GL_ALPHA 0x1906 macro

12