/external/mesa3d/src/mesa/swrast/ |
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, 1) [all …]
|
D | s_masking.c | 72 const GLushort rMask = ctx->Color.ColorMask[buf][RCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span() 73 const GLushort gMask = ctx->Color.ColorMask[buf][GCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span() 74 const GLushort bMask = ctx->Color.ColorMask[buf][BCOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span() 75 const GLushort aMask = ctx->Color.ColorMask[buf][ACOMP] ? 0xffff : 0x0; in _swrast_mask_rgba_span() 76 const GLushort (*dst)[4] = (const GLushort (*)[4]) rbPixels; in _swrast_mask_rgba_span() 77 GLushort (*src)[4] = span->array->rgba16; in _swrast_mask_rgba_span()
|
D | s_blend.c | 85 bytes = 4 * n * sizeof(GLushort); in blend_noop() 166 GLushort (*rgba)[4] = (GLushort (*)[4]) src; in blend_transparency_ushort() 167 const GLushort (*dest)[4] = (const GLushort (*)[4]) dst; in blend_transparency_ushort() 189 GLushort r = (GLushort) ((rgba[i][RCOMP] - dest[i][RCOMP]) * tt + dest[i][RCOMP]); in blend_transparency_ushort() 190 GLushort g = (GLushort) ((rgba[i][GCOMP] - dest[i][GCOMP]) * tt + dest[i][GCOMP]); in blend_transparency_ushort() 191 GLushort b = (GLushort) ((rgba[i][BCOMP] - dest[i][BCOMP]) * tt + dest[i][BCOMP]); in blend_transparency_ushort() 192 GLushort a = (GLushort) ((rgba[i][ACOMP] - dest[i][ACOMP]) * tt + dest[i][ACOMP]); in blend_transparency_ushort() 271 GLushort (*rgba)[4] = (GLushort (*)[4]) src; in blend_add() 272 const GLushort (*dest)[4] = (const GLushort (*)[4]) dst; in blend_add() 330 GLushort (*rgba)[4] = (GLushort (*)[4]) src; in blend_min() [all …]
|
D | s_fog.c | 172 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span() 173 FOG_LOOP(GLushort, LINEAR_FOG); in _swrast_fog_rgba_span() 191 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span() 192 FOG_LOOP(GLushort, EXP_FOG); in _swrast_fog_rgba_span() 210 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span() 211 FOG_LOOP(GLushort, EXP2_FOG); in _swrast_fog_rgba_span() 235 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_fog_rgba_span() 236 FOG_LOOP(GLushort, BLEND_FOG); in _swrast_fog_rgba_span()
|
D | s_alpha.c | 119 GLushort (*rgba)[4] = span->array->rgba16; in _swrast_alpha_test() 120 GLushort ref; in _swrast_alpha_test() 143 GLushort ref; in _swrast_alpha_test()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cDirectStateAccessTests.cpp | 177 addChild(new Textures::BufferTest<glw::GLushort, 1, false>(m_context, "textures_buffer_r16ui")); in init() 178 addChild(new Textures::BufferTest<glw::GLushort, 2, false>(m_context, "textures_buffer_rg16ui")); in init() 179 addChild(new Textures::BufferTest<glw::GLushort, 4, false>(m_context, "textures_buffer_rgba16ui")); in init() 180 …addChild(new Textures::BufferTest<glw::GLushort, 1, true>(m_context, "textures_buffer_r16ui_unorm"… in init() 181 …addChild(new Textures::BufferTest<glw::GLushort, 2, true>(m_context, "textures_buffer_rg16ui_unorm… in init() 182 …addChild(new Textures::BufferTest<glw::GLushort, 4, true>(m_context, "textures_buffer_rgba16ui_uno… in init() 239 …addChild(new Textures::StorageAndSubImageTest<glw::GLushort, 1, false, 1, false>(m_context, "textu… in init() 240 …addChild(new Textures::StorageAndSubImageTest<glw::GLushort, 2, false, 1, false>(m_context, "textu… in init() 241 …addChild(new Textures::StorageAndSubImageTest<glw::GLushort, 4, false, 1, false>(m_context, "textu… in init() 242 …addChild(new Textures::StorageAndSubImageTest<glw::GLushort, 1, false, 2, false>(m_context, "textu… in init() [all …]
|
D | gl4cShaderDrawParametersTests.cpp | 171 const GLushort elements[] = { 0, 1, 2, 3, 4, 5 }; in init() 197 gl.bufferData(GL_ELEMENT_ARRAY_BUFFER, 6 * sizeof(GLushort), elements, GL_STATIC_DRAW); in init() 407 gl.drawElements(GL_TRIANGLE_STRIP, 4, GL_UNSIGNED_SHORT, (GLvoid*)(2 * sizeof(GLushort))); in drawCommand() 605 const GLvoid* dIndices[] = { (GLvoid*)(1 * sizeof(GLushort)), (GLvoid*)(1 * sizeof(GLushort)) }; in drawCommand() 747 const GLushort parameters[] = { 1, 1, 1 }; in initChild() 766 gl.bufferData(GL_PARAMETER_BUFFER_ARB, 3 * sizeof(GLushort), parameters, GL_STATIC_DRAW); in initChild() 817 const GLushort parameters[] = { 1, 1, 1 }; in initChild() 836 gl.bufferData(GL_PARAMETER_BUFFER_ARB, 3 * sizeof(GLushort), parameters, GL_STATIC_DRAW); in initChild()
|
D | gl3cTextureSwizzleTests.cpp | 61 static const glw::GLushort data_unorm16_one[] = { 65535 }; 62 static const glw::GLushort data_unorm16_zero[] = { 0 }; 71 static const glw::GLushort data_uint16_one[] = { 1 }; 72 static const glw::GLushort data_uint16_zero[] = { 0 }; 79 static const glw::GLushort src_data_r16[] = { 12345 }; 83 static const glw::GLushort src_data_rg16[] = { 12345, 54321 }; 86 static const glw::GLushort src_data_rgb4[] = { 64832 }; /* 5_6_5: 255, 170, 0 */ 87 static const glw::GLushort src_data_rgb5[] = { 64832 }; 90 static const glw::GLushort src_data_rgb16[] = { 65535, 32767, 16383 }; 92 static const glw::GLushort src_data_rgba4[] = { 64005 }; /* 255, 170, 0, 85 */ [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcPackedPixelsTests.cpp | 344 …{ GL_UNSIGNED_SHORT, sizeof(GLushort), STORAGE_UNSIGNED, false, false, { { 0, 0, 0, 0, 0, … 350 …{ GL_UNSIGNED_SHORT_5_6_5, sizeof(GLushort), STORAGE_UNSIGNED, true, false, { { 5, 6, 5, 0… 351 …{ GL_UNSIGNED_SHORT_4_4_4_4, sizeof(GLushort), STORAGE_UNSIGNED, true, false, { { 4, 4, 4, … 352 …{ GL_UNSIGNED_SHORT_5_5_5_1, sizeof(GLushort), STORAGE_UNSIGNED, true, false, { { 5, 5, 5, … 360 …{ GL_UNSIGNED_SHORT_5_6_5_REV, sizeof(GLushort), STORAGE_UNSIGNED, true, true, { { 5, 6, 5… 361 …{ GL_UNSIGNED_SHORT_4_4_4_4_REV, sizeof(GLushort), STORAGE_UNSIGNED, true, true, { { 4, 4, … 362 …{ GL_UNSIGNED_SHORT_1_5_5_5_REV, sizeof(GLushort), STORAGE_UNSIGNED, true, true, { { 5, 5, … 371 …{ GL_UNSIGNED_SHORT, sizeof(GLushort), STORAGE_UNSIGNED, false, false, { { 0, 0, 0, 0, 0, … 377 …{ GL_UNSIGNED_SHORT_5_6_5, sizeof(GLushort), STORAGE_UNSIGNED, true, false, { { 5, 6, 5, 0… 378 …{ GL_UNSIGNED_SHORT_4_4_4_4, sizeof(GLushort), STORAGE_UNSIGNED, true, false, { { 4, 4, 4, … [all …]
|
/external/mesa3d/src/mesa/main/ |
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 red, GLushort green, GLushort blue ); 327 _mesa_SecondaryColor3usv( const GLushort *v ); 436 _mesa_VertexAttrib4usv(GLuint index, const GLushort * v); 451 _mesa_VertexAttrib4Nusv(GLuint index, const GLushort * v); 465 _mesa_VertexAttribI4usv(GLuint index, const GLushort *v);
|
D | mipmap.c | 260 const GLushort(*rowA)[4] = (const GLushort(*)[4]) srcRowA; in do_row() 261 const GLushort(*rowB)[4] = (const GLushort(*)[4]) srcRowB; in do_row() 262 GLushort(*dst)[4] = (GLushort(*)[4]) dstRow; in do_row() 273 const GLushort(*rowA)[3] = (const GLushort(*)[3]) srcRowA; in do_row() 274 const GLushort(*rowB)[3] = (const GLushort(*)[3]) srcRowB; in do_row() 275 GLushort(*dst)[3] = (GLushort(*)[3]) dstRow; in do_row() 285 const GLushort(*rowA)[2] = (const GLushort(*)[2]) srcRowA; in do_row() 286 const GLushort(*rowB)[2] = (const GLushort(*)[2]) srcRowB; in do_row() 287 GLushort(*dst)[2] = (GLushort(*)[2]) dstRow; in do_row() 296 const GLushort *rowA = (const GLushort *) srcRowA; in do_row() [all …]
|
D | pack.c | 327 const GLushort *s = (const GLushort *) src; in extract_uint_indexes() 330 GLushort value = s[i]; in extract_uint_indexes() 570 dst[i] = (GLushort) (indexes[i] & 0xffff); in _mesa_unpack_stencil_span() 630 GLushort *dst = (GLushort *) dest; in _mesa_pack_stencil_span() 633 dst[i] = (GLushort) source[i]; in _mesa_pack_stencil_span() 636 _mesa_swap2( (GLushort *) dst, n ); in _mesa_pack_stencil_span() 648 _mesa_swap2( (GLushort *) dst, n ); in _mesa_pack_stencil_span() 697 _mesa_swap2( (GLushort *) dst, n ); in _mesa_pack_stencil_span() 785 GLushort *dst = (GLushort *) dest; in _mesa_unpack_depth_span() 795 const GLushort *src = (const GLushort *) source; in _mesa_unpack_depth_span() [all …]
|
D | image.c | 53 swap2_copy( GLushort *dst, GLushort *src, GLuint n ) in swap2_copy() 62 _mesa_swap2(GLushort *p, GLuint n) in _mesa_swap2() 491 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors() 502 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort)); in _mesa_convert_colors() 523 const GLushort (*src2)[4] = (const GLushort (*)[4]) src; in _mesa_convert_colors() 538 const GLushort (*src2)[4] = (const GLushort (*)[4]) src; in _mesa_convert_colors() 568 GLushort (*dst2)[4] = (GLushort (*)[4]) (useTemp ? tempBuffer : dst); in _mesa_convert_colors() 580 memcpy(dst, tempBuffer, count * 4 * sizeof(GLushort)); in _mesa_convert_colors() 1010 swap2_copy((GLushort *)dstrow, (GLushort *)srcrow, width * swapsPerPixel); in _mesa_swap_bytes_2d_image()
|
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 );
|
D | api_arrayelt.c | 369 VertexAttrib1NusvNV(GLuint index, const GLushort *v) in VertexAttrib1NusvNV() 375 VertexAttrib1usvNV(GLuint index, const GLushort *v) in VertexAttrib1usvNV() 381 VertexAttrib2NusvNV(GLuint index, const GLushort *v) in VertexAttrib2NusvNV() 388 VertexAttrib2usvNV(GLuint index, const GLushort *v) in VertexAttrib2usvNV() 395 VertexAttrib3NusvNV(GLuint index, const GLushort *v) in VertexAttrib3NusvNV() 403 VertexAttrib3usvNV(GLuint index, const GLushort *v) in VertexAttrib3usvNV() 410 VertexAttrib4NusvNV(GLuint index, const GLushort *v) in VertexAttrib4NusvNV() 419 VertexAttrib4usvNV(GLuint index, const GLushort *v) in VertexAttrib4usvNV() 889 VertexAttrib1NusvARB(GLuint index, const GLushort *v) in VertexAttrib1NusvARB() 895 VertexAttrib1usvARB(GLuint index, const GLushort *v) in VertexAttrib1usvARB() [all …]
|
D | macros.h | 129 #define BYTE_TO_USHORT(b) ((b) < 0 ? 0 : ((GLushort) (((b) * 65535) / 255))) 130 #define UBYTE_TO_USHORT(b) (((GLushort) (b) << 8) | (GLushort) (b)) 131 #define SHORT_TO_USHORT(s) ((s) < 0 ? 0 : ((GLushort) (((s) * 65535 / 32767)))) 132 #define INT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 15))) 133 #define UINT_TO_USHORT(i) ((i) < 0 ? 0 : ((GLushort) ((i) >> 16))) 135 us = ( (GLushort) _mesa_lroundevenf( CLAMP((f), 0.0F, 1.0F) * 65535.0F) ) 137 us = ( (GLushort) _mesa_lroundevenf( (f) * 65535.0F) )
|
D | pixel.c | 273 _mesa_PixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values ) in _mesa_PixelMapusv() 298 values = (const GLushort *) _mesa_map_pbo_source(ctx, &ctx->Unpack, values); in _mesa_PixelMapusv() 426 _mesa_GetnPixelMapusvARB( GLenum map, GLsizei bufSize, GLushort *values ) in _mesa_GetnPixelMapusvARB() 445 values = (GLushort *) _mesa_map_pbo_dest(ctx, &ctx->Pack, values); in _mesa_GetnPixelMapusvARB() 458 values[i] = (GLushort) CLAMP(ctx->PixelMaps.ItoI.Map[i], 0.0F, 65535.0F); in _mesa_GetnPixelMapusvARB() 463 values[i] = (GLushort) CLAMP(ctx->PixelMaps.StoS.Map[i], 0.0F, 65535.0F); in _mesa_GetnPixelMapusvARB() 477 _mesa_GetPixelMapusv( GLenum map, GLushort *values ) in _mesa_GetPixelMapusv()
|
/external/autotest/client/deps/glbench/src/ |
D | utils.cc | 249 int CreateMesh(GLushort** indices, in CreateMesh() 259 GLushort* iptr = *indices = new GLushort[2 * 3 * (width * height)]; in CreateMesh() 267 GLushort first = (j + j2) * (width + 1) + i; in CreateMesh() 268 GLushort second = first + 1; in CreateMesh() 269 GLushort third = first + (width + 1); in CreateMesh() 270 GLushort fourth = third + 1; in CreateMesh() 283 *size = (iptr - *indices) * sizeof(GLushort); in CreateMesh()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_array.c | 49 EXTRACT_FUNC(GLushort, unsigned, 1); 50 EXTRACT_FUNC(GLushort, float, USHRT_MAX); 78 *extract_u = EXTRACT(GLushort, unsigned); in get_array_extract() 79 *extract_f = EXTRACT(GLushort, float); in get_array_extract()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | IndexDataManager.cpp | 57 memcpy(output, input, count * sizeof(GLushort)); in copyIndices() 83 computeRange(static_cast<const GLushort*>(indices), count, minIndex, maxIndex); in computeRange() 148 case GL_UNSIGNED_SHORT: return sizeof(GLushort); in typeSize() 150 default: UNREACHABLE(type); return sizeof(GLushort); in typeSize()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_tcl.c | 105 #define ELT_TYPE GLushort 141 static GLushort *r200AllocElts( r200ContextPtr rmesa, GLuint nr ) in r200AllocElts() 146 GLushort *dest = (GLushort *)(rmesa->radeon.tcl.elt_dma_bo->ptr + in r200AllocElts() 221 GLushort *des = (GLushort *)( (uintptr_t)dest & ~0x2 ); \ 222 (des)[ off + 1 - 2 * ( off & 1 ) ] = (GLushort)(x); \ 226 (dest)[offset] = (GLushort) (x); \
|
/external/mesa3d/src/gallium/state_trackers/wgl/ |
D | 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); 303 void (GLAPIENTRY * PixelMapusv)(GLenum, GLint, const GLushort *); 323 void (GLAPIENTRY * GetPixelMapusv)(GLenum, GLushort *);
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tcl.c | 111 #define ELT_TYPE GLushort 149 static GLushort *radeonAllocElts( r100ContextPtr rmesa, GLuint nr ) in radeonAllocElts() 213 GLushort *des = (GLushort *)( (uintptr_t)dest & ~0x2 ); \ 214 (des)[ off + 1 - 2 * ( off & 1 ) ] = (GLushort)(x); \ 218 (dest)[offset] = (GLushort) (x); \
|
/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderLayeredFBO.hpp | 363 glw::GLushort m_tex_depth; 364 glw::GLushort m_tex_height; 365 glw::GLushort m_tex_width;
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_line.c | 220 GLushort pixel = PACK_5R6G5B( color[0], color[1], color[2] ); 221 #define PIXEL_TYPE GLushort 238 #define PIXEL_TYPE GLushort 369 GLushort pixel = PACK_5R6G5B( color[0], color[1], color[2] ); 372 #define PIXEL_TYPE GLushort 395 #define PIXEL_TYPE GLushort
|