/external/mesa3d/src/mesa/main/ |
D | formats.c | 1125 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1131 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1137 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1263 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1267 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1294 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1298 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1302 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1306 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1419 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() [all …]
|
D | glformats.c | 280 case GL_BYTE: in _mesa_sizeof_type() 317 case GL_BYTE: in _mesa_sizeof_packed_type() 433 case GL_BYTE: in _mesa_bytes_per_pixel() 537 case GL_BYTE: in _mesa_bytes_per_vertex_attrib() 1931 case GL_BYTE: in _mesa_error_check_format_and_type() 1955 case GL_BYTE: in _mesa_error_check_format_and_type() 1972 case GL_BYTE: in _mesa_error_check_format_and_type() 1987 case GL_BYTE: in _mesa_error_check_format_and_type() 2019 case GL_BYTE: in _mesa_error_check_format_and_type() 2035 case GL_BYTE: in _mesa_error_check_format_and_type() [all …]
|
D | pack.c | 263 srcType == GL_BYTE || in extract_uint_indexes() 316 case GL_BYTE: in extract_uint_indexes() 507 srcType == GL_BYTE || in _mesa_unpack_stencil_span() 635 case GL_BYTE: in _mesa_pack_stencil_span() 852 case GL_BYTE: in _mesa_unpack_depth_span() 1043 case GL_BYTE: in _mesa_pack_depth_span() 1480 dst_is_signed = (dst_type == GL_BYTE || dst_type == GL_SHORT || in _mesa_pack_luminance_from_rgba_integer() 1501 case GL_BYTE: in _mesa_pack_luminance_from_rgba_integer() 1538 case GL_BYTE: in _mesa_pack_luminance_from_rgba_integer()
|
D | mipmap.c | 211 else if (datatype == GL_BYTE && comps == 4) { in do_row() 224 else if (datatype == GL_BYTE && comps == 3) { in do_row() 236 else if (datatype == GL_BYTE && comps == 2) { in do_row() 247 else if (datatype == GL_BYTE && comps == 1) { in do_row() 833 else if ((datatype == GL_BYTE) && (comps == 4)) { in do_row_3D() 844 else if ((datatype == GL_BYTE) && (comps == 3)) { in do_row_3D() 854 else if ((datatype == GL_BYTE) && (comps == 2)) { in do_row_3D() 863 else if ((datatype == GL_BYTE) && (comps == 1)) { in do_row_3D() 2077 temp_datatype = GL_BYTE; in generate_mipmap_compressed()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | utilities.cpp | 54 InsertFormatMapping(&map, GL_RGBA, GL_BYTE, GL_RGBA8_SNORM); in BuildFormatMap() 63 InsertFormatMapping(&map, GL_RGBA_INTEGER, GL_BYTE, GL_RGBA8I); in BuildFormatMap() 71 InsertFormatMapping(&map, GL_RGB, GL_BYTE, GL_RGB8_SNORM); in BuildFormatMap() 80 InsertFormatMapping(&map, GL_RGB_INTEGER, GL_BYTE, GL_RGB8I); in BuildFormatMap() 87 InsertFormatMapping(&map, GL_RG, GL_BYTE, GL_RG8_SNORM); in BuildFormatMap() 93 InsertFormatMapping(&map, GL_RG_INTEGER, GL_BYTE, GL_RG8I); in BuildFormatMap() 100 InsertFormatMapping(&map, GL_RED, GL_BYTE, GL_R8_SNORM); in BuildFormatMap() 106 InsertFormatMapping(&map, GL_RED_INTEGER, GL_BYTE, GL_R8I); in BuildFormatMap() 773 case GL_BYTE: in ValidateTextureFormatType() 897 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8_SNORM) in ValidateTextureFormatType() [all …]
|
D | Framebuffer.cpp | 574 case sw::FORMAT_R8I_SNORM: return GL_BYTE; in getImplementationColorReadType() 575 case sw::FORMAT_G8R8I_SNORM: return GL_BYTE; in getImplementationColorReadType() 576 case sw::FORMAT_X8B8G8R8I_SNORM: return GL_BYTE; in getImplementationColorReadType() 577 case sw::FORMAT_A8B8G8R8I_SNORM: return GL_BYTE; in getImplementationColorReadType()
|
D | libGLESv3.cpp | 121 InsertFormatMapping(map, GL_R8_SNORM, GL_RED, GL_BYTE); in BuildFormatMap3D() 126 InsertFormatMapping(map, GL_R8I, GL_RED_INTEGER, GL_BYTE); in BuildFormatMap3D() 132 InsertFormatMapping(map, GL_RG8_SNORM, GL_RG, GL_BYTE); in BuildFormatMap3D() 137 InsertFormatMapping(map, GL_RG8I, GL_RG_INTEGER, GL_BYTE); in BuildFormatMap3D() 146 InsertFormatMapping(map, GL_RGB8_SNORM, GL_RGB, GL_BYTE); in BuildFormatMap3D() 157 InsertFormatMapping(map, GL_RGB8I, GL_RGB_INTEGER, GL_BYTE); in BuildFormatMap3D() 167 InsertFormatMapping(map, GL_RGBA8_SNORM, GL_RGBA, GL_BYTE); in BuildFormatMap3D() 175 InsertFormatMapping(map, GL_RGBA8I, GL_RGBA_INTEGER, GL_BYTE); in BuildFormatMap3D() 198 case GL_BYTE: in ValidateType3D() 273 InsertFormatStorageMapping(map, GL_R8I, GL_BYTE); in BuildFormatMapStorage2D() [all …]
|
D | VertexDataManager.cpp | 187 case GL_BYTE: translated[i].type = sw::STREAMTYPE_SBYTE; break; in prepareVertexData()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexArrayObjectTests.cpp | 335 case GL_BYTE: stride = buffer.componentCount * (int)sizeof(GLbyte); break; in createRandomBufferData() 393 case GL_BYTE: in createRandomBufferData() 444 case GL_BYTE: scale = (1.0f/float((1u<<6)-1u)); break; in createProgram() 462 case GL_BYTE: scale = (0.5f/float((1u<<6)-1u)); break; in createProgram() 490 case GL_BYTE: scale = (1.0f/float((1u<<6)-1u)); break; in createProgram() 519 case GL_BYTE: scale = (1.0f/float((1u<<6)-1u)); break; in createProgram() 911 case GL_BYTE: stride = buffer.componentCount * (int)sizeof(GLbyte); break; in createRandomBufferData() 969 case GL_BYTE: in createRandomBufferData() 1020 case GL_BYTE: scale = (1.0f/float((1u<<6)-1u)); break; in createProgram() 1038 case GL_BYTE: scale = (0.5f/float((1u<<6)-1u)); break; in createProgram() [all …]
|
D | es3fNegativeVertexArrayApiTests.cpp | 132 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()
|
D | es3fShaderStateQueryTests.cpp | 2267 { 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/deqp/modules/gles2/performance/ |
D | es2pDrawCallBatchingTests.cpp | 597 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()
|
/external/deqp/modules/gles2/functional/ |
D | es2fNegativeVertexArrayApiTests.cpp | 96 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()
|
D | es2fShaderStateQueryTests.cpp | 1559 { 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/mesa3d/src/mesa/state_tracker/ |
D | st_atom_array.c | 213 assert((type >= GL_BYTE && type <= GL_DOUBLE) || in st_pipe_vertex_format() 274 case GL_BYTE: return byte_types_int[size-1]; in st_pipe_vertex_format() 289 case GL_BYTE: return byte_types_norm[size-1]; in st_pipe_vertex_format() 305 case GL_BYTE: return byte_types_scale[size-1]; in st_pipe_vertex_format()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceUtils.cpp | 39 case GL_BYTE: return rr::VERTEXATTRIBTYPE_PURE_INT8; in mapGLPureIntegerVertexAttributeType() 92 case GL_BYTE: in mapGLFloatVertexAttributeType()
|
/external/mesa3d/src/glx/ |
D | compsize.c | 127 case GL_BYTE: in __glBytesPerElement()
|
D | indirect_vertex_array.c | 1219 case GL_BYTE: in __indirect_glNormalPointer() 1290 case GL_BYTE: in __indirect_glColorPointer() 1525 case GL_BYTE: in __indirect_glSecondaryColorPointer() 1645 case GL_BYTE: in __indirect_glVertexAttribPointer() 1674 case GL_BYTE: in __indirect_glVertexAttribPointer()
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeVertexArrayApiTests.cpp | 137 ctx.glVertexAttribPointer(maxVertexAttribs, 1, GL_BYTE, GL_TRUE, 0, 0); in vertex_attrib_pointer() 142 ctx.glVertexAttribPointer(0, 0, GL_BYTE, GL_TRUE, 0, 0); in vertex_attrib_pointer() 147 ctx.glVertexAttribPointer(0, 1, GL_BYTE, GL_TRUE, -1, 0); in vertex_attrib_pointer() 170 ctx.glVertexAttribPointer(0, 1, GL_BYTE, GL_TRUE, 0, &offset); in vertex_attrib_pointer() 192 ctx.glVertexAttribIPointer(maxVertexAttribs, 1, GL_BYTE, 0, 0); in vertex_attrib_i_pointer() 197 ctx.glVertexAttribIPointer(0, 0, GL_BYTE, 0, 0); in vertex_attrib_i_pointer() 202 ctx.glVertexAttribIPointer(0, 1, GL_BYTE, -1, 0); in vertex_attrib_i_pointer() 214 ctx.glVertexAttribIPointer(0, 1, GL_BYTE, 0, &offset); in vertex_attrib_i_pointer()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_array.c | 65 case GL_BYTE: in get_array_extract()
|
/external/mesa3d/src/glx/tests/ |
D | enum_sizes.cpp | 44 EXPECT_EQ(1, __glCallLists_size(GL_BYTE)); in TEST() 61 case GL_BYTE: in TEST()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw_upload.c | 352 case GL_BYTE: in brw_get_vertex_surface_type() 384 case GL_BYTE: return byte_types_norm[size]; in brw_get_vertex_surface_type() 463 case GL_BYTE: return byte_types_scale[size]; in brw_get_vertex_surface_type()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | VertexDataManager.cpp | 176 case GL_BYTE: translated[i].type = sw::STREAMTYPE_SBYTE; break; in prepareVertexData()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | VertexDataManager.cpp | 181 case GL_BYTE: translated[i].type = sw::STREAMTYPE_SBYTE; break; in prepareVertexData()
|
/external/deqp/framework/opengl/ |
D | gluTextureUtil.cpp | 99 case TextureFormat::SNORM_INT8: type = GL_BYTE; break; in getTransferFormat() 106 case TextureFormat::SIGNED_INT8: type = GL_BYTE; break; in getTransferFormat() 404 case GL_BYTE: return normalized ? TextureFormat::SNORM_INT8 : TextureFormat::SIGNED_INT8; in mapGLChannelType()
|