/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/common/ |
D | Image.cpp | 295 case GL_BYTE: return GL_RGBA8_SNORM; in GetSizedInternalFormat() 308 case GL_BYTE: return GL_RGBA8I; in GetSizedInternalFormat() 320 case GL_BYTE: return GL_RGB8_SNORM; in GetSizedInternalFormat() 333 case GL_BYTE: return GL_RGB8I; in GetSizedInternalFormat() 344 case GL_BYTE: return GL_RG8_SNORM; in GetSizedInternalFormat() 354 case GL_BYTE: return GL_RG8I; in GetSizedInternalFormat() 365 case GL_BYTE: return GL_R8_SNORM; in GetSizedInternalFormat() 375 case GL_BYTE: return GL_R8I; in GetSizedInternalFormat() 587 case GL_BYTE: return 1; in ComputePixelSize() 604 case GL_BYTE: return 2; in ComputePixelSize() [all …]
|
/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()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | utilities.cpp | 801 case GL_BYTE: in ValidateTextureFormatType() 969 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8_SNORM) in ValidateTextureFormatType() 983 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8I) in ValidateTextureFormatType() 996 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGB8_SNORM) in ValidateTextureFormatType() 1010 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGB8I) in ValidateTextureFormatType() 1022 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RG8_SNORM) in ValidateTextureFormatType() 1033 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RG8I) in ValidateTextureFormatType() 1045 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_R8_SNORM) in ValidateTextureFormatType() 1056 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_R8I) in ValidateTextureFormatType() 1140 case GL_BYTE: in GetTypeSize()
|
D | VertexDataManager.cpp | 187 case GL_BYTE: translated[i].type = sw::STREAMTYPE_SBYTE; break; in prepareVertexData()
|
/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()
|
/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/deqp/external/openglcts/modules/gl/ |
D | gl4cDirectStateAccessVertexArraysTests.cpp | 1822 is_ok &= PrepareVAO<glw::GLbyte>(i, GL_BYTE, false, ATTRIBUTE_FORMAT_FUNCTION_FLOAT); in iterate() 1827 is_ok &= PrepareVAO<glw::GLbyte>(i, GL_BYTE, true, ATTRIBUTE_FORMAT_FUNCTION_FLOAT); in iterate() 1875 is_ok &= PrepareVAO<glw::GLbyte>(i, GL_BYTE, false, ATTRIBUTE_FORMAT_FUNCTION_INTEGER); in iterate() 3666 is_ok &= Check(GL_VERTEX_ATTRIB_ARRAY_TYPE, 0, GL_BYTE); in iterate() 3769 gl.vertexAttribPointer(0, 1, GL_BYTE, GL_TRUE, 0, NULL); in PrepareVAO() 4753 static const glw::GLenum accepted_types[] = { GL_BYTE, in iterate() 4802 gl.vertexArrayAttribFormat(vao, max_vertex_attribs, 1, GL_BYTE, GL_FALSE, 0); in iterate() 4807 gl.vertexArrayAttribFormat(vao, max_vertex_attribs + 1, 1, GL_BYTE, GL_FALSE, 0); in iterate() 4812 gl.vertexArrayAttribIFormat(vao, max_vertex_attribs, 1, GL_BYTE, 0); in iterate() 4817 gl.vertexArrayAttribIFormat(vao, max_vertex_attribs + 1, 1, GL_BYTE, 0); in iterate() [all …]
|
D | gl3cTextureSwizzleTests.cpp | 246 GL_BYTE, 298 GL_BYTE, 389 GL_BYTE, 506 GL_BYTE, 740 GL_BYTE, 818 GL_BYTE, 896 GL_BYTE, 974 GL_BYTE, 1484 else if (GL_BYTE == format.m_type) in calculate_values_from_source() 1657 case GL_BYTE: in calculate_expected_value() [all …]
|
/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/deqp/external/openglcts/modules/glesext/texture_buffer/ |
D | esextcTextureBufferTextureBufferRange.cpp | 132 m_input_type = GL_BYTE; in configure() 267 m_input_type = GL_BYTE; in configure() 447 m_input_type = GL_BYTE; in configure() 1377 case GL_BYTE: in fillInputData()
|
/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()
|