Searched refs:GL_RGB (Results 1 - 21 of 21) sorted by relevance

/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp83 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
84 512, 512, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, texels);
167 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green);
179 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
180 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &texel);
215 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green);
/frameworks/native/opengl/tests/linetex/
H A Dlinetex.cpp94 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16);
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp107 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 4, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp140 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB,
199 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
202 0, 0, w, h, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, p);
204 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp118 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
119 4, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16);
/frameworks/native/opengl/libagl/
H A Dtexture.cpp187 0, 0 }, // GL_RGB
204 case GL_RGB: fi = 1; break;
232 if (type == GL_UNSIGNED_SHORT_5_6_5 && format != GL_RGB) {
1078 format = GL_RGB;
1088 format = GL_RGB;
1103 format = GL_RGB;
1369 case GL_RGB:
1487 if ((format != GL_RGBA) && (format != GL_RGB)) {
1507 } else if ((format == GL_RGB) && (type == GL_UNSIGNED_SHORT_5_6_5)) {
H A Dstate.cpp413 params[0] = GL_RGB;
/frameworks/base/libs/hwui/
H A DTextureCache.cpp249 uploadToTexture(resize, GL_RGB, bitmap->rowBytesAsPixels(), texture->height,
H A DLayerRenderer.cpp388 format = GL_RGB;
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java38 * Must be GL_RGB.
58 * Must be GL_RGB.
66 if (fallbackFormat != GLES10.GL_RGB) {
67 throw new IllegalArgumentException("fallbackFormat must be GL_RGB");
H A DGLES10.java180 public static final int GL_RGB = 0x1907; field in class:GLES10
H A DGLES20.java156 public static final int GL_RGB = 0x1907; field in class:GLES20
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp436 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1, 1, 0,
437 GL_RGB, GL_UNSIGNED_SHORT_5_6_5, protTexData);
2558 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
2559 hw_w, hw_h, 0, GL_RGB, GL_UNSIGNED_BYTE, 0);
2564 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
2565 tw, th, 0, GL_RGB, GL_UNSIGNED_BYTE, 0);
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java86 // GL_RGB GL_UNSIGNED_SHORT_5_6_5 16 bits per pixel (default)
88 public static final int PIXEL_FORMAT = GLES20.GL_RGB;
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL10.java178 int GL_RGB = 0x1907; field in interface:GL10
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp605 return GL_RGB;
/frameworks/native/opengl/include/GLES/
H A Dgl.h363 #define GL_RGB 0x1907 macro
/frameworks/native/opengl/include/GLES2/
H A Dgl2.h247 #define GL_RGB 0x1907 macro
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_fixup.cpp68 case GL_RGB:
/frameworks/native/opengl/tests/angeles/include/GLES/
H A Dgl.h320 #define GL_RGB 0x1907 macro
/frameworks/rs/driver/
H A DrsdAllocation.cpp72 case RS_KIND_PIXEL_RGB: return GL_RGB;

Completed in 252 milliseconds