Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/main/
Dglformats.c84 case GL_SHORT: in _mesa_sizeof_type()
120 case GL_SHORT: in _mesa_sizeof_packed_type()
236 case GL_SHORT: in _mesa_bytes_per_pixel()
395 case GL_SHORT: in _mesa_is_type_integer()
1106 case GL_SHORT: in _mesa_error_check_format_and_type()
1132 case GL_SHORT: in _mesa_error_check_format_and_type()
1151 case GL_SHORT: in _mesa_error_check_format_and_type()
1168 case GL_SHORT: in _mesa_error_check_format_and_type()
1198 case GL_SHORT: in _mesa_error_check_format_and_type()
1217 case GL_SHORT: in _mesa_error_check_format_and_type()
[all …]
Dformats.c2231 *datatype = GL_SHORT; in _mesa_format_to_type_and_comps()
2236 *datatype = GL_SHORT; in _mesa_format_to_type_and_comps()
2240 *datatype = GL_SHORT; in _mesa_format_to_type_and_comps()
2244 *datatype = GL_SHORT; in _mesa_format_to_type_and_comps()
2384 *datatype = GL_SHORT; in _mesa_format_to_type_and_comps()
2388 *datatype = GL_SHORT; in _mesa_format_to_type_and_comps()
2420 *datatype = GL_SHORT; in _mesa_format_to_type_and_comps()
2424 *datatype = GL_SHORT; in _mesa_format_to_type_and_comps()
2428 *datatype = GL_SHORT; in _mesa_format_to_type_and_comps()
2432 *datatype = GL_SHORT; in _mesa_format_to_type_and_comps()
Dpack.c452 case GL_SHORT: in get_type_min_max()
547 case GL_SHORT: in _mesa_pack_rgba_span_from_uints()
934 case GL_SHORT: in _mesa_pack_rgba_span_from_ints()
1800 case GL_SHORT: in _mesa_pack_rgba_span_float()
2783 srcType == GL_SHORT || in extract_uint_indexes()
2858 case GL_SHORT: in extract_uint_indexes()
3171 srcType == GL_SHORT || in extract_float_rgba()
3267 case GL_SHORT: in extract_float_rgba()
3780 srcType == GL_SHORT || in extract_uint_rgba()
3856 case GL_SHORT: in extract_uint_rgba()
[all …]
Dmipmap.c304 else if (datatype == GL_SHORT && comps == 4) { in do_row()
317 else if (datatype == GL_SHORT && comps == 3) { in do_row()
329 else if (datatype == GL_SHORT && comps == 2) { in do_row()
340 else if (datatype == GL_SHORT && comps == 1) { in do_row()
908 else if ((datatype == GL_SHORT) && (comps == 4)) { in do_row_3D()
919 else if ((datatype == GL_SHORT) && (comps == 3)) { in do_row_3D()
929 else if ((datatype == GL_SHORT) && (comps == 2)) { in do_row_3D()
938 else if ((datatype == GL_SHORT) && (comps == 1)) { in do_row_3D()
Dtexgetimage.c58 case GL_SHORT: in type_needs_clamping()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp333 case GL_SHORT: stride = buffer.componentCount * sizeof(GLshort); break; in createRandomBufferData()
377 case GL_SHORT: in createRandomBufferData()
440 case GL_SHORT: scale = (1.0f/((1u<<14)-1)); break; in createProgram()
458 case GL_SHORT: scale = (0.5f/((1u<<14)-1)); break; in createProgram()
486 case GL_SHORT: scale = (1.0f/((1u<<14)-1)); break; in createProgram()
515 case GL_SHORT: scale = (1.0f/((1u<<14)-1)); 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 * 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/mesa3d/src/glx/
Dindirect_vertex_array.c1134 case GL_SHORT: in __indirect_glVertexPointer()
1182 case GL_SHORT: in __indirect_glNormalPointer()
1256 case GL_SHORT: in __indirect_glColorPointer()
1308 case GL_SHORT: in __indirect_glIndexPointer()
1416 case GL_SHORT: in __indirect_glTexCoordPointer()
1437 case GL_SHORT: in __indirect_glTexCoordPointer()
1491 case GL_SHORT: in __indirect_glSecondaryColorPointerEXT()
1602 case GL_SHORT: in __indirect_glVertexAttribPointerARB()
1633 case GL_SHORT: in __indirect_glVertexAttribPointerARB()
1705 case GL_SHORT: in __indirect_glVertexAttribPointerNV()
Dcompsize.c106 case GL_SHORT: in __glBytesPerElement()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c264 case GL_SHORT: return short_types_int[size-1]; in st_pipe_vertex_format()
278 case GL_SHORT: return short_types_norm[size-1]; in st_pipe_vertex_format()
293 case GL_SHORT: return short_types_scale[size-1]; in st_pipe_vertex_format()
Dst_cb_drawpixels.c378 case GL_SHORT: in internal_format()
427 case GL_SHORT: in internal_format()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceUtils.cpp40 case GL_SHORT: return rr::VERTEXATTRIBTYPE_PURE_INT16; in mapGLPureIntegerVertexAttributeType()
100 case GL_SHORT: in mapGLFloatVertexAttributeType()
/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/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c229 case GL_SHORT: return short_types_direct[size]; in get_surface_type()
242 case GL_SHORT: return short_types_norm[size]; in get_surface_type()
265 case GL_SHORT: return short_types_scale[size]; in get_surface_type()
287 case GL_SHORT: return sizeof(GLshort); in get_size()
/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/framework/opengl/
DgluTextureUtil.cpp99 case TextureFormat::SNORM_INT16: type = GL_SHORT; break; in getTransferFormat()
106 case TextureFormat::SIGNED_INT16: type = GL_SHORT; break; in getTransferFormat()
405 case GL_SHORT: return normalized ? TextureFormat::SNORM_INT16 : TextureFormat::SIGNED_INT16; in mapGLChannelType()
DgluDrawUtil.cpp144 case VTX_COMP_SIGNED_INT16: return GL_SHORT; in getVtxCompGLType()
/external/deqp/modules/gles2/performance/
Des2pStateChangeCallTests.cpp891 GL_SHORT, in init()
/external/mesa3d/src/mesa/tnl/
Dt_draw.c197 case GL_SHORT: in _tnl_import_array()
/external/deqp/modules/gles3/performance/
Des3pStateChangeCallTests.cpp953 GL_SHORT, in init()
/external/mesa3d/src/mesa/math/
Dm_translate.c226 #define SRC_IDX TYPE_IDX(GL_SHORT)
/external/mesa3d/include/GLES2/
Dgl2.h237 #define GL_SHORT 0x1402 macro
/external/mesa3d/include/GLES/
Dgl.h316 #define GL_SHORT 0x1402 macro

12