Home
last modified time | relevance | path

Searched refs:GL_RGB (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/native/opengl/tests/finish/
Dfinish.cpp84 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, in main()
85 512, 512, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, texels); in main()
168 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green); in main()
180 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, in main()
181 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &texel); in main()
216 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green); in main()
/frameworks/native/opengl/tests/linetex/
Dlinetex.cpp95 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16); in main()
/frameworks/native/opengl/tests/textures/
Dtextures.cpp108 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 4, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16); in main()
/frameworks/native/opengl/tests/filter/
Dfilter.cpp120 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, in main()
121 4, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16); in main()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp145 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB, in initTexture()
209 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, in initTexture()
212 0, 0, w, h, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, p); in initTexture()
214 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, in initTexture()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp58 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1, 1, 0, in GLES20RenderEngine()
59 GL_RGB, GL_UNSIGNED_SHORT_5_6_5, protTexData); in GLES20RenderEngine()
DGLES11RenderEngine.cpp53 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1, 1, 0, in GLES11RenderEngine()
54 GL_RGB, GL_UNSIGNED_SHORT_5_6_5, protTexData); in GLES11RenderEngine()
/frameworks/base/libs/hwui/
DTexture.cpp36 case GL_RGB: in bytesPerPixel()
182 *outFormat = GL_RGB; in colorTypeToGlFormatAndType()
DReadback.cpp68 format = GL_RGB; in copySurfaceInto()
DLayerRenderer.cpp384 format = GL_RGB; in copyLayer()
/frameworks/native/opengl/libagl/
Dtexture.cpp204 case GL_RGB: fi = 1; break; in convertGLPixelFormat()
232 if (type == GL_UNSIGNED_SHORT_5_6_5 && format != GL_RGB) { in validFormatType()
1078 format = GL_RGB; in glCompressedTexImage2D()
1088 format = GL_RGB; in glCompressedTexImage2D()
1103 format = GL_RGB; in glCompressedTexImage2D()
1369 case GL_RGB: in glCopyTexImage2D()
1487 if ((format != GL_RGBA) && (format != GL_RGB)) { in glReadPixels()
1507 } else if ((format == GL_RGB) && (type == GL_UNSIGNED_SHORT_5_6_5)) { in glReadPixels()
Dstate.cpp413 params[0] = GL_RGB; in glGetIntegerv()
/frameworks/base/opengl/java/android/opengl/
DETC1Util.java66 if (fallbackFormat != GLES10.GL_RGB) { in loadTexture()
DGLES10.java180 public static final int GL_RGB = 0x1907; field in GLES10
DGLES20.java156 public static final int GL_RGB = 0x1907; field in GLES20
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java178 int GL_RGB = 0x1907; field
/frameworks/native/opengl/tools/glgen/stubs/jsr239/
DGL10Header.java-if177 int GL_RGB = 0x1907;
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java88 public static final int PIXEL_FORMAT = GLES20.GL_RGB;
/frameworks/native/opengl/tests/angeles/include/GLES/
Dgl.h320 #define GL_RGB 0x1907 macro
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DGLES10Header.java-if180 public static final int GL_RGB = 0x1907;
DGLES20Header.java-if156 public static final int GL_RGB = 0x1907;
/frameworks/native/opengl/include/GLES/
Dgl.h363 #define GL_RGB 0x1907 macro
/frameworks/base/core/jni/android/opengl/
Dutil.cpp686 return GL_RGB; in getInternalFormat()
/frameworks/native/opengl/include/GLES2/
Dgl2.h214 #define GL_RGB 0x1907 macro
/frameworks/rs/driver/
DrsdAllocation.cpp82 case RS_KIND_PIXEL_RGB: return GL_RGB; in rsdKindToGLFormat()

12