Searched refs:GLushort (Results 1 - 12 of 12) sorted by relevance

/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/
H A DIndexDataManager.cpp51 GLushort *out = static_cast<GLushort*>(output);
64 memcpy(output, input, count * sizeof(GLushort));
94 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex);
110 case GL_UNSIGNED_SHORT: alignedOffset = (offset % sizeof(GLushort) == 0); break;
201 case GL_UNSIGNED_SHORT: return sizeof(GLushort);
203 default: UNREACHABLE(); return sizeof(GLushort);
H A DVertexDataManager.cpp291 template <> struct GLToCType<GL_UNSIGNED_SHORT> { typedef GLushort type; };
/external/mesa3d/src/mesa/main/
H A Dmacros.h64 /** Convert GLushort in [0,65535] to GLfloat in [0.0,1.0] */
67 /** Convert GLfloat in [0.0,1.0] to GLushort in [0, 65535] */
120 #define BYTE_TO_USHORT(b) ((b) < 0 ? 0 : ((GLushort) (((b) * 65535) / 255)))
121 #define UBYTE_TO_USHORT(b) (((GLushort) (b) << 8) | (GLushort) (b))
122 #define SHORT_TO_USHORT(s) ((s) < 0 ? 0 : ((GLushort) (((s) * 65535 / 32767))))
123 #define INT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 15)))
124 #define UINT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 16)))
126 us = ( (GLushort) IROUND( CLAMP((f), 0.0F, 1.0F) * 65535.0F) )
128 us = ( (GLushort) IROUN
[all...]
H A Dconfig.h319 #define DEFAULT_SOFTWARE_DEPTH_TYPE GLushort
H A Dcompiler.h466 static GLushort mask = DEFAULT_X86_FPU; \
472 static GLushort mask = FAST_X86_FPU; \
H A Dmtypes.h54 typedef GLushort GLchan;
74 typedef GLushort GLstencil;
926 GLushort StipplePattern; /**< Stipple pattern */
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_glfuncs.h37 SDL_PROC_UNUSED(void,glColor3us,(GLushort,GLushort,GLushort))
38 SDL_PROC_UNUSED(void,glColor3usv,(const GLushort*))
53 SDL_PROC_UNUSED(void,glColor4us,(GLushort red, GLushort green, GLushort blue, GLushort alpha))
54 SDL_PROC_UNUSED(void,glColor4usv,(const GLushort *v))
120 SDL_PROC_UNUSED(void,glGetPixelMapusv,(GLenum map, GLushort *value
[all...]
/external/qemu/distrib/sdl-1.2.15/include/
H A DSDL_opengl.h3359 GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort);
3360 GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *);
3405 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
3406 typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
3553 GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *);
3564 GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *);
[all...]
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
H A DContext.h106 case GL_UNSIGNED_SHORT: return mSize * sizeof(GLushort);
H A DContext.cpp2830 first = static_cast<const GLushort*>(indices)[0];
2831 last = static_cast<const GLushort*>(indices)[count - 1];
/external/mesa3d/include/GLES2/
H A Dgl2.h31 typedef unsigned short GLushort; typedef
/external/webkit/Source/ThirdParty/ANGLE/include/GLES2/
H A Dgl2.h31 typedef unsigned short GLushort; typedef

Completed in 261 milliseconds