Home
last modified time | relevance | path

Searched refs:GL_RGBA (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/native/opengl/tests/filter/
Dfilter.cpp124 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/
Dtextures.cpp105 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_SHORT_4_4_4_4, t16); in main()
108 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/
DGLToolbox.java72 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/media/mca/filterfw/native/core/
Dgl_frame.cpp309 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/
DSurfaceTextureFBO.h36 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, getSurfaceWidth(), in SetUp()
37 getSurfaceHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE, nullptr); in SetUp()
DMultiTextureConsumer_test.cpp90 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 1, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, &texel); in TEST_F()
DGLTest.cpp181 glReadPixels(x, y, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixel); in checkPixel()
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp247 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/gl2_copyTexImage/
Dgl2_copyTexImage.cpp190 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/native/opengl/tests/fillrate/
Dfillrate.cpp110 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 512, 512, 0, GL_RGBA, GL_UNSIGNED_BYTE, t32); in main()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp197 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
201 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
247 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, tw, th, 0, GL_RGBA, in initTexture()
250 0, 0, w, h, GL_RGBA, GL_UNSIGNED_BYTE, p); in initTexture()
252 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, w, h, 0, GL_RGBA, in initTexture()
/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp136 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/
DRawTexture.java51 canvas.initializeTextureSize(this, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE); in prepare()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp219 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in create_texture()
/frameworks/av/cmds/screenrecord/
DTextRenderer.cpp128 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, FontBitmap::width, potHeight, 0, in loadIntoTexture()
129 GL_RGBA, GL_UNSIGNED_BYTE, rgbaPixels); in loadIntoTexture()
DFrameOutput.cpp139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf); in copyFrame()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java89 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/
DHardwareBitmapUploader.cpp309 formatInfo.format = GL_RGBA; in determineFormat()
324 formatInfo.format = GL_RGBA; in determineFormat()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp633 internalformat == GL_RGBA) || in checkInternalFormat()
641 internalformat == GL_RGBA) ? 0 : -1; in checkInternalFormat()
661 return GL_RGBA; in getPixelFormatFromInternalFormat()
675 return GL_RGBA; in getInternalFormat()
677 return GL_RGBA; in getInternalFormat()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp329 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in create_texture()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java45 import static android.opengl.GLES20.GL_RGBA;
225 GLUtils.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0); in loadTexture()
/frameworks/native/opengl/libagl/
Dtexture.cpp198 case GL_RGBA: fi = 2; break; in convertGLPixelFormat()
229 type == GL_UNSIGNED_SHORT_5_5_5_1) && format != GL_RGBA) { in validFormatType()
1072 format = GL_RGBA; in glCompressedTexImage2D()
1082 format = GL_RGBA; in glCompressedTexImage2D()
1087 format = GL_RGBA; in glCompressedTexImage2D()
1474 if ((format != GL_RGBA) && (format != GL_RGB)) { in glReadPixels()
1492 if ((format == GL_RGBA) && (type == GL_UNSIGNED_BYTE)) { in glReadPixels()
/frameworks/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
DGenImage.java253 GLES20.glReadPixels(0,0, 512, 512, GLES20.GL_RGBA, in draw()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DGLTextureViewActivity.java272 GLUtils.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0); in loadTexture()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java179 int GL_RGBA = 0x1908; field

12