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

12

/frameworks/native/opengl/tests/finish/
H A Dfinish.cpp84 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
85 512, 512, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, texels);
168 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green);
180 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
181 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &texel);
216 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.cpp95 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.cpp108 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 4, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16);
/frameworks/native/opengl/tests/filter/
H A Dfilter.cpp120 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB,
121 4, 4, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, t16);
/frameworks/base/libs/hwui/
H A DTexture.cpp42 case GL_RGB:
205 // We would ideally use a GL_RGB/GL_SRGB8 texture but the
211 *outFormat = GL_RGB;
212 *outInternalFormat = GL_RGB;
H A DOpenGLReadback.cpp160 format = GL_RGB;
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp190 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB,
248 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB,
251 0, 0, w, h, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, p);
253 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB,
/frameworks/native/opengl/libagl/
H A Dtexture.cpp180 0, 0 }, // GL_RGB
197 case GL_RGB: fi = 1; break;
225 if (type == GL_UNSIGNED_SHORT_5_6_5 && format != GL_RGB) {
1071 format = GL_RGB;
1081 format = GL_RGB;
1096 format = GL_RGB;
1362 case GL_RGB:
1480 if ((format != GL_RGBA) && (format != GL_RGB)) {
1500 } else if ((format == GL_RGB) && (type == GL_UNSIGNED_SHORT_5_6_5)) {
H A Dstate.cpp413 params[0] = GL_RGB;
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DGLES20RenderEngine.cpp130 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1, 1, 0,
131 GL_RGB, GL_UNSIGNED_SHORT_5_6_5, protTexData);
/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/opengl/tools/glgen/stubs/gles11/
H A DGLES10Header.java-if180 public static final int GL_RGB = 0x1907;
H A DGLES20Header.java-if156 public static final int GL_RGB = 0x1907;
/frameworks/base/libs/hwui/hwui/
H A DBitmap.cpp106 case GL_RGB:
/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.cpp686 return GL_RGB;
/frameworks/native/opengl/include/GLES/
H A Dgl.h363 #define GL_RGB 0x1907 macro
/frameworks/native/opengl/tests/angeles/include/GLES/
H A Dgl.h320 #define GL_RGB 0x1907 macro
/frameworks/native/opengl/include/GLES2/
H A Dgl2.h214 #define GL_RGB 0x1907 macro
/frameworks/rs/driver/
H A DrsdAllocation.cpp75 case RS_KIND_PIXEL_RGB: return GL_RGB;
/frameworks/native/opengl/include/GLES3/
H A Dgl3.h214 #define GL_RGB 0x1907 macro
H A Dgl31.h214 #define GL_RGB 0x1907 macro

Completed in 364 milliseconds

12