Home
last modified time | relevance | path

Searched refs:GL_UNSIGNED_BYTE (Results 1 – 25 of 42) sorted by relevance

12

/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
DTextureUtil.java197 dataType = GL_UNSIGNED_BYTE; in uploadTexture()
202 dataType = GL_UNSIGNED_BYTE; in uploadTexture()
208 dataType = GL_UNSIGNED_BYTE; in uploadTexture()
214 dataType = GL_UNSIGNED_BYTE; in uploadTexture()
220 dataType = GL_UNSIGNED_BYTE; in uploadTexture()
226 dataType = GL_UNSIGNED_BYTE; in uploadTexture()
236 dataType = GL_UNSIGNED_BYTE; in uploadTexture()
242 dataType = GL_UNSIGNED_BYTE; in uploadTexture()
247 dataType = GL_UNSIGNED_BYTE; in uploadTexture()
252 dataType = GL_UNSIGNED_BYTE; in uploadTexture()
[all …]
DLwjglGL1Renderer.java873 return GL_UNSIGNED_BYTE; in convertVertexFormat()
981 case GL_UNSIGNED_BYTE: in drawElements()
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
DTextureUtil.java153 dataType = GLES20.GL_UNSIGNED_BYTE; in uploadTexture()
157 dataType = GLES20.GL_UNSIGNED_BYTE; in uploadTexture()
161 dataType = GLES20.GL_UNSIGNED_BYTE; in uploadTexture()
165 dataType = GLES20.GL_UNSIGNED_BYTE; in uploadTexture()
169 dataType = GLES20.GL_UNSIGNED_BYTE; in uploadTexture()
182 dataType = GLES20.GL_UNSIGNED_BYTE; in uploadTexture()
186 dataType = GLES20.GL_UNSIGNED_BYTE; in uploadTexture()
195 dataType = GLES20.GL_UNSIGNED_BYTE; in uploadTexture()
199 dataType = GLES20.GL_UNSIGNED_BYTE; in uploadTexture()
204 dataType = GLES20.GL_UNSIGNED_BYTE; in uploadTexture()
[all …]
/external/quake/quake/src/WinQuake/
Dgl_rmisc.cpp91 glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_alpha_format, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, data); in R_InitParticleTexture2()
134 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
140 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
146 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
152 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
159 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
166 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
385 …TEXTURE_2D, 0, gl_solid_format, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in R_TranslatePlayerSkin()
Dgl_draw.cpp1039 …glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_alpha_format, 64, 64, 0, GL_RGBA, GL_UNSIGNED_BYTE, trans… in Draw_TransPicTranslate()
1481 …glTexImage2D(GL_TEXTURE_2D, mipLevel, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, pData); in sendTexture()
1485 … glTexSubImage2D(GL_TEXTURE_2D, mipLevel, 0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pData); in sendTexture()
1489 … glTexSubImage2D(GL_TEXTURE_2D, mipLevel, 0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pData); in sendTexture()
1495 …glTexImage2D(GL_TEXTURE_2D, mipLevel, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, pData); in sendTexture()
1553 …elper (GL_TEXTURE_2D, 0, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, data); in GL_Upload32()
1645 …per (GL_TEXTURE_2D, 0, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, scaled); in GL_Upload32()
1651 …per (GL_TEXTURE_2D, 0, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, scaled); in GL_Upload32()
1667 …_TEXTURE_2D, miplevel, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, scaled); in GL_Upload32()
1870 …, 0, GL_COLOR_INDEX8_EXT, scaled_width, scaled_height, 0, GL_COLOR_INDEX , GL_UNSIGNED_BYTE, data); in GL_Upload8_EXT()
[all …]
Dgl_warp.cpp713 …ge2DHelper (GL_TEXTURE_2D, 0, gl_solid_format, 256, 256, 0, GL_RGBA, GL_UNSIGNED_BYTE, targa_rgba); in R_LoadSkys()
1126 …glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_solid_format, 128, 128, 0, GL_RGBA, GL_UNSIGNED_BYTE, tra… in R_InitSky()
1144 …glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_alpha_format, 128, 128, 0, GL_RGBA, GL_UNSIGNED_BYTE, tra… in R_InitSky()
Dgl_rsurf.cpp448 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_DrawSequentialPoly()
575 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_DrawSequentialPoly()
806 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_BlendLightmaps()
1714 gl_lightmap_format, GL_UNSIGNED_BYTE, lightmaps+i*BLOCK_WIDTH*BLOCK_HEIGHT*lightmap_bytes); in GL_UploadLightmaps()
Dgl_screen.cpp627 glReadPixels (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, buffer+18 ); in SCR_ScreenShot_f()
/external/quake/quake/src/QW/client/
Dgl_rmisc.c91 glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_alpha_format, 8, 8, 0, GL_RGBA, GL_UNSIGNED_BYTE, data); in R_InitParticleTexture()
127 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
133 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
139 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
145 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
152 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
159 glReadPixels (0, 0, 256, 256, GL_RGBA, GL_UNSIGNED_BYTE, buffer); in R_Envmap_f()
390 GL_UNSIGNED_BYTE, pixels); in R_TranslatePlayerSkin()
Dgl_draw.c770 …glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_alpha_format, 64, 64, 0, GL_RGBA, GL_UNSIGNED_BYTE, trans… in Draw_TransPicTranslate()
1172 gluBuild2DMipmaps (GL_TEXTURE_2D, samples, width, height, GL_RGBA, GL_UNSIGNED_BYTE, trans); in GL_Upload32()
1174 glTexImage2D (GL_TEXTURE_2D, 0, samples, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, trans); in GL_Upload32()
1177 gluScaleImage (GL_RGBA, width, height, GL_UNSIGNED_BYTE, trans, in GL_Upload32()
1178 scaled_width, scaled_height, GL_UNSIGNED_BYTE, scaled); in GL_Upload32()
1179 …e2D (GL_TEXTURE_2D, 0, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, scaled); in GL_Upload32()
1188 …elper (GL_TEXTURE_2D, 0, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, data); in GL_Upload32()
1196 …per (GL_TEXTURE_2D, 0, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, scaled); in GL_Upload32()
1212 …_TEXTURE_2D, miplevel, samples, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, scaled); in GL_Upload32()
1281 …, 0, GL_COLOR_INDEX8_EXT, scaled_width, scaled_height, 0, GL_COLOR_INDEX , GL_UNSIGNED_BYTE, data); in GL_Upload8_EXT()
[all …]
Dgl_ngraph.c122 GL_UNSIGNED_BYTE, ngraph_pixels); in R_NetGraph()
Dgl_warp.c664 …glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_solid_format, 256, 256, 0, GL_RGBA, GL_UNSIGNED_BYTE, tar… in R_LoadSkys()
1077 …glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_solid_format, 128, 128, 0, GL_RGBA, GL_UNSIGNED_BYTE, tra… in R_InitSky()
1095 …glTexImage2DHelper (GL_TEXTURE_2D, 0, gl_alpha_format, 128, 128, 0, GL_RGBA, GL_UNSIGNED_BYTE, tra… in R_InitSky()
Dgl_rsurf.c451 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_DrawSequentialPoly()
553 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_DrawSequentialPoly()
734 BLOCK_WIDTH, theRect->h, gl_lightmap_format, GL_UNSIGNED_BYTE, in R_BlendLightmaps()
1708 gl_lightmap_format, GL_UNSIGNED_BYTE, lightmaps+i*BLOCK_WIDTH*BLOCK_HEIGHT*lightmap_bytes); in GL_BuildLightmaps()
Dgl_screen.c660 glReadPixels (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, buffer+18 ); in SCR_ScreenShot_f()
881 glReadPixels (glx, gly, glwidth, glheight, GL_RGB, GL_UNSIGNED_BYTE, newbuf ); in SCR_RSShot_f()
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
DIndexDataManager.cpp48 if (type == GL_UNSIGNED_BYTE) in convertIndices()
84 if (type == GL_UNSIGNED_BYTE) in computeRange()
109 case GL_UNSIGNED_BYTE: alignedOffset = (offset % sizeof(GLubyte) == 0); break; in prepareIndexData()
202 case GL_UNSIGNED_BYTE: return sizeof(GLubyte); in typeSize()
DVertexDataManager.cpp289 template <> struct GLToCType<GL_UNSIGNED_BYTE> { typedef GLubyte type; };
371 template <> struct VertexTypeMapping<GL_UNSIGNED_BYTE, false> : VertexTypeMappingBase…
372 template <> struct VertexTypeMapping<GL_UNSIGNED_BYTE, true> : VertexTypeMappingBase…
466 TRANSLATIONS_FOR_TYPE(GL_UNSIGNED_BYTE),
500 case GL_UNSIGNED_BYTE: return 1; in typeIndex()
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DGLUtils.cpp255 return GL_UNSIGNED_BYTE; in getType()
259 return GL_UNSIGNED_BYTE; in getType()
329 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 2, 2, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels); in createSampleColorTexture()
349 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, 2, 2, 0, GL_RGB, GL_UNSIGNED_BYTE, pixels); in createSampleTexture()
370 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, height, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in createTileGLTexture()
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
Dutilities.cpp238 case GL_UNSIGNED_BYTE: in ComputePixelSize()
297 case GL_UNSIGNED_BYTE: in CheckTextureFormatType()
DContext.cpp2154 type == GL_UNSIGNED_BYTE) in readPixels()
2256 case GL_UNSIGNED_BYTE: in readPixels()
2268 case GL_UNSIGNED_BYTE: in readPixels()
2825 case GL_UNSIGNED_BYTE: in drawClosingLine()
3154 incomplete2d->setImage(0, GL_RGBA, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, 1, color); in getIncompleteTexture()
3163 incompleteCube->setImagePosX(0, GL_RGBA, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, 1, color); in getIncompleteTexture()
3164 incompleteCube->setImageNegX(0, GL_RGBA, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, 1, color); in getIncompleteTexture()
3165 incompleteCube->setImagePosY(0, GL_RGBA, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, 1, color); in getIncompleteTexture()
3166 incompleteCube->setImageNegY(0, GL_RGBA, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, 1, color); in getIncompleteTexture()
3167 incompleteCube->setImagePosZ(0, GL_RGBA, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, 1, color); in getIncompleteTexture()
[all …]
DTexture.cpp50 mType = GL_UNSIGNED_BYTE; in Texture()
223 else if (type == GL_UNSIGNED_BYTE) in selectFormat()
253 case GL_UNSIGNED_BYTE: in loadImageData()
811 createSurface(width, height, format, GL_UNSIGNED_BYTE, img); in setCompressedImage()
883 createSurface(img->width, img->height, format, GL_UNSIGNED_BYTE, img); in subImageCompressed()
1272 redefineTexture(level, internalFormat, width, height, GL_UNSIGNED_BYTE); in setCompressedImage()
DlibGLESv2.cpp1768 case GL_UNSIGNED_BYTE: in glDrawElements()
3974 case GL_UNSIGNED_BYTE: in glReadPixels()
3983 case GL_UNSIGNED_BYTE: in glReadPixels()
4483 case GL_UNSIGNED_BYTE: in glTexImage2D()
4494 case GL_UNSIGNED_BYTE: in glTexImage2D()
4506 case GL_UNSIGNED_BYTE: in glTexImage2D()
4519 case GL_UNSIGNED_BYTE: in glTexImage2D()
5614 case GL_UNSIGNED_BYTE: in glVertexAttribPointer()
DContext.h104 case GL_UNSIGNED_BYTE: return mSize * sizeof(GLubyte); in typeSize()
/external/webkit/Source/WebCore/platform/graphics/opengl/
DTextureMapperGL.cpp460 …RE_2D, 0, GL_RGBA, m_textureSize.width(), m_textureSize.height(), 0, GL_RGBA, GL_UNSIGNED_BYTE, 0)) in reset()
481 …_dirtyRect.y(), m_dirtyRect.width(), m_dirtyRect.height(), GL_RGBA, GL_UNSIGNED_BYTE, m_buffer->da… in endPaint()
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_video.c873 video->is_32bit ? GL_UNSIGNED_BYTE : GL_UNSIGNED_SHORT_5_6_5, in SDL_SetVideoMode()
875 GL_UNSIGNED_BYTE, in SDL_SetVideoMode()
1590 this->is_32bit ? GL_UNSIGNED_BYTE : GL_UNSIGNED_SHORT_5_6_5, in SDL_GL_UpdateRects()
1592 GL_UNSIGNED_BYTE, in SDL_GL_UpdateRects()
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
DSDL_atarigl.c336 type = GL_UNSIGNED_BYTE; in SDL_AtariGL_MakeCurrent()
657 osmesa_format, GL_UNSIGNED_BYTE, current->w, current->h in InitOld()

12