Home
last modified time | relevance | path

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

12

/frameworks/native/opengl/tests/finish/
Dfinish.cpp83 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, in main()
84 512, 512, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, texels); in main()
167 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green); in main()
179 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, in main()
180 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &texel); in main()
215 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.cpp94 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.cpp107 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 4, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16); in main()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp140 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB, in initTexture()
199 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, in initTexture()
202 0, 0, w, h, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, p); in initTexture()
204 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, in initTexture()
/frameworks/native/opengl/tests/filter/
Dfilter.cpp118 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, in main()
119 4, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16); in main()
/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/libs/hwui/
DTextureCache.cpp249 uploadToTexture(resize, GL_RGB, bitmap->rowBytesAsPixels(), texture->height, in generateTexture()
DLayerRenderer.cpp388 format = GL_RGB; in copyLayer()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp436 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1, 1, 0, in initializeGL()
437 GL_RGB, GL_UNSIGNED_SHORT_5_6_5, protTexData); in initializeGL()
2601 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, in renderScreenToTextureLocked()
2602 hw_w, hw_h, 0, GL_RGB, GL_UNSIGNED_BYTE, 0); in renderScreenToTextureLocked()
2607 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, in renderScreenToTextureLocked()
2608 tw, th, 0, GL_RGB, GL_UNSIGNED_BYTE, 0); in renderScreenToTextureLocked()
/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-if179 public static final int GL_RGB = 0x1907;
DGLES20Header.java-if155 public static final int GL_RGB = 0x1907;
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_fixup.cpp68 case GL_RGB: in getBytesPerTexel()
/frameworks/native/opengl/include/GLES/
Dgl.h363 #define GL_RGB 0x1907 macro
/frameworks/native/opengl/include/GLES2/
Dgl2.h247 #define GL_RGB 0x1907 macro
/frameworks/base/core/jni/android/opengl/
Dutil.cpp605 return GL_RGB; in getInternalFormat()
/frameworks/native/opengl/libs/
Denums.in177 GL_ENUM(0x1907,GL_RGB)
/frameworks/rs/driver/
DrsdAllocation.cpp72 case RS_KIND_PIXEL_RGB: return GL_RGB; in rsdKindToGLFormat()

12