/external/virglrenderer/src/ |
D | vrend_formats.c | 71 { VIRGL_FORMAT_R16G16B16X16_UNORM, GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, RGB1_SWIZZLE }, 73 { VIRGL_FORMAT_R16G16B16A16_UNORM, GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, NO_SWIZZLE }, 84 …{ VIRGL_FORMAT_Z16_UNORM, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, NO_SWIZZLE … 98 { VIRGL_FORMAT_A16_UNORM, GL_ALPHA16, GL_ALPHA, GL_UNSIGNED_SHORT, NO_SWIZZLE }, 99 { VIRGL_FORMAT_L16_UNORM, GL_R16, GL_RED, GL_UNSIGNED_SHORT, RRR1_SWIZZLE }, 100 …{ VIRGL_FORMAT_L16A16_UNORM, GL_LUMINANCE16_ALPHA16, GL_LUMINANCE_ALPHA, GL_UNSIGNED_SHORT, NO_SWI… 106 { VIRGL_FORMAT_R16_UNORM, GL_R16, GL_RED, GL_UNSIGNED_SHORT, NO_SWIZZLE }, 107 { VIRGL_FORMAT_R16G16_UNORM, GL_RG16, GL_RG, GL_UNSIGNED_SHORT, NO_SWIZZLE }, 114 { VIRGL_FORMAT_R16G16B16A16_UINT, GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT, NO_SWIZZLE }, 124 { VIRGL_FORMAT_R16G16B16X16_UINT, GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT, RGB1_SWIZZLE }, [all …]
|
/external/mesa3d/src/mesa/main/ |
D | formats.c | 905 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 913 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 966 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 981 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1031 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1132 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1136 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1251 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1255 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() 1259 *datatype = GL_UNSIGNED_SHORT; in _mesa_uncompressed_format_to_type_and_comps() [all …]
|
D | glformats.c | 282 case GL_UNSIGNED_SHORT: in _mesa_sizeof_type() 319 case GL_UNSIGNED_SHORT: in _mesa_sizeof_packed_type() 437 case GL_UNSIGNED_SHORT: in _mesa_bytes_per_pixel() 541 case GL_UNSIGNED_SHORT: in _mesa_bytes_per_vertex_attrib() 954 case GL_UNSIGNED_SHORT: in _mesa_is_type_unsigned() 1934 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type() 1958 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type() 1975 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type() 1990 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type() 2022 case GL_UNSIGNED_SHORT: in _mesa_error_check_format_and_type() [all …]
|
D | pack.c | 264 srcType == GL_UNSIGNED_SHORT || in extract_uint_indexes() 324 case GL_UNSIGNED_SHORT: in extract_uint_indexes() 492 srcType == GL_UNSIGNED_SHORT || in _mesa_unpack_stencil_span() 503 dstType == GL_UNSIGNED_SHORT || in _mesa_unpack_stencil_span() 565 case GL_UNSIGNED_SHORT: in _mesa_unpack_stencil_span() 628 case GL_UNSIGNED_SHORT: in _mesa_pack_stencil_span() 783 if (srcType == GL_UNSIGNED_INT && dstType == GL_UNSIGNED_SHORT) { in _mesa_unpack_depth_span() 792 if (srcType == GL_UNSIGNED_SHORT in _mesa_unpack_depth_span() 847 case GL_UNSIGNED_SHORT: in _mesa_unpack_depth_span() 971 else if (dstType == GL_UNSIGNED_SHORT) { in _mesa_unpack_depth_span() [all …]
|
/external/mesa3d/src/mesa/swrast/ |
D | s_fog.c | 146 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span() 171 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span() 190 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span() 209 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span() 234 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_fog_rgba_span()
|
D | s_alpha.c | 118 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_alpha_test() 140 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { in _swrast_alpha_test()
|
D | s_zoom.c | 165 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) in zoom_span() 220 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) { in zoom_span() 255 else if (zoomed.array->ChanType == GL_UNSIGNED_SHORT) { in zoom_span() 305 ((zoomed.array->ChanType == GL_UNSIGNED_SHORT) ? 4 * sizeof(GLushort) in zoom_span()
|
D | s_blend.c | 84 else if (chanType == GL_UNSIGNED_SHORT) in blend_noop() 176 assert(chanType == GL_UNSIGNED_SHORT); in blend_transparency_ushort() 270 else if (chanType == GL_UNSIGNED_SHORT) { in blend_add() 329 else if (chanType == GL_UNSIGNED_SHORT) { in blend_min() 382 else if (chanType == GL_UNSIGNED_SHORT) { in blend_max() 435 else if (chanType == GL_UNSIGNED_SHORT) { in blend_modulate() 855 else if (chanType == GL_UNSIGNED_SHORT) { in blend_general() 946 else if (chanType == GL_UNSIGNED_SHORT) in _swrast_choose_blend_func()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcTextureRepeatModeTests.cpp | 246 …{ GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_UNORM, … 255 …{ GL_R16, GL_RED, GL_RED, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16, 0, 0, 0, 0, 0, 0, 0,… 259 …{ GL_RG16, GL_RG, GL_RG, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16, 0, 0, 0, 0, 0, 0, … 267 …{ GL_RGB10, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {10,10,10, 0, 0, 0, 0, … 268 …{ GL_RGB12, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {12,12,12, 0, 0, 0, 0, … 269 …{ GL_RGB16, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16,16, 0, 0, 0, 0, … 282 …{ GL_RGBA12, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {12,12,12,12, 0, 0, 0, … 283 …{ GL_RGBA16, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16,16,16, 0, 0, 0, … 304 …{ GL_R16UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16, 0, 0, 0, 0, 0, 0,… 310 …{ GL_RG16UI, GL_RG, GL_RG_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16,16, 0, 0, 0, 0, 0, 0… [all …]
|
D | glcLayoutLocationTests.cpp | 218 return createCubeMap<short>(gl, 1, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT); in create() 224 …exture2D<short>(gl, 1, GL_TEXTURE_2D, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT); in create() 236 …rn createTexture2DArray<short>(gl, 1, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT); in create() 296 …createTexture1D<unsigned char>(gl, 1, GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT); in create() 309 GL_UNSIGNED_SHORT); in create()
|
D | glcPackedPixelsTests.cpp | 155 …{ GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, SAMPLER_U… 161 …{ GL_R16, GL_RED, GL_RED, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16, 0, 0, 0, 0,… 165 …{ GL_RG16, GL_RG, GL_RG, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16, 0, 0, 0, … 172 …{ GL_RGB10, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {10,10,10, 0, … 173 …{ GL_RGB12, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {12,12,12, 0, … 174 …{ GL_RGB16, GL_RGB, GL_RGB, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16,16, 0, … 183 …{ GL_RGBA12, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {12,12,12,12… 184 …{ GL_RGBA16, GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, SAMPLER_UNORM, { {16,16,16,16… 201 …{ GL_R16UI, GL_RED, GL_RED_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16, 0, … 207 …{ GL_RG16UI, GL_RG, GL_RG_INTEGER, GL_UNSIGNED_SHORT, SAMPLER_UINT, { {16,16, 0,… [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexArrayObjectTests.cpp | 273 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break; in generateIndices() 294 case GL_UNSIGNED_SHORT: in generateIndices() 334 case GL_UNSIGNED_SHORT: stride = buffer.componentCount * (int)sizeof(GLushort); break; in createRandomBufferData() 385 case GL_UNSIGNED_SHORT: in createRandomBufferData() 441 case GL_UNSIGNED_SHORT: scale = (1.0f/float((1u<<15)-1u)); break; in createProgram() 459 case GL_UNSIGNED_SHORT: scale = (0.5f/float((1u<<15)-1u)); break; in createProgram() 487 case GL_UNSIGNED_SHORT: scale = (1.0f/float((1u<<15)-1u)); break; in createProgram() 516 case GL_UNSIGNED_SHORT: scale = (1.0f/float((1u<<15)-1u)); break; in createProgram() 849 case GL_UNSIGNED_SHORT: typeSize = sizeof(GLushort); break; in generateIndices() 870 case GL_UNSIGNED_SHORT: in generateIndices() [all …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | IndexDataManager.cpp | 55 else if(type == GL_UNSIGNED_SHORT) in copyIndices() 81 else if(type == GL_UNSIGNED_SHORT) in computeRange() 148 case GL_UNSIGNED_SHORT: return sizeof(GLushort); in typeSize()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDepthRangeTests.cpp | 198 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate() 201 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate() 221 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate() 341 glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate() 367 … glDrawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(quadIndices), GL_UNSIGNED_SHORT, &quadIndices[0]); in iterate()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | Grid.java | 247 GL10.GL_UNSIGNED_SHORT, mIndexBuffer.position(startIndex)); in drawStrip() 251 GL11.GL_UNSIGNED_SHORT, startIndex * CHAR_SIZE); in drawStrip() 265 GL10.GL_UNSIGNED_SHORT, mIndexBuffer); in draw() 277 GL11.GL_UNSIGNED_SHORT, 0); in draw()
|
/external/swiftshader/src/OpenGL/common/ |
D | Image.cpp | 171 case GL_UNSIGNED_SHORT: return GL_RGBA16UI; in GetSizedInternalFormat() 196 case GL_UNSIGNED_SHORT: return GL_RGB16UI; in GetSizedInternalFormat() 217 case GL_UNSIGNED_SHORT: return GL_RG16UI; in GetSizedInternalFormat() 238 case GL_UNSIGNED_SHORT: return GL_R16UI; in GetSizedInternalFormat() 282 case GL_UNSIGNED_SHORT: return GL_DEPTH_COMPONENT16; in GetSizedInternalFormat() 455 case GL_UNSIGNED_SHORT: return 2; in ComputePixelSize() 472 case GL_UNSIGNED_SHORT: return 4; in ComputePixelSize() 491 case GL_UNSIGNED_SHORT: return 6; in ComputePixelSize() 513 case GL_UNSIGNED_SHORT: return 8; in ComputePixelSize() 523 case GL_UNSIGNED_SHORT: return 2; in ComputePixelSize() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderDrawParametersTests.cpp | 407 gl.drawElements(GL_TRIANGLE_STRIP, 4, GL_UNSIGNED_SHORT, (GLvoid*)(2 * sizeof(GLushort))); in drawCommand() 497 gl.drawElementsIndirect(GL_TRIANGLE_STRIP, GL_UNSIGNED_SHORT, (GLvoid*)0); in drawCommand() 549 gl.drawElementsInstanced(GL_TRIANGLE_STRIP, 6, GL_UNSIGNED_SHORT, (GLvoid*)0, 3); in drawCommand() 607 gl.multiDrawElements(GL_TRIANGLE_STRIP, dCount, GL_UNSIGNED_SHORT, dIndices, 2); in drawCommand() 709 gl.multiDrawElementsIndirect(GL_TRIANGLE_STRIP, GL_UNSIGNED_SHORT, (GLvoid*)0, 3, in drawCommand() 854 gl.multiDrawElementsIndirectCount(GL_TRIANGLE_STRIP, GL_UNSIGNED_SHORT, 0, 0, 3, in drawCommand()
|
D | gl3cTextureSwizzleTests.cpp | 259 GL_UNSIGNED_SHORT, 311 GL_UNSIGNED_SHORT, 402 GL_UNSIGNED_SHORT, 415 GL_UNSIGNED_SHORT, 428 GL_UNSIGNED_SHORT, 545 GL_UNSIGNED_SHORT, 558 GL_UNSIGNED_SHORT, 779 GL_UNSIGNED_SHORT, 857 GL_UNSIGNED_SHORT, 935 GL_UNSIGNED_SHORT, [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceUtils.cpp | 37 case GL_UNSIGNED_SHORT: return rr::VERTEXATTRIBTYPE_PURE_UINT16; in mapGLPureIntegerVertexAttributeType() 74 case GL_UNSIGNED_SHORT: in mapGLFloatVertexAttributeType() 172 case GL_UNSIGNED_SHORT: return rr::INDEXTYPE_UINT16; in mapGLIndexType()
|
D | sglrContextUtil.cpp | 104 ctx.drawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(indices), GL_UNSIGNED_SHORT, 0); in drawQuadWithVaoBuffers() 150 ctx.drawElements(GL_TRIANGLES, DE_LENGTH_OF_ARRAY(indices), GL_UNSIGNED_SHORT, &indices[0]); in drawQuadWithClientPointers()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | IndexDataManager.cpp | 59 else if(type == GL_UNSIGNED_SHORT) in copyIndices() 85 case GL_UNSIGNED_SHORT: in copyIndices() 223 else if(type == GL_UNSIGNED_SHORT) in computeRange() 367 case GL_UNSIGNED_SHORT: return sizeof(GLushort); in typeSize()
|
D | utilities.cpp | 642 case GL_UNSIGNED_SHORT: in ValidateReadPixelsFormatType() 889 case GL_UNSIGNED_SHORT: // GL_OES_depth_texture in ValidateTextureFormatType() 1000 case GL_UNSIGNED_SHORT: // GL_OES_depth_texture in ValidateTextureFormatType() 1067 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_RGBA16UI) in ValidateTextureFormatType() 1094 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_RGB16UI) in ValidateTextureFormatType() 1117 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_RG16UI) in ValidateTextureFormatType() 1140 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_R16UI) in ValidateTextureFormatType() 1150 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_DEPTH_COMPONENT16) in ValidateTextureFormatType() 1229 case GL_UNSIGNED_SHORT: in GetTypeSize() 1375 case GL_UNSIGNED_SHORT: return sw::FORMAT_D16; in ConvertReadFormatType() [all …]
|
/external/autotest/client/deps/glbench/src/ |
D | testbase.cc | 223 glDrawElements(GL_TRIANGLES, count_, GL_UNSIGNED_SHORT, 0); in TestFunc() 226 glDrawElements(GL_TRIANGLES, count_, GL_UNSIGNED_SHORT, 0); in TestFunc()
|
/external/mesa3d/src/mesa/drivers/osmesa/ |
D | osmesa.c | 463 else if (osmesa->DataType == GL_UNSIGNED_SHORT) { in osmesa_renderbuffer_storage() 477 else if (osmesa->DataType == GL_UNSIGNED_SHORT) { in osmesa_renderbuffer_storage() 493 else if (osmesa->DataType == GL_UNSIGNED_SHORT) { in osmesa_renderbuffer_storage() 506 else if (osmesa->DataType == GL_UNSIGNED_SHORT) { in osmesa_renderbuffer_storage() 519 else if (osmesa->DataType == GL_UNSIGNED_SHORT) { in osmesa_renderbuffer_storage() 1011 (type == GL_UNSIGNED_SHORT && CHAN_BITS >= 16) || in OSMesaMakeCurrent()
|
/external/mesa3d/src/gallium/state_trackers/osmesa/ |
D | osmesa.c | 199 else if (type == GL_UNSIGNED_SHORT) { in osmesa_choose_format() 216 else if (type == GL_UNSIGNED_SHORT) { in osmesa_choose_format() 233 else if (type == GL_UNSIGNED_SHORT) { in osmesa_choose_format() 247 else if (type == GL_UNSIGNED_SHORT) { in osmesa_choose_format()
|