Home
last modified time | relevance | path

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

123

/external/mesa3d/src/mesa/main/
Dformats.c1150 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1155 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1159 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1163 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1274 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1278 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1310 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1314 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1318 *datatype = GL_SHORT; in _mesa_uncompressed_format_to_type_and_comps()
1322 *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()
509 srcType == GL_SHORT || in _mesa_unpack_stencil_span()
656 case GL_SHORT: in _mesa_pack_stencil_span()
859 case GL_SHORT: in _mesa_unpack_depth_span()
1064 case GL_SHORT: in _mesa_pack_depth_span()
1480 dst_is_signed = (dst_type == GL_BYTE || dst_type == GL_SHORT || in _mesa_pack_luminance_from_rgba_integer()
1507 case GL_SHORT: in _mesa_pack_luminance_from_rgba_integer()
1545 case GL_SHORT: in _mesa_pack_luminance_from_rgba_integer()
Dmipmap.c305 else if (datatype == GL_SHORT && comps == 4) { in do_row()
318 else if (datatype == GL_SHORT && comps == 3) { in do_row()
330 else if (datatype == GL_SHORT && comps == 2) { in do_row()
341 else if (datatype == GL_SHORT && comps == 1) { in do_row()
909 else if ((datatype == GL_SHORT) && (comps == 4)) { in do_row_3D()
920 else if ((datatype == GL_SHORT) && (comps == 3)) { in do_row_3D()
930 else if ((datatype == GL_SHORT) && (comps == 2)) { in do_row_3D()
939 else if ((datatype == GL_SHORT) && (comps == 1)) { in do_row_3D()
/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/swiftshader/src/OpenGL/common/
DImage.cpp310 case GL_SHORT: return GL_RGBA16I; in GetSizedInternalFormat()
335 case GL_SHORT: return GL_RGB16I; in GetSizedInternalFormat()
356 case GL_SHORT: return GL_RG16I; in GetSizedInternalFormat()
377 case GL_SHORT: return GL_R16I; in GetSizedInternalFormat()
592 case GL_SHORT: return 2; in ComputePixelSize()
609 case GL_SHORT: return 4; in ComputePixelSize()
628 case GL_SHORT: return 6; in ComputePixelSize()
650 case GL_SHORT: return 8; in ComputePixelSize()
1541 case GL_SHORT: in loadImageData()
1635 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/state_tracker/
Dst_atom_array.c273 case GL_SHORT: return short_types_int[size-1]; in st_pipe_vertex_format()
288 case GL_SHORT: return short_types_norm[size-1]; in st_pipe_vertex_format()
304 case GL_SHORT: return short_types_scale[size-1]; in st_pipe_vertex_format()
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp802 case GL_SHORT: in ValidateTextureFormatType()
985 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_RGBA16I) in ValidateTextureFormatType()
1012 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_RGB16I) in ValidateTextureFormatType()
1035 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_RG16I) in ValidateTextureFormatType()
1058 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_R16I) in ValidateTextureFormatType()
1147 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/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c347 case GL_SHORT: in brw_get_vertex_surface_type()
383 case GL_SHORT: return short_types_norm[size]; in brw_get_vertex_surface_type()
462 case GL_SHORT: return short_types_scale[size]; in brw_get_vertex_surface_type()
/external/swiftshader/src/OpenGL/libGLES_CM/
DVertexDataManager.cpp178 case GL_SHORT: translated[i].type = sw::STREAMTYPE_SHORT; break; in prepareVertexData()
/external/swiftshader/src/OpenGL/libGL/
DVertexDataManager.cpp183 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()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_tex_subimage.c63 type == GL_SHORT || in need_signed_unsigned_int_conversion()
/external/mesa3d/src/mesa/tnl/
Dt_draw.c201 case GL_SHORT: in _tnl_import_array()

123