/frameworks/native/opengl/tests/filter/ |
D | filter.cpp | 124 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, in main() 125 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, t16); in main() 132 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, in main() 133 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, t5551); in main() 136 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, in main() 137 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, t32); in main()
|
/frameworks/native/opengl/tests/textures/ |
D | textures.cpp | 111 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, t16); in main() 114 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, t32); in main()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GLToolbox.java | 72 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); in readFbo() 78 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); in readTarget() 122 GLES20.glTexImage2D(target, 0, GLES20.GL_RGBA, width, height, 0, in setTexturePixels() 123 GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); in setTexturePixels()
|
/frameworks/base/libs/hwui/ |
D | OpenGLReadback.cpp | 160 format = GL_RGBA; in copyTextureInto() 161 internalFormat = GL_RGBA; in copyTextureInto() 165 format = GL_RGBA; in copyTextureInto() 171 format = GL_RGBA; in copyTextureInto() 172 internalFormat = GL_RGBA; in copyTextureInto()
|
D | Texture.cpp | 45 case GL_RGBA: in bytesPerPixel() 211 *outFormat = GL_RGBA; in colorTypeToGlFormatAndType() 223 *outFormat = GL_RGBA; in colorTypeToGlFormatAndType() 235 *outFormat = GL_RGBA; in colorTypeToGlFormatAndType() 239 *outFormat = GL_RGBA; in colorTypeToGlFormatAndType() 341 if (needSRGB && internalFormat == GL_RGBA in upload()
|
D | PixelBuffer.h | 160 case GL_RGBA: in formatSize() 177 case GL_RGBA: in formatAlphaOffset()
|
D | FontRenderer.cpp | 324 const size_t formatSize = PixelBuffer::formatSize(GL_RGBA); in cacheBitmap() 417 GL_RGBA, false)); in initTextTexture() 419 GL_RGBA, false)); in initTextTexture() 759 case GL_RGBA: { in cacheTexturesForFormat() 785 const uint32_t sizeRGBA = getCacheSize(GL_RGBA); in dumpMemoryUsage() 786 const uint32_t usedRGBA = sizeRGBA - getFreeCacheSize(GL_RGBA); in dumpMemoryUsage() 790 dumpTextures(log, "RGBA", cacheTexturesForFormat(GL_RGBA)); in dumpMemoryUsage() 803 return getCacheSize(GL_ALPHA) + getCacheSize(GL_RGBA); in getSize()
|
D | GradientCache.cpp | 262 texture->upload(GL_RGBA16F, width, height, GL_RGBA, GL_FLOAT, pixels); in generateTexture() 264 GLint internalFormat = mHasLinearBlending ? GL_SRGB8_ALPHA8 : GL_RGBA; in generateTexture() 265 texture->upload(internalFormat, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in generateTexture()
|
D | Caches.h | 137 return extensions().hasLinearBlending() && needSRGB ? GL_SRGB8_ALPHA8 : GL_RGBA;
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_frame.cpp | 309 GL_RGBA, in AllocateTexture() 313 GL_RGBA, in AllocateTexture() 354 GL_RGBA, in ReadFboPixels() 453 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width_, height_, in UploadTexturePixels() 454 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in UploadTexturePixels()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureFBO.h | 36 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getSurfaceWidth(), in SetUp() 37 getSurfaceHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); in SetUp()
|
D | MultiTextureConsumer_test.cpp | 90 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &texel); in TEST_F()
|
/frameworks/native/opengl/tests/gl_perf/ |
D | fill_common.cpp | 247 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1024, 1024, 0, GL_RGBA, GL_UNSIGNED_BYTE, m); in genTextures() 259 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, m); in genTextures()
|
/frameworks/native/opengl/tests/fillrate/ |
D | fillrate.cpp | 110 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 512, 512, 0, GL_RGBA, GL_UNSIGNED_BYTE, t32); in main()
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
D | gl2_copyTexImage.cpp | 190 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); in setupGraphics() 198 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); in setupGraphics()
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 187 if (mFormat == GL_RGBA) { in allocatePixelBuffer() 242 if (mFormat != GL_RGBA) { in fitBitmap() 345 uint32_t bpp = mFormat == GL_RGBA ? 4 : 1; in calculateFreeMemory()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 166 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture() 170 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture() 216 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA, in initTexture() 219 0, 0, w, h, GL_RGBA, GL_UNSIGNED_BYTE, p); in initTexture() 221 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 131 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in create_texture()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | RawTexture.java | 51 canvas.initializeTextureSize(this, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE); in prepare()
|
/frameworks/native/opengl/tests/tritex/ |
D | tritex.cpp | 223 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in create_texture()
|
/frameworks/av/cmds/screenrecord/ |
D | TextRenderer.cpp | 128 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, FontBitmap::width, potHeight, 0, in loadIntoTexture() 129 GL_RGBA, GL_UNSIGNED_BYTE, rgbaPixels); in loadIntoTexture()
|
/frameworks/native/opengl/tests/gl_basic/ |
D | gl_basic.cpp | 331 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in create_texture()
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
D | VideoDumpView.java | 89 public static final int PIXEL_TYPE = PIXEL_FORMAT == GLES20.GL_RGBA 92 PIXEL_FORMAT == GLES20.GL_RGBA ? 4 : 2; 94 = PIXEL_FORMAT == GLES20.GL_RGBA ? true : false;
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.cpp | 275 format = GL_RGBA; in allocateHardwareBitmap() 287 format = GL_RGBA; in allocateHardwareBitmap()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
D | ImageFlipRenderThread.java | 45 import static android.opengl.GLES20.GL_RGBA; 225 GLUtils.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0); in loadTexture()
|