/frameworks/native/libs/gui/tests/ |
H A D | SurfaceTextureFBO.h | 36 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getSurfaceWidth(), 37 getSurfaceHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL);
|
H A D | MultiTextureConsumer_test.cpp | 90 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &texel);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | RawTexture.java | 51 canvas.initializeTextureSize(this, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GLToolbox.java | 72 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); 78 GLES20.glReadPixels(0, 0, width, height, GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); 122 GLES20.glTexImage2D(target, 0, GLES20.GL_RGBA, width, height, 0, 123 GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels);
|
/frameworks/native/opengl/tests/textures/ |
H A D | textures.cpp | 111 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, t16); 114 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, t32);
|
/frameworks/base/libs/hwui/ |
H A D | PixelBuffer.h | 154 * GL_RGBA 160 case GL_RGBA: 171 * GL_RGBA 177 case GL_RGBA: 188 * The format must be GL_ALPHA or GL_RGBA.
|
H A D | Texture.cpp | 45 case GL_RGBA: 207 *outFormat = GL_RGBA; 220 *outFormat = GL_RGBA; 232 *outFormat = GL_RGBA; 236 *outFormat = GL_RGBA; 339 if (needSRGB && internalFormat == GL_RGBA
|
H A D | GradientCache.cpp | 261 texture->upload(GL_RGBA16F, width, height, GL_RGBA, GL_FLOAT, pixels); 263 GLint internalFormat = mHasLinearBlending ? GL_SRGB8_ALPHA8 : GL_RGBA; 264 texture->upload(internalFormat, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
H A D | Caches.h | 133 * this function returns GL_SRGB8_ALPHA8, otherwise it returns GL_RGBA 136 return extensions().hasLinearBlending() && needSRGB ? GL_SRGB8_ALPHA8 : GL_RGBA;
|
H A D | FontRenderer.cpp | 324 const size_t formatSize = PixelBuffer::formatSize(GL_RGBA); 417 GL_RGBA, false)); 419 GL_RGBA, false)); 759 case GL_RGBA: { 785 const uint32_t sizeRGBA = getCacheSize(GL_RGBA); 786 const uint32_t usedRGBA = sizeRGBA - getFreeCacheSize(GL_RGBA); 790 dumpTextures(log, "RGBA", cacheTexturesForFormat(GL_RGBA)); 803 return getCacheSize(GL_ALPHA) + getCacheSize(GL_RGBA);
|
H A D | OpenGLReadback.cpp | 164 format = GL_RGBA; 169 format = GL_RGBA;
|
/frameworks/native/opengl/tests/filter/ |
H A D | filter.cpp | 124 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 125 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, t16); 132 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 133 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, t5551); 136 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 137 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, t32);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_frame.cpp | 309 GL_RGBA, 313 GL_RGBA, 354 GL_RGBA, 453 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width_, height_, 454 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/frameworks/native/opengl/tests/fillrate/ |
H A D | fillrate.cpp | 110 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 512, 512, 0, GL_RGBA, GL_UNSIGNED_BYTE, t32);
|
/frameworks/native/opengl/tests/gl_perf/ |
H A D | fill_common.cpp | 247 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1024, 1024, 0, GL_RGBA, GL_UNSIGNED_BYTE, m); 259 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 16, 16, 0, GL_RGBA, GL_UNSIGNED_BYTE, m);
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.cpp | 184 if (mFormat == GL_RGBA) { 239 if (mFormat != GL_RGBA) { 341 // currently only two formats are supported: GL_ALPHA or GL_RGBA; 342 uint32_t bpp = mFormat == GL_RGBA ? 4 : 1;
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
H A D | gl2_copyTexImage.cpp | 190 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL); 198 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, GL_UNSIGNED_BYTE, NULL);
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 131 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/frameworks/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 223 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 182 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, 186 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, 236 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA, 239 0, 0, w, h, GL_RGBA, GL_UNSIGNED_BYTE, p); 241 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA,
|
/frameworks/av/cmds/screenrecord/ |
H A D | FrameOutput.cpp | 29 static const int kGlBytesPerPixel = 4; // GL_RGBA 131 // GLES only guarantees that glReadPixels() will work with GL_RGBA, so we 139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf);
|
H A D | TextRenderer.cpp | 128 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, FontBitmap::width, potHeight, 0, 129 GL_RGBA, GL_UNSIGNED_BYTE, rgbaPixels);
|
/frameworks/native/opengl/tests/gl_basic/ |
H A D | gl_basic.cpp | 331 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
H A D | VideoDumpView.java | 87 // GL_RGBA GL_UNSIGNED_BYTE 32 bits per pixel 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/tests/UiBench/src/com/android/test/uibench/opengl/ |
H A 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);
|