Home
last modified time | relevance | path

Searched refs:GL_SRGB8_ALPHA8 (Results 1 - 25 of 104) sorted by relevance

12345

/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcCompressedFormatTests.cpp85 { 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 DglcInternalformatTests.cpp234 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 Des2fFboCompletenessTests.cpp108 GL_SRGB8_ALPHA8
115 GL_SRGB8_ALPHA8,
135 GL_SRGB8_ALPHA8,
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A Dutilities.cpp378 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 DFramebuffer.cpp574 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 Des3pTextureFormatTests.cpp65 { "srgb8_alpha8", GL_SRGB8_ALPHA8, }, in init()
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboTestCase.cpp163 case GL_SRGB8_ALPHA8: in isRequiredFormat()
286 case GL_SRGB8_ALPHA8: in getMinimumSampleCount()
H A Des3fRboStateQueryTests.cpp187 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 Des3fInternalFormatQueryTests.cpp189 { "srgb8_alpha8", GL_SRGB8_ALPHA8, false }, in init()
H A Des3fFboStateQueryTests.cpp449 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 Des31fFboTestCase.cpp169 case GL_SRGB8_ALPHA8: in isRequiredFormat()
306 case GL_SRGB8_ALPHA8: in getMinimumSampleCount()
H A Des31fFboSRGBWriteControlTests.cpp856 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 Dtexture_format_table_autogen.cpp1245 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 Des31cTextureStorageMultisampleDependenciesTests.cpp987 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 Des31cTextureStorageMultisampleTexStorage2DMultisampleTests.cpp126 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 Des31cTextureStorageMultisampleTexStorage3DMultisampleTests.cpp48 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 Des31cTextureGatherTests.cpp714 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 Dglformats.c1431 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 Dformat_map_autogen.cpp545 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 DSRGBTextureTest.cpp64 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 DCopyTexture3DTest.cpp114 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 Ddri_util.c1126 .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 DgluTextureUtil.cpp167 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 DGLFormat.cpp69 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 DFormat_table_autogen.cpp221 { 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()

Completed in 38 milliseconds

12345