Home
last modified time | relevance | path

Searched refs:GL_SHORT (Results 1 – 25 of 77) sorted by relevance

1234

/external/mesa3d/src/mesa/main/
Dformats.c1039 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1044 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1048 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1052 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1163 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1167 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1199 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1203 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1207 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1211 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
[all …]
Dglformats.c284 case GL_SHORT: in _mesa_sizeof_type()
321 case GL_SHORT: in _mesa_sizeof_packed_type()
436 case GL_SHORT: in _mesa_bytes_per_pixel()
540 case GL_SHORT: in _mesa_bytes_per_vertex_attrib()
1933 case GL_SHORT: in _mesa_error_check_format_and_type()
1957 case GL_SHORT: in _mesa_error_check_format_and_type()
1974 case GL_SHORT: in _mesa_error_check_format_and_type()
1989 case GL_SHORT: in _mesa_error_check_format_and_type()
2021 case GL_SHORT: in _mesa_error_check_format_and_type()
2037 case GL_SHORT: in _mesa_error_check_format_and_type()
[all …]
Dpack.c265 srcType == GL_SHORT || in extract_uint_indexes()
341 case GL_SHORT: in extract_uint_indexes()
493 srcType == GL_SHORT || in _mesa_unpack_stencil_span()
640 case GL_SHORT: in _mesa_pack_stencil_span()
843 case GL_SHORT: in _mesa_unpack_depth_span()
1048 case GL_SHORT: in _mesa_pack_depth_span()
1463 dst_is_signed = (dst_type == GL_BYTE || dst_type == GL_SHORT || in _mesa_pack_luminance_from_rgba_integer()
1490 case GL_SHORT: in _mesa_pack_luminance_from_rgba_integer()
1528 case GL_SHORT: in _mesa_pack_luminance_from_rgba_integer()
/external/virglrenderer/src/
Dvrend_formats.c115 { VIRGL_FORMAT_R16G16B16A16_SINT, GL_RGBA16I, GL_RGBA_INTEGER, GL_SHORT, NO_SWIZZLE },
125 { VIRGL_FORMAT_R16G16B16X16_SINT, GL_RGBA16I, GL_RGBA_INTEGER, GL_SHORT, RGB1_SWIZZLE },
153 { VIRGL_FORMAT_R16_SINT, GL_R16I, GL_RED_INTEGER, GL_SHORT, NO_SWIZZLE },
154 { VIRGL_FORMAT_R16G16_SINT, GL_RG16I, GL_RG_INTEGER, GL_SHORT, NO_SWIZZLE },
187 { VIRGL_FORMAT_A16_SINT, GL_ALPHA16I_EXT, GL_ALPHA_INTEGER, GL_SHORT, NO_SWIZZLE },
188 { VIRGL_FORMAT_L16_SINT, GL_R16I, GL_RED_INTEGER, GL_SHORT, RRR1_SWIZZLE },
189 …{ VIRGL_FORMAT_L16A16_SINT, GL_LUMINANCE_ALPHA16I_EXT, GL_LUMINANCE_ALPHA_INTEGER_EXT, GL_SHORT, N…
209 { VIRGL_FORMAT_R16_SNORM, GL_R16_SNORM, GL_RED, GL_SHORT, NO_SWIZZLE },
210 { VIRGL_FORMAT_R16G16_SNORM, GL_RG16_SNORM, GL_RG, GL_SHORT, NO_SWIZZLE },
211 { VIRGL_FORMAT_R16G16B16A16_SNORM, GL_RGBA16_SNORM, GL_RGBA, GL_SHORT, NO_SWIZZLE },
[all …]
/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp333 case GL_SHORT: stride = buffer.componentCount * (int)sizeof(GLshort); break; in createRandomBufferData()
377 case GL_SHORT: in createRandomBufferData()
440 case GL_SHORT: scale = (1.0f/float((1u<<14)-1u)); break; in createProgram()
458 case GL_SHORT: scale = (0.5f/float((1u<<14)-1u)); break; in createProgram()
486 case GL_SHORT: scale = (1.0f/float((1u<<14)-1u)); break; in createProgram()
515 case GL_SHORT: scale = (1.0f/float((1u<<14)-1u)); break; in createProgram()
756 BufferSpec shortCoordBuffer48 = { 48, 2*384, 4, 0, 0, GL_SHORT, -32768, 32768, 0.0f, 0.0f }; in init()
763 m_spec.state.attributes[attribNdx].type = GL_SHORT; in init()
781 m_spec.vao.attributes[attribNdx].type = GL_SHORT; in init()
909 case GL_SHORT: stride = buffer.componentCount * (int)sizeof(GLshort); break; in createRandomBufferData()
[all …]
Des3fShaderStateQueryTests.cpp2268 { 1, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
2294 { 1, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
2334 glVertexAttribPointer(0, 1, GL_SHORT, GL_FALSE, 0, DE_NULL); in test()
2338 verifyVertexAttrib(m_testCtx, *this, 0, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_SHORT); in test()
2411 { 2, GL_SHORT, 0, vertexData }, in test()
2412 { 2, GL_SHORT, 1, vertexData }, in test()
2413 { 2, GL_SHORT, 4, vertexData }, in test()
2449 glVertexAttribPointer(0, 1, GL_SHORT, GL_FALSE, 8, DE_NULL); in test()
2489 { 1, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
2497 { 1, GL_SHORT, 0, GL_TRUE, vertexData }, in test()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp256 …{ GL_R16_SNORM, GL_RED, GL_RED, GL_SHORT, SAMPLER_NORM, { {16, 0, 0, 0, 0, 0, 0, 0, N…
260 …{ GL_RG16_SNORM, GL_RG, GL_RG, GL_SHORT, SAMPLER_NORM, { {16,16, 0, 0, 0, 0, 0, 0, NO_…
270 …{ GL_RGB16_SNORM, GL_RGB, GL_RGB, GL_SHORT, SAMPLER_NORM, { {16,16,16, 0, 0, 0, 0, 0, …
284 …{ GL_RGBA16_SNORM, GL_RGBA, GL_RGBA, GL_SHORT, SAMPLER_NORM, { {16,16,16,16, 0, 0, 0, 0,…
303 …{ GL_R16I, GL_RED, GL_RED_INTEGER, GL_SHORT, SAMPLER_INT, { {16, 0, 0, 0, 0, 0, 0, 0, NO_FLAG…
309 …{ GL_RG16I, GL_RG, GL_RG_INTEGER, GL_SHORT, SAMPLER_INT, { {16,16, 0, 0, 0, 0, 0, 0, NO_FLAG …
315 …{ GL_RGB16I, GL_RGB, GL_RGB_INTEGER, GL_SHORT, SAMPLER_INT, { {16,16,16, 0, 0, 0, 0, 0, NO_FLA…
321 …{ GL_RGBA16I, GL_RGBA, GL_RGBA_INTEGER, GL_SHORT, SAMPLER_INT, { {16,16,16,16, 0, 0, 0, 0, NO_FL…
392 …{ GL_R16I, GL_RED, GL_RED_INTEGER, GL_SHORT, SAMPLER_INT, { {16, 0, 0, 0, 0, 0, 0, 0, NO…
398 …{ GL_RG16I, GL_RG, GL_RG_INTEGER, GL_SHORT, SAMPLER_INT, { {16,16, 0, 0, 0, 0, 0, 0, NO_…
[all …]
DglcPackedPixelsTests.cpp162 …{ GL_R16_SNORM, GL_RED, GL_RED, GL_SHORT, SAMPLER_NORM, { {16, 0, 0, 0, 0, …
166 …{ GL_RG16_SNORM, GL_RG, GL_RG, GL_SHORT, SAMPLER_NORM, { {16,16, 0, 0, 0, 0,…
175 …{ GL_RGB16_SNORM, GL_RGB, GL_RGB, GL_SHORT, SAMPLER_NORM, { {16,16,16, 0, 0,…
185 …{ GL_RGBA16_SNORM, GL_RGBA, GL_RGBA, GL_SHORT, SAMPLER_NORM, { {16,16,16,16,…
200 …{ GL_R16I, GL_RED, GL_RED_INTEGER, GL_SHORT, SAMPLER_INT, { {16, 0, 0, 0, 0, …
206 …{ GL_RG16I, GL_RG, GL_RG_INTEGER, GL_SHORT, SAMPLER_INT, { {16,16, 0, 0, 0, 0…
212 …{ GL_RGB16I, GL_RGB, GL_RGB_INTEGER, GL_SHORT, SAMPLER_INT, { {16,16,16, 0, 0,…
218 …{ GL_RGBA16I, GL_RGBA, GL_RGBA_INTEGER, GL_SHORT, SAMPLER_INT, { {16,16,16,16,…
274 …{ GL_R16I, GL_RED, GL_RED_INTEGER, GL_SHORT, SAMPLER_INT, { {16, 0, 0, 0, 0, 0, 0, 0…
280 …{ GL_RG16I, GL_RG, GL_RG_INTEGER, GL_SHORT, SAMPLER_INT, { {16,16, 0, 0, 0, 0, 0, …
[all …]
DglcInternalformatTests.cpp306 else if (type == GL_SHORT) in prepareTexturingProgramSources()
464 colorConversionMap[GL_SHORT] = &convertShort; in generateTextureData()
1535 TF(GL_RED, GL_SHORT, GL_R16_SNORM), in getGLTestData()
1537 TF(GL_RG, GL_SHORT, GL_RG16_SNORM), in getGLTestData()
1539 TF(GL_RGB, GL_SHORT, GL_RGB16_SNORM), in getGLTestData()
1541 TF(GL_RGBA, GL_SHORT, GL_RGBA16_SNORM), in getGLTestData()
1561 TF(GL_RGBA_INTEGER, GL_SHORT, GL_RGBA16I, EXT_texture_integer), in getGLTestData()
1562 TF(GL_RGB_INTEGER, GL_SHORT, GL_RGB16I, EXT_texture_integer), in getGLTestData()
/external/swiftshader/src/OpenGL/common/
DImage.cpp172 case GL_SHORT: return GL_RGBA16I; in GetSizedInternalFormat()
197 case GL_SHORT: return GL_RGB16I; in GetSizedInternalFormat()
218 case GL_SHORT: return GL_RG16I; in GetSizedInternalFormat()
239 case GL_SHORT: return GL_R16I; in GetSizedInternalFormat()
454 case GL_SHORT: return 2; in ComputePixelSize()
471 case GL_SHORT: return 4; in ComputePixelSize()
490 case GL_SHORT: return 6; in ComputePixelSize()
512 case GL_SHORT: return 8; in ComputePixelSize()
1446 case GL_SHORT: in loadImageData()
1540 case GL_SHORT: in loadImageData()
[all …]
/external/mesa3d/src/glx/
Dindirect_vertex_array.c1174 case GL_SHORT: in __indirect_glVertexPointer()
1222 case GL_SHORT: in __indirect_glNormalPointer()
1296 case GL_SHORT: in __indirect_glColorPointer()
1348 case GL_SHORT: in __indirect_glIndexPointer()
1456 case GL_SHORT: in __indirect_glTexCoordPointer()
1477 case GL_SHORT: in __indirect_glTexCoordPointer()
1531 case GL_SHORT: in __indirect_glSecondaryColorPointer()
1651 case GL_SHORT: in __indirect_glVertexAttribPointer()
1682 case GL_SHORT: in __indirect_glVertexAttribPointer()
1753 case GL_SHORT: in __indirect_glVertexAttribPointerNV()
Dcompsize.c116 case GL_SHORT: in __glBytesPerElement()
/external/deqp/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp1529 { 4, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1530 { 3, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1531 { 2, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1532 { 1, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1561 { 1, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1604 { 1, GL_SHORT, 0, vertexData }, in test()
1605 { 1, GL_SHORT, 1, vertexData }, in test()
1606 { 1, GL_SHORT, 4, vertexData }, in test()
1646 { 1, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1650 { 1, GL_SHORT, 0, GL_TRUE, vertexData }, in test()
[all …]
/external/deqp/framework/opengl/simplereference/
DsglrReferenceUtils.cpp40 case GL_SHORT: return rr::VERTEXATTRIBTYPE_PURE_INT16; in mapGLPureIntegerVertexAttributeType()
100 case GL_SHORT: in mapGLFloatVertexAttributeType()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c268 case GL_SHORT: in brw_get_vertex_surface_type()
304 case GL_SHORT: return short_types_norm[size]; in brw_get_vertex_surface_type()
383 case GL_SHORT: return short_types_scale[size]; in brw_get_vertex_surface_type()
/external/deqp/external/openglcts/modules/gles3/
Des3cCopyTexImageConversionsTests.cpp797 DE_ASSERT(type == GL_SHORT); in getR16IPixelData()
1107 DE_ASSERT(type == GL_SHORT); in getRG16IPixelData()
1526 DE_ASSERT(type == GL_SHORT); in getRGB16IPixelData()
2048 DE_ASSERT(type == GL_SHORT); in getRGBA16IPixelData()
3951 …addEntryToConversionDatabase(getR16IPixelData(1, GL_SHORT, texel1[0]), getR16IPixelData(0, GL_INT,… in configureConversionDatabase()
3952 getR16IPixelData(1, GL_SHORT, texel2[0]), getR16IPixelData(0, GL_INT, texel2[0]), in configureConversionDatabase()
3953 getR16IPixelData(1, GL_SHORT, texel3[0]), getR16IPixelData(0, GL_INT, texel3[0]), in configureConversionDatabase()
3954 getR16IPixelData(1, GL_SHORT, texel4[0]), getR16IPixelData(0, GL_INT, texel4[0]), in configureConversionDatabase()
4066 getRG16IPixelData(1, GL_SHORT, texel1[0], texel1[1]), getR16IPixelData(0, GL_INT, texel1[0]), in configureConversionDatabase()
4067 getRG16IPixelData(1, GL_SHORT, texel2[0], texel2[1]), getR16IPixelData(0, GL_INT, texel2[0]), in configureConversionDatabase()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp893 case GL_SHORT: in ValidateTextureFormatType()
1068 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_RGBA16I) in ValidateTextureFormatType()
1095 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_RGB16I) in ValidateTextureFormatType()
1118 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_RG16I) in ValidateTextureFormatType()
1141 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_R16I) in ValidateTextureFormatType()
1230 case GL_SHORT: in GetTypeSize()
DVertexDataManager.cpp189 case GL_SHORT: translated[i].type = sw::STREAMTYPE_SHORT; break; in prepareVertexData()
/external/deqp/external/openglcts/modules/gl/
Dgl3cTextureSwizzleTests.cpp272 GL_SHORT,
324 GL_SHORT,
441 GL_SHORT,
571 GL_SHORT,
766 GL_SHORT,
844 GL_SHORT,
922 GL_SHORT,
1000 GL_SHORT,
1512 else if (GL_SHORT == format.m_type) in calculate_values_from_source()
1675 case GL_SHORT: in calculate_expected_value()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_array.c73 case GL_SHORT: in get_array_extract()
Dnv10_render.c98 case GL_SHORT: in get_hw_format()
/external/mesa3d/src/glx/tests/
Denum_sizes.cpp46 EXPECT_EQ(2, __glCallLists_size(GL_SHORT)); in TEST()
63 case GL_SHORT: in TEST()
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferTextureBufferRange.cpp147 m_input_type = GL_SHORT; in configure()
282 m_input_type = GL_SHORT; in configure()
462 m_input_type = GL_SHORT; in configure()
1368 case GL_SHORT: in fillInputData()
/external/swiftshader/src/OpenGL/libGLES_CM/
DVertexDataManager.cpp178 case GL_SHORT: translated[i].type = sw::STREAMTYPE_SHORT; break; in prepareVertexData()
/external/deqp/framework/opengl/
DgluTextureUtil.cpp100 case TextureFormat::SNORM_INT16: type = GL_SHORT; break; in getTransferFormat()
107 case TextureFormat::SIGNED_INT16: type = GL_SHORT; break; in getTransferFormat()
406 case GL_SHORT: return normalized ? TextureFormat::SNORM_INT16 : TextureFormat::SIGNED_INT16; in mapGLChannelType()

1234