Home
last modified time | relevance | path

Searched refs:GL_UNSIGNED_INT_2_10_10_10_REV (Results 1 - 25 of 84) sorted by relevance

1234

/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dformat_map_autogen.cpp44 case GL_UNSIGNED_INT_2_10_10_10_REV: in GetSizedFormatInternal()
438 case GL_UNSIGNED_INT_2_10_10_10_REV: in GetSizedFormatInternal()
466 case GL_UNSIGNED_INT_2_10_10_10_REV: in GetSizedFormatInternal()
492 case GL_UNSIGNED_INT_2_10_10_10_REV: in GetSizedFormatInternal()
634 case GL_UNSIGNED_INT_2_10_10_10_REV: in ValidES3Type()
1302 case GL_UNSIGNED_INT_2_10_10_10_REV: in ValidES3FormatCombination()
1428 case GL_UNSIGNED_INT_2_10_10_10_REV: in ValidES3FormatCombination()
1539 case GL_UNSIGNED_INT_2_10_10_10_REV: in ValidES3FormatCombination()
H A Dformat_map_desktop.cpp70 case GL_UNSIGNED_INT_2_10_10_10_REV: in ValidDesktopType()
H A Dformatutils.cpp1041 AddRGBAFormat(&map, GL_RGB10_A2UI, true, 10, 10, 10, 2, 0, GL_RGBA_INTEGER, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT, false, RequireES<3, 0>, NeverSupported, RequireES<3, 0>, RequireES<3, 0>, NeverSupported); in BuildInternalFormatInfoMap()
1084 AddRGBAFormat(&map, GL_BGR10_A2_ANGLEX, true, 10, 10, 10, 2, 0, GL_BGRA_EXT, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_NORMALIZED, false, NeverSupported, NeverSupported, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1091 AddRGBAFormat(&map, GL_RGB10_A2, true, 10, 10, 10, 2, 0, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_NORMALIZED, false, RequireESOrExtAndExt<3, 0, &Extensions::textureStorageEXT, &Extensions::textureType2101010REVEXT>, AlwaysSupported, RequireES<3, 0>, RequireES<3, 0>, RequireES<3, 0>); in BuildInternalFormatInfoMap()
1290 AddRGBAXFormat(&map, GL_RGB, false, FB<10, 10, 10, 0, 0, 2>(), GL_RGB, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::textureType2101010REVEXT>, AlwaysSupported, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1295 AddRGBAXFormat(&map, GL_RGBA, false, FB<10, 10, 10, 2, 0, 0>(), GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_NORMALIZED, false, RequireExt<&Extensions::textureType2101010REVEXT>, AlwaysSupported, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1344 AddRGBAFormat(&map, GL_RGBA_INTEGER, false, 10, 10, 10, 2, 0, GL_RGBA_INTEGER, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_INT, false, RequireES<3, 0>, NeverSupported, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
1395 AddRGBAFormat(&map, GL_RGB10_EXT, true, 10, 10, 10, 0, 2, GL_RGB, GL_UNSIGNED_INT_2_10_10_10_REV, GL_UNSIGNED_NORMALIZED, false, RequireES<1, 0>, NeverSupported, RequireES<1, 0>, RequireES<1, 0>, NeverSupported); in BuildInternalFormatInfoMap()
1549 case GL_UNSIGNED_INT_2_10_10_10_REV: in GetPackedTypeInfo()
2716 static const VertexFormat format(GL_UNSIGNED_INT_2_10_10_10_REV, GL_FALSE, 4, false); in GetVertexFormatFromID()
2726 static const VertexFormat format(GL_UNSIGNED_INT_2_10_10_10_REV, GL_TRU in GetVertexFormatFromID()
[all...]
/third_party/mesa3d/src/mesa/vbo/
H A Dvbo_util.h111 if (type != GL_INT_2_10_10_10_REV && type != GL_UNSIGNED_INT_2_10_10_10_REV) { \
123 if (type != GL_INT_2_10_10_10_REV && type != GL_UNSIGNED_INT_2_10_10_10_REV && \
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DTextureUploadFormatTest.cpp41 case GL_UNSIGNED_INT_2_10_10_10_REV: in bytesPerPixel()
401 fnTest({GL_RGB10_A2, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV}, {1, 1, 1, 128}); in TEST_P()
402 fnTest({GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV}, {8, 8, 8, 255}); in TEST_P()
403 fnTest({GL_RGBA, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV}, {1, 1, 1, 128}); in TEST_P()
413 fnTest({GL_RGB, GL_RGB, GL_UNSIGNED_INT_2_10_10_10_REV}, {1, 1, 1, 0}); in TEST_P()
552 fnTest({GL_RGB10_A2UI, GL_RGBA_INTEGER, GL_UNSIGNED_INT_2_10_10_10_REV}, {1, 1, 1, 1}); in TEST_P()
H A DCopyTexture3DTest.cpp636 testCopy(testTarget, GLColor(250, 200, 150, 100), GL_RGB10_A2, GL_UNSIGNED_INT_2_10_10_10_REV, in testSnormFormats()
638 testCopy(testTarget, GLColor(250, 200, 150, 200), GL_RGB10_A2, GL_UNSIGNED_INT_2_10_10_10_REV, in testSnormFormats()
640 testCopy(testTarget, GLColor(101, 150, 190, 200), GL_RGB10_A2, GL_UNSIGNED_INT_2_10_10_10_REV, in testSnormFormats()
729 testCopy(testTarget, kColorNoAlpha, GL_RGB5_A1, GL_UNSIGNED_INT_2_10_10_10_REV, false, in testUnsignedByteFormats()
731 testCopy(testTarget, kColorPreAlpha, GL_RGB5_A1, GL_UNSIGNED_INT_2_10_10_10_REV, false, in testUnsignedByteFormats()
733 testCopy(testTarget, kColorUnAlpha, GL_RGB5_A1, GL_UNSIGNED_INT_2_10_10_10_REV, false, in testUnsignedByteFormats()
1041 testCopy(testTarget, kColor, GL_RGB10_A2UI, GL_UNSIGNED_INT_2_10_10_10_REV, false, false, false, in testUintFormats()
1043 testCopy(testTarget, kColor, GL_RGB10_A2UI, GL_UNSIGNED_INT_2_10_10_10_REV, false, true, false, in testUintFormats()
1045 testCopy(testTarget, kColor, GL_RGB10_A2UI, GL_UNSIGNED_INT_2_10_10_10_REV, false, false, true, in testUintFormats()
/third_party/mesa3d/src/glx/
H A Dcompsize.c58 case GL_UNSIGNED_INT_2_10_10_10_REV: in __glElementsPerGroup()
137 case GL_UNSIGNED_INT_2_10_10_10_REV: in __glBytesPerElement()
/third_party/mesa3d/src/mesa/main/
H A Dglformats.c250 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_type_is_packed()
348 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_sizeof_packed_type()
484 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_bytes_per_pixel()
556 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_bytes_per_vertex_attrib()
954 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_is_type_unsigned()
1847 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
1856 if (type == GL_UNSIGNED_INT_2_10_10_10_REV && format == GL_RGB && in _mesa_error_check_format_and_type()
1986 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
2035 case GL_UNSIGNED_INT_2_10_10_10_REV: in _mesa_error_check_format_and_type()
2151 case GL_UNSIGNED_INT_2_10_10_10_REV in _mesa_error_check_format_and_type()
[all...]
H A Dformats.c942 *datatype = GL_UNSIGNED_INT_2_10_10_10_REV; in _mesa_uncompressed_format_to_type_and_comps()
1354 *datatype = GL_UNSIGNED_INT_2_10_10_10_REV; in _mesa_uncompressed_format_to_type_and_comps()
1373 *datatype = GL_UNSIGNED_INT_2_10_10_10_REV; in _mesa_uncompressed_format_to_type_and_comps()
1410 *datatype = GL_UNSIGNED_INT_2_10_10_10_REV; in _mesa_uncompressed_format_to_type_and_comps()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
H A Dload_functions_table_autogen.cpp207 case GL_UNSIGNED_INT_2_10_10_10_REV: in BGR10_A2_ANGLEX_to_B10G10R10A2_UNORM()
2325 case GL_UNSIGNED_INT_2_10_10_10_REV: in RGB10_A2_to_R10G10B10A2_UNORM()
2337 case GL_UNSIGNED_INT_2_10_10_10_REV: in RGB10_A2UI_to_R10G10B10A2_UINT()
2351 case GL_UNSIGNED_INT_2_10_10_10_REV: in RGB10_A2_SINT_ANGLEX_to_R10G10B10A2_SINT()
2365 case GL_UNSIGNED_INT_2_10_10_10_REV: in RGB10_A2_SNORM_ANGLEX_to_R10G10B10A2_SNORM()
2401 case GL_UNSIGNED_INT_2_10_10_10_REV: in RGB10_UNORM_ANGLEX_to_R10G10B10A2_UNORM()
2413 case GL_UNSIGNED_INT_2_10_10_10_REV: in RGB10_UNORM_ANGLEX_to_R10G10B10X2_UNORM()
2693 case GL_UNSIGNED_INT_2_10_10_10_REV: in RGB5_A1_to_A1R5G5B5_UNORM()
2709 case GL_UNSIGNED_INT_2_10_10_10_REV: in RGB5_A1_to_B5G5R5A1_UNORM()
2725 case GL_UNSIGNED_INT_2_10_10_10_REV in RGB5_A1_to_R5G5B5A1_UNORM()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcInternalformatTests.cpp236 // note: getPixelSize hits assertion for GL_UNSIGNED_INT_2_10_10_10_REV when format is RGB in createTexture()
237 if (type != GL_UNSIGNED_INT_2_10_10_10_REV) in createTexture()
459 return GL_UNSIGNED_INT_2_10_10_10_REV; in getTypeFromInternalFormat()
505 colorConversionMap[GL_UNSIGNED_INT_2_10_10_10_REV] = &convertUInt_2_10_10_10_rev; in generateTextureData()
1261 if (testType == GL_UNSIGNED_INT_2_10_10_10_REV) in iterate()
1506 if (type == GL_UNSIGNED_INT_2_10_10_10_REV) in prepareColoringProgramSources()
1569 TF(GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, GL_RGBA, EXT_texture_type_2_10_10_10_REV), in getESTestData()
1570 TF(GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, GL_RGB10_A2, EXT_texture_type_2_10_10_10_REV), in getESTestData()
1571 TF(GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, GL_RGB5_A1, EXT_texture_type_2_10_10_10_REV), in getESTestData()
1572 TF(GL_RGB, GL_UNSIGNED_INT_2_10_10_10_REV, GL_RG in getESTestData()
[all...]
H A DglcPackedPixelsTests.cpp258 { GL_RGB10_A2, GL_RGBA, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, SAMPLER_UNORM, { {10,10,10, 2, 0, 0, 0, 0, 0 } }, FLAG_PACKED|FLAG_REQ_RBO_ES30 },
259 { GL_RGB10_A2UI, GL_RGBA, GL_RGBA_INTEGER, GL_UNSIGNED_INT_2_10_10_10_REV, SAMPLER_UINT, { {10,10,10, 2, 0, 0, 0, 0, 0 } }, FLAG_PACKED|FLAG_REQ_RBO_ES30 },
353 { GL_UNSIGNED_INT_2_10_10_10_REV, sizeof(GLuint), STORAGE_UNSIGNED, true, true, { {10,10,10, 2, 0, 0, 0, 0, 0 } }, false },
380 { GL_UNSIGNED_INT_2_10_10_10_REV, sizeof(GLuint), STORAGE_UNSIGNED, true, true, { {10,10,10, 2, 0, 0, 0, 0, 0 } }, false },
395 { GL_RGB10_A2, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, 4, true },
396 { GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, 4, true },
406 { GL_RGB10_A2UI, GL_RGBA_INTEGER, GL_UNSIGNED_INT_2_10_10_10_REV, 4, true },
502 { GL_RGBA, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, 4, true },
503 { GL_BGRA, GL_BGRA, GL_UNSIGNED_INT_2_10_10_10_REV, 4, true },
504 { GL_RGBA_INTEGER, GL_RGBA_INTEGER, GL_UNSIGNED_INT_2_10_10_10_REV,
[all...]
H A DglcTextureRepeatModeTests.cpp279 { GL_RGB10_A2, GL_RGBA, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, SAMPLER_UNORM, { {10,10,10, 2, 0, 0, 0, 0, NO_FLAG } }, FLAG_PACKED|FLAG_REQ_RBO_GL42 },
280 { GL_RGB10_A2UI, GL_RGBA, GL_RGBA_INTEGER, GL_UNSIGNED_INT_2_10_10_10_REV, SAMPLER_UINT, { {10,10,10, 2, 0, 0, 0, 0, NO_FLAG } }, FLAG_PACKED|FLAG_REQ_RBO_GL42 },
372 { GL_RGB10_A2, GL_RGBA, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, SAMPLER_UNORM, { {10,10,10, 2, 0, 0, 0, 0, NO_FLAG } }, FLAG_PACKED|FLAG_REQ_RBO_ES30 },
373 { GL_RGB10_A2UI, GL_RGBA, GL_RGBA_INTEGER, GL_UNSIGNED_INT_2_10_10_10_REV, SAMPLER_UINT, { {10,10,10, 2, 0, 0, 0, 0, NO_FLAG } }, FLAG_PACKED|FLAG_REQ_RBO_ES30 },
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
H A Des3cCopyTexImageConversionsTests.cpp479 (type == GL_HALF_FLOAT) || (type == GL_UNSIGNED_INT_2_10_10_10_REV); in isTypeSupportedByGLReadPixels()
530 case GL_UNSIGNED_INT_2_10_10_10_REV: in isInternalFormatCompatibleWithType()
1421 * @param type GLES type the pixel uses. Must be GL_UNSIGNED_INT_2_10_10_10_REV.
1439 DE_ASSERT(type == GL_UNSIGNED_INT_2_10_10_10_REV); in getRGB10A2PixelData()
1463 * 1) GL_UNSIGNED_INT_2_10_10_10_REV for source pixels.
1478 DE_ASSERT(type == GL_UNSIGNED_INT_2_10_10_10_REV); in getRGB10A2UIPixelData()
1712 * GL_UNSIGNED_INT_2_10_10_10_REV for source pixels.
1729 type == GL_UNSIGNED_INT_2_10_10_10_REV); in getRGB5A1PixelData()
1780 case GL_UNSIGNED_INT_2_10_10_10_REV: in getRGB5A1PixelData()
2819 * GL_UNSIGNED_INT_2_10_10_10_REV (fo
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
H A DIOSurfaceSurfaceCGL.cpp58 {GL_RGB10_A2, GL_UNSIGNED_INT_2_10_10_10_REV, 4, GL_RGBA, GL_BGRA, GL_UNSIGNED_INT_2_10_10_10_REV},
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DFramebuffer.cpp614 case GL_RGB10_A2UI: return GL_UNSIGNED_INT_2_10_10_10_REV; in getImplementationColorReadType()
633 case GL_RGB10_A2: return GL_UNSIGNED_INT_2_10_10_10_REV; in getImplementationColorReadType()
H A Dutilities.cpp752 if(format == GL_RGBA && type == GL_UNSIGNED_INT_2_10_10_10_REV) in ValidateReadPixelsFormatType()
826 case GL_UNSIGNED_INT_2_10_10_10_REV: in ValidateTextureFormatType()
986 case GL_UNSIGNED_INT_2_10_10_10_REV: VALIDATE_INTERNALFORMAT(GL_RGB10_A2, GL_RGB5_A1) in ValidateTextureFormatType()
1002 case GL_UNSIGNED_INT_2_10_10_10_REV: VALIDATE_INTERNALFORMAT(GL_RGB10_A2UI) in ValidateTextureFormatType()
1169 case GL_UNSIGNED_INT_2_10_10_10_REV: in GetTypeSize()
1299 case GL_UNSIGNED_INT_2_10_10_10_REV: return sw::FORMAT_A2B10G10R10UI; in ConvertReadFormatType()
H A DVertexDataManager.cpp198 case GL_UNSIGNED_INT_2_10_10_10_REV: translated[i].type = sw::STREAMTYPE_2_10_10_10_UINT; break; in prepareVertexData()
/third_party/skia/third_party/externals/angle2/src/common/
H A DPackedEnums.h490 if (from == GL_UNSIGNED_INT_2_10_10_10_REV) in FromGLenum()
511 return GL_UNSIGNED_INT_2_10_10_10_REV; in ToGLenum()
530 ANGLE_VALIDATE_PACKED_ENUM(VertexAttribType, UnsignedInt2101010, GL_UNSIGNED_INT_2_10_10_10_REV);
/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureUtil.cpp113 case TextureFormat::UNORM_INT_101010: type = GL_UNSIGNED_INT_2_10_10_10_REV; break; in getTransferFormat()
114 case TextureFormat::UNORM_INT_1010102_REV: type = GL_UNSIGNED_INT_2_10_10_10_REV; break; in getTransferFormat()
115 case TextureFormat::UNSIGNED_INT_1010102_REV: type = GL_UNSIGNED_INT_2_10_10_10_REV; break; in getTransferFormat()
414 case GL_UNSIGNED_INT_2_10_10_10_REV: return normalized ? TextureFormat::UNORM_INT_1010102_REV : TextureFormat::UNSIGNED_INT_1010102_REV;
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/common/
H A DImage.cpp160 case GL_UNSIGNED_INT_2_10_10_10_REV: return GL_RGB10_A2; in GetSizedInternalFormat()
175 case GL_UNSIGNED_INT_2_10_10_10_REV: return GL_RGB10_A2UI; in GetSizedInternalFormat()
480 case GL_UNSIGNED_INT_2_10_10_10_REV: return 4; in ComputePixelSize()
1346 case GL_UNSIGNED_INT_2_10_10_10_REV: in loadImageData()
1393 case GL_UNSIGNED_INT_2_10_10_10_REV: in loadImageData()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DGLFormat.cpp76 AddFormat(wgpu::TextureFormat::RGB10A2Unorm, GL_RGB10_A2, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, Type::Float); in BuildGLFormatTable()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrReferenceUtils.cpp86 case GL_UNSIGNED_INT_2_10_10_10_REV: in mapGLFloatVertexAttributeType()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fNegativeVertexArrayApiTests.cpp182 m_log << tcu::TestLog::Section("", "GL_INVALID_OPERATION is generated if type is GL_INT_2_10_10_10_REV or GL_UNSIGNED_INT_2_10_10_10_REV and size is not 4."); in init()
185 glVertexAttribPointer(0, 2, GL_UNSIGNED_INT_2_10_10_10_REV, GL_TRUE, 0, 0); in init()
189 glVertexAttribPointer(0, 4, GL_UNSIGNED_INT_2_10_10_10_REV, GL_TRUE, 0, 0); in init()
221 glVertexAttribIPointer(0, 4, GL_UNSIGNED_INT_2_10_10_10_REV, 0, 0); in init()
/third_party/vk-gl-cts/modules/glshared/
H A DglsFboCompletenessTests.cpp124 GLS_UNSIZED_FORMATKEY(GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV),
125 GLS_UNSIZED_FORMATKEY(GL_RGB, GL_UNSIGNED_INT_2_10_10_10_REV),

Completed in 40 milliseconds

1234