/external/mesa3d/src/mesa/main/ |
H A D | lines.h | 44 _mesa_LineStipple( GLint factor, GLushort pattern );
|
H A D | pixel.h | 48 _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values ); 58 _mesa_GetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort *values ); 60 _mesa_GetPixelMapusv( GLenum map, GLushort *values );
|
H A D | pack.c | 327 const GLushort *s = (const GLushort *) src; 330 GLushort value = s[i]; 586 dst[i] = (GLushort) (indexes[i] & 0xffff); 646 GLushort *dst = (GLushort *) dest; 649 dst[i] = (GLushort) source[i]; 652 _mesa_swap2( (GLushort *) dst, n ); 664 _mesa_swap2( (GLushort *) dst, n ); 713 _mesa_swap2( (GLushort *) ds [all...] |
H A D | api_loopback.h | 49 _mesa_Color3us( GLushort red, GLushort green, GLushort blue ); 63 _mesa_Color3usv( const GLushort *v ); 80 _mesa_Color4us( GLushort red, GLushort green, GLushort blue, 81 GLushort alpha ); 95 _mesa_Color4usv( const GLushort *v); 313 _mesa_SecondaryColor3us( GLushort re [all...] |
H A D | lines.c | 96 _mesa_LineStipple( GLint factor, GLushort pattern )
|
H A D | image.c | 53 swap2_copy( GLushort *dst, GLushort *src, GLuint n ) 62 _mesa_swap2(GLushort *p, GLuint n) 491 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst); 502 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort)); 523 const GLushort (*src2)[4] = (const GLushort (*)[4]) src; 538 const GLushort (*src2)[4] = (const GLushort (*)[ [all...] |
H A D | mipmap.c | 260 const GLushort(*rowA)[4] = (const GLushort(*)[4]) srcRowA; 261 const GLushort(*rowB)[4] = (const GLushort(*)[4]) srcRowB; 262 GLushort(*dst)[4] = (GLushort(*)[4]) dstRow; 273 const GLushort(*rowA)[3] = (const GLushort(*)[3]) srcRowA; 274 const GLushort(*rowB)[3] = (const GLushort(*)[ [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_texfetch_tmp.h | 91 FETCH_Z(Z_UNORM16, GLushort, 1) 122 FETCH_RGBA(B5G6R5_UNORM, GLushort, 1) 123 FETCH_RGBA(R5G6B5_UNORM, GLushort, 1) 124 FETCH_RGBA(B4G4R4A4_UNORM, GLushort, 1) 125 FETCH_RGBA(A4R4G4B4_UNORM, GLushort, 1) 126 FETCH_RGBA(A1B5G5R5_UNORM, GLushort, 1) 127 FETCH_RGBA(B5G5R5A1_UNORM, GLushort, 1) 128 FETCH_RGBA(A1R5G5B5_UNORM, GLushort, 1) 131 FETCH_RGBA(R8G8_UNORM, GLushort, 1) 132 FETCH_RGBA(G8R8_UNORM, GLushort, [all...] |
H A D | s_masking.c | 72 const GLushort rMask = ctx->Color.ColorMask[buf][RCOMP] ? 0xffff : 0x0; 73 const GLushort gMask = ctx->Color.ColorMask[buf][GCOMP] ? 0xffff : 0x0; 74 const GLushort bMask = ctx->Color.ColorMask[buf][BCOMP] ? 0xffff : 0x0; 75 const GLushort aMask = ctx->Color.ColorMask[buf][ACOMP] ? 0xffff : 0x0; 76 const GLushort (*dst)[4] = (const GLushort (*)[4]) rbPixels; 77 GLushort (*src)[4] = span->array->rgba16;
|
H A D | s_blend.c | 85 bytes = 4 * n * sizeof(GLushort); 166 GLushort (*rgba)[4] = (GLushort (*)[4]) src; 167 const GLushort (*dest)[4] = (const GLushort (*)[4]) dst; 189 GLushort r = (GLushort) ((rgba[i][RCOMP] - dest[i][RCOMP]) * tt + dest[i][RCOMP]); 190 GLushort g = (GLushort) ((rgba[i][GCOMP] - dest[i][GCOMP]) * tt + dest[i][GCOMP]); 191 GLushort [all...] |
H A D | s_chan.h | 56 typedef GLushort GLchan; 97 #define CHAN_TO_USHORT(c) ((GLushort) (CLAMP((c), 0.0f, 1.0f) * 65535.0))
|
H A D | s_fog.c | 86 * \param TYPE either GLubyte, GLushort or GLfloat. 172 GLushort (*rgba)[4] = span->array->rgba16; 173 FOG_LOOP(GLushort, LINEAR_FOG); 191 GLushort (*rgba)[4] = span->array->rgba16; 192 FOG_LOOP(GLushort, EXP_FOG); 210 GLushort (*rgba)[4] = span->array->rgba16; 211 FOG_LOOP(GLushort, EXP2_FOG); 235 GLushort (*rgba)[4] = span->array->rgba16; 236 FOG_LOOP(GLushort, BLEND_FOG);
|
H A D | s_alpha.c | 119 GLushort (*rgba)[4] = span->array->rgba16; 120 GLushort ref; 143 GLushort ref;
|
/external/deqp/framework/opengl/wrapper/ |
H A D | glwDefs.cpp | 37 DE_STATIC_ASSERT(sizeof(GLushort) == 2);
|
H A D | glwTypes.inl | 53 typedef deUint16 GLushort;
|
/external/autotest/client/deps/glbench/src/ |
H A D | utils.h | 38 int CreateMesh(GLushort **indices, GLsizeiptr *size,
|
H A D | utils.cc | 223 int CreateMesh(GLushort **indices, GLsizeiptr *size, 230 GLushort *iptr = *indices = new GLushort[2 * 3 * (width * height)]; 238 GLushort first = (j + j2) * (width + 1) + i; 239 GLushort second = first + 1; 240 GLushort third = first + (width + 1); 241 GLushort fourth = third + 1; 254 *size = (iptr - *indices) * sizeof(GLushort);
|
H A D | glinterfacetest.cc | 31 const GLushort kIndices[] = { 0, 1, 2,
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_array.c | 49 EXTRACT_FUNC(GLushort, unsigned, 1); 50 EXTRACT_FUNC(GLushort, float, USHRT_MAX); 78 *extract_u = EXTRACT(GLushort, unsigned); 79 *extract_f = EXTRACT(GLushort, float);
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
H A D | IndexDataManager.cpp | 57 memcpy(output, input, count * sizeof(GLushort)); 83 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); 148 case GL_UNSIGNED_SHORT: return sizeof(GLushort); 150 default: UNREACHABLE(type); return sizeof(GLushort);
|
/external/swiftshader/src/OpenGL/libGL/ |
H A D | IndexDataManager.cpp | 61 memcpy(output, input, count * sizeof(GLushort)); 91 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); 111 case GL_UNSIGNED_SHORT: alignedOffset = (offset % sizeof(GLushort) == 0); break; 166 case GL_UNSIGNED_SHORT: return sizeof(GLushort); 168 default: UNREACHABLE(type); return sizeof(GLushort);
|
/external/mesa3d/src/mesa/math/ |
H A D | m_translate.h | 33 * For example, convert array of GLushort[3] to GLfloat[4]. 76 extern void _math_trans_4us(GLushort (*to)[4],
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
H A D | IndexDataManager.cpp | 61 memcpy(output, input, count * sizeof(GLushort)); 91 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); 162 case GL_UNSIGNED_SHORT: return sizeof(GLushort); 164 default: UNREACHABLE(type); return sizeof(GLushort);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | 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/r200/ |
H A D | r200_tcl.c | 105 #define ELT_TYPE GLushort 141 static GLushort *r200AllocElts( r200ContextPtr rmesa, GLuint nr ) 146 GLushort *dest = (GLushort *)(rmesa->radeon.tcl.elt_dma_bo->ptr + 221 GLushort *des = (GLushort *)( (uintptr_t)dest & ~0x2 ); \ 222 (des)[ off + 1 - 2 * ( off & 1 ) ] = (GLushort)(x); \ 226 (dest)[offset] = (GLushort) (x); \
|