Home
last modified time | relevance | path

Searched refs:GL_BYTE (Results 1 – 25 of 45) sorted by relevance

12

/external/mesa3d/src/mesa/main/
Dglformats.c80 case GL_BYTE: in _mesa_sizeof_type()
116 case GL_BYTE: in _mesa_sizeof_packed_type()
233 case GL_BYTE: in _mesa_bytes_per_pixel()
397 case GL_BYTE: in _mesa_is_type_integer()
1104 case GL_BYTE: in _mesa_error_check_format_and_type()
1130 case GL_BYTE: in _mesa_error_check_format_and_type()
1149 case GL_BYTE: in _mesa_error_check_format_and_type()
1166 case GL_BYTE: in _mesa_error_check_format_and_type()
1196 case GL_BYTE: in _mesa_error_check_format_and_type()
1215 case GL_BYTE: in _mesa_error_check_format_and_type()
[all …]
Dformats.c2199 *datatype = GL_BYTE; in _mesa_format_to_type_and_comps()
2207 *datatype = GL_BYTE; in _mesa_format_to_type_and_comps()
2212 *datatype = GL_BYTE; in _mesa_format_to_type_and_comps()
2218 *datatype = GL_BYTE; in _mesa_format_to_type_and_comps()
2373 *datatype = GL_BYTE; in _mesa_format_to_type_and_comps()
2377 *datatype = GL_BYTE; in _mesa_format_to_type_and_comps()
2404 *datatype = GL_BYTE; in _mesa_format_to_type_and_comps()
2408 *datatype = GL_BYTE; in _mesa_format_to_type_and_comps()
2412 *datatype = GL_BYTE; in _mesa_format_to_type_and_comps()
2416 *datatype = GL_BYTE; in _mesa_format_to_type_and_comps()
[all …]
Dpack.c444 case GL_BYTE: in get_type_min_max()
553 case GL_BYTE: in _mesa_pack_rgba_span_from_uints()
940 case GL_BYTE: in _mesa_pack_rgba_span_from_ints()
1486 case GL_BYTE: in _mesa_pack_rgba_span_float()
2781 srcType == GL_BYTE || in extract_uint_indexes()
2833 case GL_BYTE: in extract_uint_indexes()
3169 srcType == GL_BYTE || in extract_float_rgba()
3255 case GL_BYTE: in extract_float_rgba()
3778 srcType == GL_BYTE || in extract_uint_rgba()
3844 case GL_BYTE: in extract_uint_rgba()
[all …]
Dmipmap.c210 else if (datatype == GL_BYTE && comps == 4) { in do_row()
223 else if (datatype == GL_BYTE && comps == 3) { in do_row()
235 else if (datatype == GL_BYTE && comps == 2) { in do_row()
246 else if (datatype == GL_BYTE && comps == 1) { in do_row()
832 else if ((datatype == GL_BYTE) && (comps == 4)) { in do_row_3D()
843 else if ((datatype == GL_BYTE) && (comps == 3)) { in do_row_3D()
853 else if ((datatype == GL_BYTE) && (comps == 2)) { in do_row_3D()
862 else if ((datatype == GL_BYTE) && (comps == 1)) { in do_row_3D()
2044 temp_datatype = GL_BYTE; in generate_mipmap_compressed()
Dtexstore.c803 case GL_BYTE: in type_mapping()
828 case GL_BYTE: in byteswap_mapping()
2354 if (!srcPacking->SwapBytes && srcType == GL_BYTE && in _mesa_texstore_dudv8()
2363 else if (srcType == GL_BYTE) { in _mesa_texstore_dudv8()
2445 srcType == GL_BYTE) { in _mesa_texstore_snorm8()
2498 srcType == GL_BYTE && in _mesa_texstore_snorm88()
3184 srcType == GL_BYTE) { in _mesa_texstore_rgba_int8()
/external/deqp/modules/gles3/functional/
Des3fVertexArrayObjectTests.cpp335 case GL_BYTE: stride = buffer.componentCount * sizeof(GLbyte); break; in createRandomBufferData()
393 case GL_BYTE: in createRandomBufferData()
444 case GL_BYTE: scale = (1.0f/((1u<<6)-1)); break; in createProgram()
462 case GL_BYTE: scale = (0.5f/((1u<<6)-1)); break; in createProgram()
490 case GL_BYTE: scale = (1.0f/((1u<<6)-1)); break; in createProgram()
519 case GL_BYTE: scale = (1.0f/((1u<<6)-1)); break; in createProgram()
911 case GL_BYTE: stride = buffer.componentCount * sizeof(GLbyte); break; in createRandomBufferData()
969 case GL_BYTE: in createRandomBufferData()
1020 case GL_BYTE: scale = (1.0f/((1u<<6)-1)); break; in createProgram()
1038 case GL_BYTE: scale = (0.5f/((1u<<6)-1)); break; in createProgram()
[all …]
Des3fNegativeVertexArrayApiTests.cpp132 glVertexAttribPointer(maxVertexAttribs, 1, GL_BYTE, GL_TRUE, 0, 0); in init()
137 glVertexAttribPointer(0, 0, GL_BYTE, GL_TRUE, 0, 0); in init()
142 glVertexAttribPointer(0, 1, GL_BYTE, GL_TRUE, -1, 0); in init()
165 glVertexAttribPointer(0, 1, GL_BYTE, GL_TRUE, 0, &offset); in init()
186 glVertexAttribIPointer(maxVertexAttribs, 1, GL_BYTE, 0, 0); in init()
191 glVertexAttribIPointer(0, 0, GL_BYTE, 0, 0); in init()
196 glVertexAttribIPointer(0, 1, GL_BYTE, -1, 0); in init()
208 glVertexAttribIPointer(0, 1, GL_BYTE, 0, &offset); in init()
Des3fShaderStateQueryTests.cpp2267 { 1, GL_BYTE, 0, GL_FALSE, vertexData }, in test()
2293 { 1, GL_BYTE, 0, GL_FALSE, vertexData }, in test()
2488 { 1, GL_BYTE, 0, GL_FALSE, vertexData }, in test()
2496 { 1, GL_BYTE, 0, GL_TRUE, vertexData }, in test()
2519 { 1, GL_BYTE, 0, GL_FALSE, vertexData }, in test()
2599 { 1, GL_BYTE, 0, GL_FALSE, vertexData }, in test()
2625 { 1, GL_BYTE, 0, GL_FALSE, vertexData }, in test()
2891 { 1, GL_BYTE, 0, GL_FALSE, &vertexData[2] }, in test()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_array.c214 assert((type >= GL_BYTE && type <= GL_DOUBLE) || in st_pipe_vertex_format()
265 case GL_BYTE: return byte_types_int[size-1]; in st_pipe_vertex_format()
279 case GL_BYTE: return byte_types_norm[size-1]; in st_pipe_vertex_format()
294 case GL_BYTE: return byte_types_scale[size-1]; in st_pipe_vertex_format()
/external/deqp/modules/gles2/performance/
Des2pDrawCallBatchingTests.cpp597 gl.vertexAttribPointer(location, 4, GL_BYTE, GL_TRUE, 0, NULL); in renderUnbatched()
601 … gl.vertexAttribPointer(location, 4, GL_BYTE, GL_TRUE, 0, &(m_staticAttributeDatas[attribNdx][0])); in renderUnbatched()
629 gl.vertexAttribPointer(dynamicAttributeLocations[attribNdx], 4, GL_BYTE, GL_TRUE, 0, NULL); in renderUnbatched()
633 …gl.vertexAttribPointer(dynamicAttributeLocations[attribNdx], 4, GL_BYTE, GL_TRUE, 0, &(m_dynamicAt… in renderUnbatched()
703 gl.vertexAttribPointer(location, 4, GL_BYTE, GL_TRUE, 0, NULL); in renderBatched()
707 … gl.vertexAttribPointer(location, 4, GL_BYTE, GL_TRUE, 0, &(m_staticAttributeDatas[attribNdx][0])); in renderBatched()
733 gl.vertexAttribPointer(dynamicAttributeLocations[attribute], 4, GL_BYTE, GL_TRUE, 0, NULL); in renderBatched()
737 …gl.vertexAttribPointer(dynamicAttributeLocations[attribute], 4, GL_BYTE, GL_TRUE, 0, &(m_dynamicAt… in renderBatched()
Des2pStateChangeCallTests.cpp889 GL_BYTE, in init()
/external/deqp/modules/gles2/functional/
Des2fNegativeVertexArrayApiTests.cpp96 glVertexAttribPointer(maxVertexAttribs, 1, GL_BYTE, GL_TRUE, 0, 0); in init()
101 glVertexAttribPointer(0, 0, GL_BYTE, GL_TRUE, 0, 0); in init()
106 glVertexAttribPointer(0, 1, GL_BYTE, GL_TRUE, -1, 0); in init()
Des2fShaderStateQueryTests.cpp1559 { 1, GL_BYTE, 0, GL_FALSE, vertexData }, in test()
1610 { 1, GL_BYTE, 0, vertexData }, in test()
1645 { 1, GL_BYTE, 0, GL_FALSE, vertexData }, in test()
1649 { 1, GL_BYTE, 0, GL_TRUE, vertexData }, in test()
1732 { 1, GL_BYTE, 0, GL_FALSE, &vertexData[2] }, in test()
/external/deqp/modules/gles31/functional/
Des31fNegativeVertexArrayApiTests.cpp127 ctx.glVertexAttribPointer(maxVertexAttribs, 1, GL_BYTE, GL_TRUE, 0, 0); in vertex_attrib_pointer()
132 ctx.glVertexAttribPointer(0, 0, GL_BYTE, GL_TRUE, 0, 0); in vertex_attrib_pointer()
137 ctx.glVertexAttribPointer(0, 1, GL_BYTE, GL_TRUE, -1, 0); in vertex_attrib_pointer()
160 ctx.glVertexAttribPointer(0, 1, GL_BYTE, GL_TRUE, 0, &offset); in vertex_attrib_pointer()
182 ctx.glVertexAttribIPointer(maxVertexAttribs, 1, GL_BYTE, 0, 0); in vertex_attrib_i_pointer()
187 ctx.glVertexAttribIPointer(0, 0, GL_BYTE, 0, 0); in vertex_attrib_i_pointer()
192 ctx.glVertexAttribIPointer(0, 1, GL_BYTE, -1, 0); in vertex_attrib_i_pointer()
204 ctx.glVertexAttribIPointer(0, 1, GL_BYTE, 0, &offset); in vertex_attrib_i_pointer()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceUtils.cpp39 case GL_BYTE: return rr::VERTEXATTRIBTYPE_PURE_INT8; in mapGLPureIntegerVertexAttributeType()
92 case GL_BYTE: in mapGLFloatVertexAttributeType()
/external/mesa3d/src/glx/
Dcompsize.c117 case GL_BYTE: in __glBytesPerElement()
Dindirect_vertex_array.c1179 case GL_BYTE: in __indirect_glNormalPointer()
1250 case GL_BYTE: in __indirect_glColorPointer()
1485 case GL_BYTE: in __indirect_glSecondaryColorPointerEXT()
1596 case GL_BYTE: in __indirect_glVertexAttribPointerARB()
1625 case GL_BYTE: in __indirect_glVertexAttribPointerARB()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_draw_upload.c230 case GL_BYTE: return byte_types_direct[size]; in get_surface_type()
243 case GL_BYTE: return byte_types_norm[size]; in get_surface_type()
266 case GL_BYTE: return byte_types_scale[size]; in get_surface_type()
288 case GL_BYTE: return sizeof(GLbyte); in get_size()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_array.c65 case GL_BYTE: in get_array_extract()
/external/mesa3d/src/glx/tests/
Denum_sizes.cpp44 EXPECT_EQ(1, __glCallLists_size(GL_BYTE)); in TEST()
61 case GL_BYTE: in TEST()
/external/deqp/framework/opengl/
DgluTextureUtil.cpp98 case TextureFormat::SNORM_INT8: type = GL_BYTE; break; in getTransferFormat()
105 case TextureFormat::SIGNED_INT8: type = GL_BYTE; break; in getTransferFormat()
403 case GL_BYTE: return normalized ? TextureFormat::SNORM_INT8 : TextureFormat::SIGNED_INT8; in mapGLChannelType()
DgluDrawUtil.cpp143 case VTX_COMP_SIGNED_INT8: return GL_BYTE; in getVtxCompGLType()
/external/mesa3d/docs/
DMESA_texture_signed_rgba.spec113 Also, it is ok to store incoming GL_BYTE user data as-is, without
/external/mesa3d/src/mesa/tnl/
Dt_draw.c185 case GL_BYTE: in _tnl_import_array()
/external/deqp/modules/gles3/performance/
Des3pStateChangeCallTests.cpp951 GL_BYTE, in init()

12