/frameworks/native/opengl/tests/finish/ |
H A D | finish.cpp | 83 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 D | linetex.cpp | 94 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 D | textures.cpp | 107 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 D | BootAnimation.cpp | 139 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB, 198 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, 201 0, 0, w, h, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, p); 203 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
|
/frameworks/native/opengl/tests/filter/ |
H A D | filter.cpp | 118 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 D | texture.cpp | 187 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 D | state.cpp | 413 params[0] = GL_RGB;
|
/frameworks/base/libs/hwui/ |
H A D | TextureCache.cpp | 245 uploadToTexture(resize, GL_RGB, bitmap->rowBytesAsPixels(), texture->height,
|
H A D | LayerRenderer.cpp | 385 format = GL_RGB;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | ETC1Util.java | 38 * 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 D | GLES10.java | 180 public static final int GL_RGB = 0x1907; field in class:GLES10
|
H A D | GLES20.java | 156 public static final int GL_RGB = 0x1907; field in class:GLES20
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 279 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 2, 2, 0, 280 GL_RGB, GL_UNSIGNED_SHORT_5_6_5, wormholeTexData); 289 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1, 1, 0, 290 GL_RGB, GL_UNSIGNED_SHORT_5_6_5, protTexData); 1810 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1811 hw_w, hw_h, 0, GL_RGB, GL_UNSIGNED_BYTE, 0); 1816 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1817 tw, th, 0, GL_RGB, GL_UNSIGNED_BYTE, 0);
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
H A D | VideoDumpView.java | 86 // 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 D | GL10.java | 178 int GL_RGB = 0x1907; field in interface:GL10
|
/frameworks/base/core/jni/android/opengl/ |
H A D | util.cpp | 605 return GL_RGB;
|
/frameworks/native/opengl/include/GLES/ |
H A D | gl.h | 363 #define GL_RGB 0x1907 macro
|
/frameworks/native/opengl/include/GLES2/ |
H A D | gl2.h | 247 #define GL_RGB 0x1907 macro
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.cpp | 67 case GL_RGB:
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
H A D | gl.h | 320 #define GL_RGB 0x1907 macro
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 73 case RS_KIND_PIXEL_RGB: return GL_RGB;
|