/frameworks/native/opengl/tests/filter/ |
D | filter.cpp | 117 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/ |
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() 123 GLES20.GL_RGBA, GLES20.GL_UNSIGNED_BYTE, pixels); in setTexturePixels()
|
/frameworks/native/opengl/tests/textures/ |
D | textures.cpp | 99 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/ |
D | Texture.cpp | 201 *outType = GL_UNSIGNED_BYTE; in colorTypeToGlFormatAndType() 209 *outType = GL_UNSIGNED_BYTE; in colorTypeToGlFormatAndType() 221 *outType = GL_UNSIGNED_BYTE; in colorTypeToGlFormatAndType() 226 *outType = GL_UNSIGNED_BYTE; in colorTypeToGlFormatAndType() 237 *outType = GL_UNSIGNED_BYTE; in colorTypeToGlFormatAndType()
|
D | PixelBuffer.cpp | 65 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height, mFormat, GL_UNSIGNED_BYTE, in upload() 139 glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height, mFormat, GL_UNSIGNED_BYTE, in upload()
|
D | OpenGLReadback.cpp | 149 type = GL_UNSIGNED_BYTE; in copyTextureInto() 170 type = GL_UNSIGNED_BYTE; in copyTextureInto()
|
D | Texture.h | 90 internalFormat == GL_RGBA16F ? GL_HALF_FLOAT : GL_UNSIGNED_BYTE, nullptr); in resize()
|
D | TextDropShadowCache.cpp | 183 texture->upload(GL_ALPHA, shadow.width, shadow.height, GL_ALPHA, GL_UNSIGNED_BYTE, in get()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_frame.cpp | 314 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/ |
D | RawTexture.java | 51 canvas.initializeTextureSize(this, GL11.GL_RGBA, GL11.GL_UNSIGNED_BYTE); in prepare()
|
/frameworks/base/opengl/java/android/opengl/ |
D | ETC1Util.java | 70 || fallbackType == GLES10.GL_UNSIGNED_BYTE)) { in loadTexture() 82 boolean useShorts = fallbackType != GLES10.GL_UNSIGNED_BYTE; in loadTexture()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceTextureFBO.h | 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/base/libs/hwui/pipeline/skia/ |
D | SkiaOpenGLPipeline.cpp | 338 type = GL_UNSIGNED_BYTE; in allocateHardwareBitmap() 346 type = GL_UNSIGNED_BYTE; in allocateHardwareBitmap() 361 type = GL_UNSIGNED_BYTE; in allocateHardwareBitmap()
|
/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/base/libs/hwui/renderstate/ |
D | TextureState.cpp | 75 mShadowLutTexture->upload(GL_ALPHA, SHADOW_LUT_SIZE, 1, GL_ALPHA, GL_UNSIGNED_BYTE, &bytes); in constructTexture()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
D | Cube.java | 94 gl.glDrawElements(GL10.GL_TRIANGLES, 36, GL10.GL_UNSIGNED_BYTE, mIndexBuffer); in draw()
|
/frameworks/native/opengl/libagl/ |
D | texture.cpp | 203 case GL_UNSIGNED_BYTE: ti = 0; break; in convertGLPixelFormat() 221 if (type != GL_UNSIGNED_BYTE && type != GL_UNSIGNED_SHORT_4_4_4_4 && in validFormatType() 1068 type = GL_UNSIGNED_BYTE; in glCompressedTexImage2D() 1073 type = GL_UNSIGNED_BYTE; in glCompressedTexImage2D() 1093 type = GL_UNSIGNED_BYTE; in glCompressedTexImage2D() 1320 GLenum type = GL_UNSIGNED_BYTE; in glCopyTexImage2D() 1338 type = GL_UNSIGNED_BYTE; in glCopyTexImage2D() 1478 if ((type != GL_UNSIGNED_BYTE) && (type != GL_UNSIGNED_SHORT_5_6_5)) { in glReadPixels() 1492 if ((format == GL_RGBA) && (type == GL_UNSIGNED_BYTE)) { in glReadPixels()
|
D | array.cpp | 767 const int type = (c->arrays.indicesType == GL_UNSIGNED_BYTE); in drawIndexedPrimitivesPoints() 789 const int type = (c->arrays.indicesType == GL_UNSIGNED_BYTE); in drawIndexedPrimitivesLineStrip() 816 const int type = (c->arrays.indicesType == GL_UNSIGNED_BYTE); in drawIndexedPrimitivesLineLoop() 843 const int type = (c->arrays.indicesType == GL_UNSIGNED_BYTE); in drawIndexedPrimitivesLines() 872 const int type = (c->arrays.indicesType == GL_UNSIGNED_BYTE); in drawIndexedPrimitivesTriangleFanOrStrip() 1267 case GL_UNSIGNED_BYTE: in glColorPointer() 1409 case GL_UNSIGNED_BYTE: in glDrawElements()
|
/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/base/tests/UiBench/src/com/android/test/uibench/opengl/ |
D | ImageFlipRenderThread.java | 54 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/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/cmds/bootanimation/ |
D | BootAnimation.cpp | 166 GL_UNSIGNED_BYTE, p); in initTexture() 174 GL_UNSIGNED_BYTE, p); in initTexture() 220 GL_UNSIGNED_BYTE, 0); in initTexture() 222 0, 0, w, h, GL_RGBA, GL_UNSIGNED_BYTE, p); in initTexture() 225 GL_UNSIGNED_BYTE, p); in initTexture()
|
/frameworks/av/cmds/screenrecord/ |
D | FrameOutput.cpp | 139 glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, mPixelBuf); in copyFrame()
|
/frameworks/base/core/jni/android/opengl/ |
D | util.cpp | 630 return (type == GL_UNSIGNED_BYTE && in checkInternalFormat() 633 return (type == GL_UNSIGNED_BYTE && in checkInternalFormat() 686 return GL_UNSIGNED_BYTE; in getType() 690 return GL_UNSIGNED_BYTE; in getType()
|