/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcCompressedFormatTests.cpp | 85 { gles31, "srgb8_punchthrough_alpha1_etc2" , GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 , GL_RGBA , GL_SRGB8_ALPHA8 , true , { 4, 4 } }, 87 { gles31, "srgb8_alpha8_etc2_eac" , GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC , GL_RGBA , GL_SRGB8_ALPHA8 , true , { 4, 4 } }, 104 { gles32, "srgb8_alpha8_astc_4x4" , GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4 , GL_RGBA , GL_SRGB8_ALPHA8 , true , { 4, 4 } }, 105 { gles32, "srgb8_alpha8_astc_5x4" , GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4 , GL_RGBA , GL_SRGB8_ALPHA8 , true , { 5, 4 } }, 106 { gles32, "srgb8_alpha8_astc_5x5" , GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5 , GL_RGBA , GL_SRGB8_ALPHA8 , true , { 5, 5 } }, 107 { gles32, "srgb8_alpha8_astc_6x5" , GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5 , GL_RGBA , GL_SRGB8_ALPHA8 , true , { 6, 5 } }, 108 { gles32, "srgb8_alpha8_astc_6x6" , GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6 , GL_RGBA , GL_SRGB8_ALPHA8 , true , { 6, 6 } }, 109 { gles32, "srgb8_alpha8_astc_8x5" , GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5 , GL_RGBA , GL_SRGB8_ALPHA8 , true , { 8, 5 } }, 110 { gles32, "srgb8_alpha8_astc_8x6" , GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6 , GL_RGBA , GL_SRGB8_ALPHA8 , true , { 8, 6 } }, 111 { gles32, "srgb8_alpha8_astc_8x8" , GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8 , GL_RGBA , GL_SRGB8_ALPHA8 , tru [all...] |
H A D | glcInternalformatTests.cpp | 234 bool isSRGB = internalFormat == GL_SRGB8 || internalFormat == GL_SRGB8_ALPHA8; in createTexture() 413 case GL_SRGB8_ALPHA8: in getUnsizedFormatFromInternalFormat() 953 const bool isSRGB = textureInternalFormat == GL_SRGB8 || textureInternalFormat == GL_SRGB8_ALPHA8; in iterate() 978 createTexture(isSRGB ? GL_SRGB8_ALPHA8 : GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, GL_NEAREST, GL_NEAREST, false); in iterate() 1144 const bool isSRGB = m_testFormat.format == GL_SRGB8 || m_testFormat.format == GL_SRGB8_ALPHA8; in iterate() 1248 if (m_testFormat.format == GL_SRGB8_ALPHA8) in iterate() 1609 TF(GL_RGBA, GL_UNSIGNED_BYTE, GL_SRGB8_ALPHA8), in getESTestData() 1672 CF(GL_RGB8), CF(GL_SRGB8_ALPHA8), CF(GL_SRGB8), CF(GL_R11F_G11F_B10F), in getESTestData() 1677 RF(GL_SRGB8_ALPHA8, RENDERBUFFER_COLOR), in getESTestData()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fFboCompletenessTests.cpp | 108 GL_SRGB8_ALPHA8 115 GL_SRGB8_ALPHA8, 135 GL_SRGB8_ALPHA8,
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | utilities.cpp | 378 case GL_SRGB8_ALPHA8: in IsSizedInternalFormat() 982 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8, GL_RGB5_A1, GL_RGBA4, GL_SRGB8_ALPHA8) in ValidateTextureFormatType() 1365 case GL_SRGB8_ALPHA8: in IsColorRenderable() 1435 case GL_SRGB8_ALPHA8: in IsDepthRenderable() 1501 case GL_SRGB8_ALPHA8: in IsStencilRenderable() 1606 case GL_SRGB8_ALPHA8: return 8; in GetAlphaSize() 1655 case GL_SRGB8_ALPHA8: return 8; in GetRedSize() 1704 case GL_SRGB8_ALPHA8: return 8; in GetGreenSize() 1753 case GL_SRGB8_ALPHA8: return 8; in GetBlueSize() 1812 case GL_SRGB8_ALPHA8 in GetColorComponentType() [all...] |
H A D | Framebuffer.cpp | 574 case GL_SRGB8_ALPHA8: return GL_RGBA; in getImplementationColorReadFormat() 635 case GL_SRGB8_ALPHA8: return GL_UNSIGNED_BYTE; in getImplementationColorReadType()
|
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pTextureFormatTests.cpp | 65 { "srgb8_alpha8", GL_SRGB8_ALPHA8, }, in init()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboTestCase.cpp | 163 case GL_SRGB8_ALPHA8: in isRequiredFormat() 286 case GL_SRGB8_ALPHA8: in getMinimumSampleCount()
|
H A D | es3fRboStateQueryTests.cpp | 187 GL_RGB10_A2UI, GL_SRGB8_ALPHA8, GL_R8I, GL_R8UI, GL_R16I, GL_R16UI, GL_R32I, GL_R32UI, in test() 237 { GL_SRGB8_ALPHA8, 8, 8, 8, 8 }, in test()
|
H A D | es3fInternalFormatQueryTests.cpp | 189 { "srgb8_alpha8", GL_SRGB8_ALPHA8, false }, in init()
|
H A D | es3fFboStateQueryTests.cpp | 449 glRenderbufferStorage(GL_RENDERBUFFER, GL_SRGB8_ALPHA8, 128, 128); in test() 514 { GL_SRGB8_ALPHA8, GL_UNSIGNED_NORMALIZED }, in test()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fFboTestCase.cpp | 169 case GL_SRGB8_ALPHA8: in isRequiredFormat() 306 case GL_SRGB8_ALPHA8: in getMinimumSampleCount()
|
H A D | es31fFboSRGBWriteControlTests.cpp | 856 TextureSp textureSRGB(new TestTexture2D(m_context, GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_BYTE, getTestColorLinear())); in Renderer() 1063 if (fboConfigList[idx].textureInternalFormat == GL_SRGB8_ALPHA8) in createFBOwithColorAttachment() 1610 FBOConfig fboConfig0 = FBOConfig(GL_SRGB8_ALPHA8, getTestColorLinear(), GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, FBOTYPE_SOURCE); in setupTest() 1648 FBOConfig fboConfig0 = FBOConfig(GL_SRGB8_ALPHA8, getTestColorLinear(), GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, FBOTYPE_DESTINATION); in setupTest() 1724 FBOConfig(GL_SRGB8_ALPHA8, getTestColorSRGB(), GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, FBOTYPE_SOURCE), in setupTest()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | texture_format_table_autogen.cpp | 1245 GL_SRGB8_ALPHA8, in Get() 1259 GL_SRGB8_ALPHA8, in Get() 1287 GL_SRGB8_ALPHA8, in Get() 1315 GL_SRGB8_ALPHA8, in Get() 2669 GL_SRGB8_ALPHA8, in Get() 2673 case GL_SRGB8_ALPHA8: in Get() 2675 static constexpr Format info(GL_SRGB8_ALPHA8, in Get() 2683 GL_SRGB8_ALPHA8, in Get()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cTextureStorageMultisampleDependenciesTests.cpp | 987 const glw::GLenum internalformats[] = { GL_R8, GL_RGB565, GL_RGB10_A2UI, GL_SRGB8_ALPHA8, GL_R8I }; in iterate() 1272 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_RGBA32I in iterate() 1422 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_RGBA32I in iterate() 1577 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_RGBA32I in iterate() 1733 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_RGBA32I in iterate() 1870 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_STENCIL_INDEX8 in iterate() 2059 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, GL_RGBA32I in iterate() 2182 GL_RGB8, GL_RGB565, GL_SRGB8_ALPHA8, GL_DEPTH_COMPONENT32F, GL_DEPTH24_STENCIL8, in iterate()
|
H A D | es31cTextureStorageMultisampleTexStorage2DMultisampleTests.cpp | 126 GL_SRGB8_ALPHA8, in iterate() 480 /* GL_SRGB8_ALPHA8 is renderable according to spec - replaced with GL_SRGB8 */ in iterate() 790 const glw::GLenum internalformat_list[] = { GL_R8, GL_RGB565, GL_RGB10_A2UI, GL_SRGB8_ALPHA8, GL_R8I }; in iterate() 1210 const glw::GLenum color_internalformats[] = { GL_R8, GL_RGB565, GL_RGB10_A2UI, GL_SRGB8_ALPHA8, GL_R8I }; in iterate()
|
H A D | es31cTextureStorageMultisampleTexStorage3DMultisampleTests.cpp | 48 const glw::GLint color_renderable_internalformats[] = { GL_R8, GL_RGB565, GL_RGB10_A2UI, GL_SRGB8_ALPHA8, GL_R8I }; 72 GL_SRGB8_ALPHA8, 83 /* GL_SRGB8_ALPHA8 is renderable according to spec - replaced with GL_SRGB8 */
|
H A D | es31cTextureGatherTests.cpp | 714 GLenum tex_type = InternalFormat() == GL_SRGB8_ALPHA8 ? GL_UNSIGNED_BYTE : GL_FLOAT; in CreateTexture2D() 1724 return GL_SRGB8_ALPHA8; in InternalFormat() 1748 return GL_SRGB8_ALPHA8; in InternalFormat()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | glformats.c | 1431 case GL_SRGB8_ALPHA8: in _mesa_is_srgb_format() 1718 return GL_SRGB8_ALPHA8; in _mesa_get_nongeneric_internalformat() 1761 case GL_SRGB8_ALPHA8: in _mesa_get_linear_internalformat() 2914 case GL_SRGB8_ALPHA8: in _mesa_gles_check_internalformat() 3040 internalFormat != GL_SRGB8_ALPHA8)) in _mesa_gles_error_check_format_and_type() 4044 case GL_SRGB8_ALPHA8: in _mesa_is_es3_color_renderable() 4111 case GL_SRGB8_ALPHA8: in _mesa_is_es3_texture_filterable()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | format_map_autogen.cpp | 545 return GL_SRGB8_ALPHA8; in GetSizedFormatInternal() 1420 case GL_SRGB8_ALPHA8: in ValidES3FormatCombination()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | SRGBTextureTest.cpp | 64 return getClientMajorVersion() >= 3 ? GL_SRGB8_ALPHA8 : GL_SRGB_ALPHA_EXT; in getSRGBA8TextureInternalFormat() 615 auto srgbaReadback = createAndReadBackTexture(GL_SRGB8_ALPHA8, srgbaColor); in TEST_P()
|
H A D | CopyTexture3DTest.cpp | 114 case GL_SRGB8_ALPHA8: in testCopy() 709 testCopy(testTarget, kColorNoAlpha, GL_SRGB8_ALPHA8, GL_UNSIGNED_BYTE, false, false, false, in testUnsignedByteFormats() 711 testCopy(testTarget, kColorPreAlpha, GL_SRGB8_ALPHA8, GL_UNSIGNED_BYTE, false, true, false, in testUnsignedByteFormats() 713 testCopy(testTarget, GLColor(100, 150, 200, 210), GL_SRGB8_ALPHA8, GL_UNSIGNED_BYTE, false, in testUnsignedByteFormats()
|
/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | dri_util.c | 1126 .internal_format = GL_SRGB8_ALPHA8, 1131 .internal_format = GL_SRGB8_ALPHA8, 1136 .internal_format = GL_SRGB8_ALPHA8,
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureUtil.cpp | 167 case FMT_CASE(sRGBA, UNORM_INT8): return GL_SRGB8_ALPHA8; in getInternalFormat() 496 case GL_SRGB8_ALPHA8: return TextureFormat(TextureFormat::sRGBA, TextureFormat::UNORM_INT8); 576 case GL_SRGB8_ALPHA8: 1124 case GL_SRGB8_ALPHA8:
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | GLFormat.cpp | 69 AddFormat(wgpu::TextureFormat::RGBA8UnormSrgb, GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_BYTE, Type::Float); in BuildGLFormatTable()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | Format_table_autogen.cpp | 221 { FormatID::R8G8B8A8_TYPELESS_SRGB, GL_SRGB8_ALPHA8, GL_SRGB8_ALPHA8, GenerateMip<R8G8B8A8>, NoCopyFunctions, ReadColor<R8G8B8A8, GLfloat>, WriteColor<R8G8B8A8, GLfloat>, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, true, false, gl::VertexAttribType::Byte }, 224 { FormatID::R8G8B8A8_UNORM_SRGB, GL_SRGB8_ALPHA8, GL_SRGB8_ALPHA8, GenerateMip<R8G8B8A8SRGB>, NoCopyFunctions, ReadColor<R8G8B8A8SRGB, GLfloat>, WriteColor<R8G8B8A8SRGB, GLfloat>, GL_UNSIGNED_NORMALIZED, 8, 8, 8, 8, 0, 0, 0, 4, 0, false, false, false, true, false, gl::VertexAttribType::Byte }, 705 case GL_SRGB8_ALPHA8: in InternalFormatToID()
|