Home
last modified time | relevance | path

Searched refs:GL_RGB (Results 1 – 25 of 32) 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.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.cpp102 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.cpp177 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB, in initTexture()
231 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, tw, th, 0, GL_RGB, in initTexture()
234 0, 0, w, h, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, p); in initTexture()
236 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, w, h, 0, GL_RGB, in initTexture()
/frameworks/base/libs/hwui/
DTexture.cpp42 case GL_RGB: in bytesPerPixel()
211 *outFormat = GL_RGB; in colorTypeToGlFormatAndType()
212 *outInternalFormat = GL_RGB; in colorTypeToGlFormatAndType()
DOpenGLReadback.cpp152 format = GL_RGB; in copyTextureInto()
153 internalFormat = GL_RGB; in copyTextureInto()
/frameworks/native/opengl/libagl/
Dtexture.cpp197 case GL_RGB: fi = 1; break; in convertGLPixelFormat()
225 if (type == GL_UNSIGNED_SHORT_5_6_5 && format != GL_RGB) { in validFormatType()
1067 format = GL_RGB; in glCompressedTexImage2D()
1077 format = GL_RGB; in glCompressedTexImage2D()
1092 format = GL_RGB; in glCompressedTexImage2D()
1356 case GL_RGB: in glCopyTexImage2D()
1474 if ((format != GL_RGBA) && (format != GL_RGB)) { in glReadPixels()
1494 } else if ((format == GL_RGB) && (type == GL_UNSIGNED_SHORT_5_6_5)) { in glReadPixels()
Dstate.cpp413 params[0] = GL_RGB; in glGetIntegerv()
/frameworks/native/services/surfaceflinger/RenderEngine/
DGLES20RenderEngine.cpp132 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 1, 1, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, protTexData); in GLES20RenderEngine()
/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/pipeline/skia/
DSkiaOpenGLPipeline.cpp354 format = GL_RGB; in allocateHardwareBitmap()
/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/libs/hwui/renderthread/
DOpenGLPipeline.cpp394 case GL_RGB: in internalFormatToPixelFormat()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp640 internalformat == GL_RGB) ? 0 : -1; in checkInternalFormat()
674 return GL_RGB; in getInternalFormat()
/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.h288 #define GL_RGB 0x1907 macro
/frameworks/native/opengl/include/GLES2/
Dgl2.h212 #define GL_RGB 0x1907 macro
/frameworks/rs/driver/
DrsdAllocation.cpp77 case RS_KIND_PIXEL_RGB: return GL_RGB; in rsdKindToGLFormat()

12