/external/virglrenderer/src/ |
D | vrend_formats.c | 112 { VIRGL_FORMAT_R8G8B8A8_SINT, GL_RGBA8I, GL_RGBA_INTEGER, GL_BYTE, NO_SWIZZLE }, 123 { VIRGL_FORMAT_R8G8B8X8_SINT, GL_RGBA8I, GL_RGBA_INTEGER, GL_BYTE, RGB1_SWIZZLE }, 148 { VIRGL_FORMAT_R8_SINT, GL_R8I, GL_RED_INTEGER, GL_BYTE, NO_SWIZZLE }, 149 { VIRGL_FORMAT_R8G8_SINT, GL_RG8I, GL_RG_INTEGER, GL_BYTE, NO_SWIZZLE }, 179 { VIRGL_FORMAT_A8_SINT, GL_ALPHA8I_EXT, GL_ALPHA_INTEGER, GL_BYTE, NO_SWIZZLE }, 180 { VIRGL_FORMAT_L8_SINT, GL_R8I, GL_RED_INTEGER, GL_BYTE, RRR1_SWIZZLE }, 181 …{ VIRGL_FORMAT_L8A8_SINT, GL_LUMINANCE_ALPHA8I_EXT, GL_LUMINANCE_ALPHA_INTEGER_EXT, GL_BYTE, NO_SW… 203 { VIRGL_FORMAT_R8_SNORM, GL_R8_SNORM, GL_RED, GL_BYTE, NO_SWIZZLE }, 204 { VIRGL_FORMAT_R8G8_SNORM, GL_RG8_SNORM, GL_RG, GL_BYTE, NO_SWIZZLE }, 206 { VIRGL_FORMAT_R8G8B8A8_SNORM, GL_RGBA8_SNORM, GL_RGBA, GL_BYTE, NO_SWIZZLE }, [all …]
|
/external/mesa3d/src/mesa/main/ |
D | formats.c | 1014 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1020 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1026 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1152 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1156 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1183 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1187 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1191 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1195 *datatype = GL_BYTE; in _mesa_uncompressed_format_to_type_and_comps() 1308 *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() 491 srcType == GL_BYTE || in _mesa_unpack_stencil_span() 619 case GL_BYTE: in _mesa_pack_stencil_span() 836 case GL_BYTE: in _mesa_unpack_depth_span() 1027 case GL_BYTE: in _mesa_pack_depth_span() 1463 dst_is_signed = (dst_type == GL_BYTE || dst_type == GL_SHORT || in _mesa_pack_luminance_from_rgba_integer() 1484 case GL_BYTE: in _mesa_pack_luminance_from_rgba_integer() 1521 case GL_BYTE: in _mesa_pack_luminance_from_rgba_integer()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcTextureRepeatModeTests.cpp | 254 …{ GL_R8_SNORM, GL_RED, GL_RED, GL_BYTE, SAMPLER_NORM, { { 8, 0, 0, 0, 0, 0, 0, 0, NO_… 258 …{ GL_RG8_SNORM, GL_RG, GL_RG, GL_BYTE, SAMPLER_NORM, { { 8, 8, 0, 0, 0, 0, 0, 0, NO_F… 266 …{ GL_RGB8_SNORM, GL_RGB, GL_RGB, GL_BYTE, SAMPLER_NORM, { { 8, 8, 8, 0, 0, 0, 0, 0, NO… 277 …{ GL_RGBA8_SNORM, GL_RGBA, GL_RGBA, GL_BYTE, SAMPLER_NORM, { { 8, 8, 8, 8, 0, 0, 0, 0, N… 301 …{ GL_R8I, GL_RED, GL_RED_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 0, 0, 0, 0, 0, 0, 0, NO_FLAG }… 307 …{ GL_RG8I, GL_RG, GL_RG_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 8, 0, 0, 0, 0, 0, 0, NO_FLAG } … 313 …{ GL_RGB8I, GL_RGB, GL_RGB_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 8, 8, 0, 0, 0, 0, 0, NO_FLAG… 319 …{ GL_RGBA8I, GL_RGBA, GL_RGBA_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 8, 8, 8, 0, 0, 0, 0, NO_FLAG… 342 …{ GL_COMPRESSED_SIGNED_RED_RGTC1, GL_RED, GL_RED, GL_BYTE, SAMPLER_NORM, { { 8, 0, 0, 0, 0… 344 …{ GL_COMPRESSED_SIGNED_RG_RGTC2, GL_RG, GL_RG, GL_BYTE, SAMPLER_NORM, { { 8, 8, 0, 0, 0, … [all …]
|
D | glcPackedPixelsTests.cpp | 160 …{ GL_R8_SNORM, GL_RED, GL_RED, GL_BYTE, SAMPLER_NORM, { { 8, 0, 0, 0, 0, 0,… 164 …{ GL_RG8_SNORM, GL_RG, GL_RG, GL_BYTE, SAMPLER_NORM, { { 8, 8, 0, 0, 0, 0, … 171 …{ GL_RGB8_SNORM, GL_RGB, GL_RGB, GL_BYTE, SAMPLER_NORM, { { 8, 8, 8, 0, 0, 0… 180 …{ GL_RGBA8_SNORM, GL_RGBA, GL_RGBA, GL_BYTE, SAMPLER_NORM, { { 8, 8, 8, 8, 0… 198 …{ GL_R8I, GL_RED, GL_RED_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 0, 0, 0, 0, 0,… 204 …{ GL_RG8I, GL_RG, GL_RG_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 8, 0, 0, 0, 0, … 210 …{ GL_RGB8I, GL_RGB, GL_RGB_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 8, 8, 0, 0, … 216 …{ GL_RGBA8I, GL_RGBA, GL_RGBA_INTEGER, GL_BYTE, SAMPLER_INT, { { 8, 8, 8, 8, 0… 235 …{ GL_COMPRESSED_SIGNED_RED_RGTC1, GL_RED, GL_RED, GL_BYTE, SAMPLER_NORM, { { 8, 0… 237 …{ GL_COMPRESSED_SIGNED_RG_RGTC2, GL_RG, GL_RG, GL_BYTE, SAMPLER_NORM, { { 8, 8, … [all …]
|
D | glcInternalformatTests.cpp | 296 if (type == GL_BYTE) in prepareTexturingProgramSources() 460 colorConversionMap[GL_BYTE] = &convertByte; in generateTextureData() 1534 TF(GL_RED, GL_BYTE, GL_R8_SNORM), in getGLTestData() 1536 TF(GL_RG, GL_BYTE, GL_RG8_SNORM), in getGLTestData() 1538 TF(GL_RGB, GL_BYTE, GL_RGB8_SNORM), in getGLTestData() 1540 TF(GL_RGBA, GL_BYTE, GL_RGBA8_SNORM), in getGLTestData() 1563 TF(GL_RGBA_INTEGER, GL_BYTE, GL_RGBA8I, EXT_texture_integer), in getGLTestData() 1564 TF(GL_RGB_INTEGER, GL_BYTE, GL_RGB8I, EXT_texture_integer), in getGLTestData()
|
/external/swiftshader/src/OpenGL/common/ |
D | Image.cpp | 157 case GL_BYTE: return GL_RGBA8_SNORM; in GetSizedInternalFormat() 170 case GL_BYTE: return GL_RGBA8I; in GetSizedInternalFormat() 182 case GL_BYTE: return GL_RGB8_SNORM; in GetSizedInternalFormat() 195 case GL_BYTE: return GL_RGB8I; in GetSizedInternalFormat() 206 case GL_BYTE: return GL_RG8_SNORM; in GetSizedInternalFormat() 216 case GL_BYTE: return GL_RG8I; in GetSizedInternalFormat() 227 case GL_BYTE: return GL_R8_SNORM; in GetSizedInternalFormat() 237 case GL_BYTE: return GL_R8I; in GetSizedInternalFormat() 449 case GL_BYTE: return 1; in ComputePixelSize() 466 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/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/swiftshader/src/OpenGL/libGLESv2/ |
D | utilities.cpp | 892 case GL_BYTE: in ValidateTextureFormatType() 1052 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8_SNORM) in ValidateTextureFormatType() 1066 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8I) in ValidateTextureFormatType() 1079 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGB8_SNORM) in ValidateTextureFormatType() 1093 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGB8I) in ValidateTextureFormatType() 1105 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RG8_SNORM) in ValidateTextureFormatType() 1116 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RG8I) in ValidateTextureFormatType() 1128 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_R8_SNORM) in ValidateTextureFormatType() 1139 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_R8I) in ValidateTextureFormatType() 1223 case GL_BYTE: in GetTypeSize()
|
/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/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_draw_upload.c | 273 case GL_BYTE: in brw_get_vertex_surface_type() 305 case GL_BYTE: return byte_types_norm[size]; in brw_get_vertex_surface_type() 384 case GL_BYTE: return byte_types_scale[size]; in brw_get_vertex_surface_type()
|
/external/deqp/external/openglcts/modules/gles3/ |
D | es3cCopyTexImageConversionsTests.cpp | 974 DE_ASSERT(type == GL_BYTE); in getR8IPixelData() 1288 DE_ASSERT(type == GL_BYTE); in getRG8IPixelData() 1938 DE_ASSERT(type == GL_BYTE); in getRGB8IPixelData() 2231 DE_ASSERT(type == GL_BYTE); in getRGBA8IPixelData() 3920 …addEntryToConversionDatabase(getR8IPixelData(1, GL_BYTE, texel1[0]), getR8IPixelData(0, GL_INT, te… in configureConversionDatabase() 3921 getR8IPixelData(1, GL_BYTE, texel2[0]), getR8IPixelData(0, GL_INT, texel2[0]), in configureConversionDatabase() 3922 getR8IPixelData(1, GL_BYTE, texel3[0]), getR8IPixelData(0, GL_INT, texel3[0]), in configureConversionDatabase() 3923 getR8IPixelData(1, GL_BYTE, texel4[0]), getR8IPixelData(0, GL_INT, texel4[0]), in configureConversionDatabase() 4014 getRG8IPixelData(1, GL_BYTE, texel1[0], texel1[1]), getR8IPixelData(0, GL_INT, texel1[0]), in configureConversionDatabase() 4015 getRG8IPixelData(1, GL_BYTE, texel2[0], texel2[1]), getR8IPixelData(0, GL_INT, texel2[0]), in configureConversionDatabase() [all …]
|
/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/mesa/state_tracker/ |
D | st_atom_array.c | 299 assert(type >= GL_BYTE && type <= GL_FIXED); in st_pipe_vertex_format() 300 return vertex_formats[type - GL_BYTE][index][size-1]; in st_pipe_vertex_format()
|
/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()
|