/external/mesa3d/src/mesa/swrast/ |
s_alpha.c | 120 GLushort (*rgba)[4] = span->array->rgba16; 121 GLushort ref; 144 GLushort ref;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
lines.c | 95 _mesa_LineStipple( GLint factor, GLushort pattern )
|
mipmap.c | 266 const GLushort(*rowA)[4] = (const GLushort(*)[4]) srcRowA; 267 const GLushort(*rowB)[4] = (const GLushort(*)[4]) srcRowB; 268 GLushort(*dst)[4] = (GLushort(*)[4]) dstRow; 279 const GLushort(*rowA)[3] = (const GLushort(*)[3]) srcRowA; 280 const GLushort(*rowB)[3] = (const GLushort(*)[3]) srcRowB [all...] |
macros.h | 67 /** Convert GLushort in [0,65535] to GLfloat in [0.0,1.0] */ 70 /** Convert GLfloat in [0.0,1.0] to GLushort in [0, 65535] */ 126 #define BYTE_TO_USHORT(b) ((b) < 0 ? 0 : ((GLushort) (((b) * 65535) / 255))) 127 #define UBYTE_TO_USHORT(b) (((GLushort) (b) << 8) | (GLushort) (b)) 128 #define SHORT_TO_USHORT(s) ((s) < 0 ? 0 : ((GLushort) (((s) * 65535 / 32767)))) 129 #define INT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 15))) 130 #define UINT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 16))) 132 us = ( (GLushort) F_TO_I( CLAMP((f), 0.0F, 1.0F) * 65535.0F) ) 134 us = ( (GLushort) F_TO_I( (f) * 65535.0F) [all...] |
api_arrayelt.c | 350 VertexAttrib1NusvNV(GLuint index, const GLushort *v) 356 VertexAttrib1usvNV(GLuint index, const GLushort *v) 362 VertexAttrib2NusvNV(GLuint index, const GLushort *v) 369 VertexAttrib2usvNV(GLuint index, const GLushort *v) 376 VertexAttrib3NusvNV(GLuint index, const GLushort *v) 384 VertexAttrib3usvNV(GLuint index, const GLushort *v) 391 VertexAttrib4NusvNV(GLuint index, const GLushort *v) 400 VertexAttrib4usvNV(GLuint index, const GLushort *v) 870 VertexAttrib1NusvARB(GLuint index, const GLushort *v) 876 VertexAttrib1usvARB(GLuint index, const GLushort *v [all...] |
image.c | 51 _mesa_swap2( GLushort *p, GLuint n ) 477 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst); 488 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort)); 509 const GLushort (*src2)[4] = (const GLushort (*)[4]) src; 524 const GLushort (*src2)[4] = (const GLushort (*)[4]) src; 554 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst) [all...] |
/external/mesa3d/src/mesa/main/ |
lines.c | 95 _mesa_LineStipple( GLint factor, GLushort pattern )
|
mipmap.c | 259 const GLushort(*rowA)[4] = (const GLushort(*)[4]) srcRowA; 260 const GLushort(*rowB)[4] = (const GLushort(*)[4]) srcRowB; 261 GLushort(*dst)[4] = (GLushort(*)[4]) dstRow; 272 const GLushort(*rowA)[3] = (const GLushort(*)[3]) srcRowA; 273 const GLushort(*rowB)[3] = (const GLushort(*)[3]) srcRowB [all...] |
macros.h | 67 /** Convert GLushort in [0,65535] to GLfloat in [0.0,1.0] */ 70 /** Convert GLfloat in [0.0,1.0] to GLushort in [0, 65535] */ 126 #define BYTE_TO_USHORT(b) ((b) < 0 ? 0 : ((GLushort) (((b) * 65535) / 255))) 127 #define UBYTE_TO_USHORT(b) (((GLushort) (b) << 8) | (GLushort) (b)) 128 #define SHORT_TO_USHORT(s) ((s) < 0 ? 0 : ((GLushort) (((s) * 65535 / 32767)))) 129 #define INT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 15))) 130 #define UINT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 16))) 132 us = ( (GLushort) F_TO_I( CLAMP((f), 0.0F, 1.0F) * 65535.0F) ) 134 us = ( (GLushort) F_TO_I( (f) * 65535.0F) [all...] |
api_arrayelt.c | 350 VertexAttrib1NusvNV(GLuint index, const GLushort *v) 356 VertexAttrib1usvNV(GLuint index, const GLushort *v) 362 VertexAttrib2NusvNV(GLuint index, const GLushort *v) 369 VertexAttrib2usvNV(GLuint index, const GLushort *v) 376 VertexAttrib3NusvNV(GLuint index, const GLushort *v) 384 VertexAttrib3usvNV(GLuint index, const GLushort *v) 391 VertexAttrib4NusvNV(GLuint index, const GLushort *v) 400 VertexAttrib4usvNV(GLuint index, const GLushort *v) 870 VertexAttrib1NusvARB(GLuint index, const GLushort *v) 876 VertexAttrib1usvARB(GLuint index, const GLushort *v [all...] |
image.c | 51 _mesa_swap2( GLushort *p, GLuint n ) 477 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst); 488 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort)); 509 const GLushort (*src2)[4] = (const GLushort (*)[4]) src; 524 const GLushort (*src2)[4] = (const GLushort (*)[4]) src; 554 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst) [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
IndexDataManager.cpp | 62 GLushort *out = static_cast<GLushort*>(output); 75 memcpy(output, input, count * sizeof(GLushort)); 105 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); 136 case GL_UNSIGNED_SHORT: alignedOffset = (offset % sizeof(GLushort) == 0); break;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_tcl.c | 109 #define ELT_TYPE GLushort 147 static GLushort *radeonAllocElts( r100ContextPtr rmesa, GLuint nr ) 211 GLushort *des = (GLushort *)( (uintptr_t)dest & ~0x2 ); \ 212 (des)[ off + 1 - 2 * ( off & 1 ) ] = (GLushort)(x); \ 216 (dest)[offset] = (GLushort) (x); \
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_tcl.c | 109 #define ELT_TYPE GLushort 147 static GLushort *radeonAllocElts( r100ContextPtr rmesa, GLuint nr ) 211 GLushort *des = (GLushort *)( (uintptr_t)dest & ~0x2 ); \ 212 (des)[ off + 1 - 2 * ( off & 1 ) ] = (GLushort)(x); \ 216 (dest)[offset] = (GLushort) (x); \
|
/external/chromium_org/third_party/angle/samples/gles2_book/Common/ |
esUtil.h | 204 GLfloat **texCoords, GLushort **indices ); 218 GLfloat **texCoords, GLushort **indices );
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_tcl.c | 106 #define ELT_TYPE GLushort 142 static GLushort *r200AllocElts( r200ContextPtr rmesa, GLuint nr ) 147 GLushort *dest = (GLushort *)(rmesa->radeon.tcl.elt_dma_bo->ptr + 222 GLushort *des = (GLushort *)( (uintptr_t)dest & ~0x2 ); \ 223 (des)[ off + 1 - 2 * ( off & 1 ) ] = (GLushort)(x); \ 227 (dest)[offset] = (GLushort) (x); \
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_tcl.c | 106 #define ELT_TYPE GLushort 142 static GLushort *r200AllocElts( r200ContextPtr rmesa, GLuint nr ) 147 GLushort *dest = (GLushort *)(rmesa->radeon.tcl.elt_dma_bo->ptr + 222 GLushort *des = (GLushort *)( (uintptr_t)dest & ~0x2 ); \ 223 (des)[ off + 1 - 2 * ( off & 1 ) ] = (GLushort)(x); \ 227 (dest)[offset] = (GLushort) (x); \
|
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
m_translate.h | 36 * For example, convert array of GLushort[3] to GLfloat[4]. 87 extern void _math_trans_4us(GLushort (*to)[4],
|
/external/mesa3d/src/mesa/math/ |
m_translate.h | 36 * For example, convert array of GLushort[3] to GLfloat[4]. 87 extern void _math_trans_4us(GLushort (*to)[4],
|
/packages/apps/Camera/jni/feature_mos/src/mosaic_renderer/ |
YVURenderer.cpp | 34 GLushort g_iIndices3[] = { 0, 1, 2, 3 };
|
/packages/apps/Camera2/jni/feature_mos/src/mosaic_renderer/ |
YVURenderer.cpp | 34 GLushort g_iIndices3[] = { 0, 1, 2, 3 };
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic_renderer/ |
YVURenderer.cpp | 34 GLushort g_iIndices3[] = { 0, 1, 2, 3 };
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/wgl/ |
stw_icd.h | 73 void (GLAPIENTRY * Color3us)(GLushort, GLushort, GLushort); 74 void (GLAPIENTRY * Color3usv)(const GLushort *); 89 void (GLAPIENTRY * Color4us)(GLushort, GLushort, GLushort, GLushort); 90 void (GLAPIENTRY * Color4usv)(const GLushort *); 217 void (GLAPIENTRY * LineStipple)(GLint, GLushort); [all...] |
/external/mesa3d/src/gallium/state_trackers/wgl/ |
stw_icd.h | 73 void (GLAPIENTRY * Color3us)(GLushort, GLushort, GLushort); 74 void (GLAPIENTRY * Color3usv)(const GLushort *); 89 void (GLAPIENTRY * Color4us)(GLushort, GLushort, GLushort, GLushort); 90 void (GLAPIENTRY * Color4usv)(const GLushort *); 217 void (GLAPIENTRY * LineStipple)(GLint, GLushort); [all...] |
/frameworks/native/opengl/tests/tritex/ |
tritex.cpp | 246 const GLushort quadIndices[] = { 0, 1, 2, 0, 2, 3 }; 249 GLushort* indices = (GLushort*)malloc(quads*sizeof(quadIndices));
|