Home
last modified time | relevance | path

Searched refs:GL_UNSIGNED_BYTE (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/native/opengl/tests/filter/
Dfilter.cpp117 4, 4, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, t8); in main()
129 4, 4, 0, GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, t16); in main()
137 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()
123 GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); in setTexturePixels()
/frameworks/native/opengl/tests/textures/
Dtextures.cpp99 glTexImage2D(GL_TEXTURE_2D, 0, GL_LUMINANCE, 4, 4, 0, GL_LUMINANCE, GL_UNSIGNED_BYTE, t8); in main()
108 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, 4, 4, 0, GL_RGBA, GL_UNSIGNED_BYTE, t32); in main()
/frameworks/base/libs/hwui/
DHardwareBitmapUploader.cpp328 formatInfo.type = GL_UNSIGNED_BYTE; in determineFormat()
338 formatInfo.type = GL_UNSIGNED_BYTE; in determineFormat()
355 formatInfo.type = GL_UNSIGNED_BYTE; in determineFormat()
365 formatInfo.type = GL_UNSIGNED_BYTE; in determineFormat()
375 formatInfo.type = GL_UNSIGNED_BYTE; in determineFormat()
/frameworks/av/media/libstagefright/renderfright/gl/
DGLShadowTexture.cpp36 SHADOW_TEXTURE_HEIGHT, 0 /* border */, GL_ALPHA, GL_UNSIGNED_BYTE, mTextureData); in GLShadowTexture()
DGLFramebuffer.cpp73 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, data); in allocateBuffers()
/frameworks/native/libs/renderengine/gl/
DGLShadowTexture.cpp36 SHADOW_TEXTURE_HEIGHT, 0 /* border */, GL_ALPHA, GL_UNSIGNED_BYTE, mTextureData); in GLShadowTexture()
DGLFramebuffer.cpp76 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, data); in allocateBuffers()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_frame.cpp314 GL_UNSIGNED_BYTE, in AllocateTexture()
355 GL_UNSIGNED_BYTE, in ReadFboPixels()
454 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in UploadTexturePixels()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DRawTexture.java51 canvas.initializeTextureSize(this, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE); in prepare()
/frameworks/base/opengl/java/android/opengl/
DETC1Util.java70 || fallbackType == GLES10.GL_UNSIGNED_BYTE)) { in loadTexture()
82 boolean useShorts = fallbackType != GLES10.GL_UNSIGNED_BYTE; in loadTexture()
DGLES10.java252 public static final int GL_UNSIGNED_BYTE = 0x1401; field in GLES10
407 (type == GL_UNSIGNED_BYTE) || in glColorPointer()
/frameworks/native/libs/gui/tests/
DSurfaceTextureFBO.h37 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()
/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/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DCube.java94 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer); in draw()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp636 return (type == GL_UNSIGNED_BYTE && internalformat == GL_RGBA) || in checkInternalFormat()
637 (type == GL_UNSIGNED_BYTE && internalformat == GL_SRGB8_ALPHA8); in checkInternalFormat()
639 return (type == GL_UNSIGNED_BYTE && internalformat == GL_ALPHA); in checkInternalFormat()
691 return GL_UNSIGNED_BYTE; in getType()
695 return GL_UNSIGNED_BYTE; in getType()
/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/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/base/tests/UiBench/src/com/android/test/uibench/opengl/
DImageFlipRenderThread.java54 import static android.opengl.GLES20.GL_UNSIGNED_BYTE;
225 GLUtils.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA, bitmap, GL_UNSIGNED_BYTE, 0); in loadTexture()
/frameworks/av/cmds/screenrecord/
DFrameOutput.cpp139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf); in copyFrame()
/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/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/rs/tests/java_api/GenImages/src/com/android/rs/genimage/
DGenImage.java254 GLES20.GL_UNSIGNED_BYTE, ib); in draw()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp314 GL_UNSIGNED_BYTE, pixels); in initTexture()
322 GL_UNSIGNED_BYTE, pixels); in initTexture()
368 GL_UNSIGNED_BYTE, nullptr); in initTexture()
370 0, 0, w, h, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in initTexture()
373 GL_UNSIGNED_BYTE, pixels); in initTexture()

123