/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | SRGBTextureTest.cpp | 301 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT, GL_SRGB); in TEST_P() 397 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT, GL_SRGB); in TEST_P() 435 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT, GL_SRGB); in TEST_P() 564 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT, GL_SRGB); in TEST_P()
|
H A D | CopyTextureTest.cpp | 1908 testCopyCombination(GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, GLColor(128, 64, 32, 128), GL_SRGB, in TEST_P() 1910 testCopyCombination(GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, GLColor(128, 64, 32, 128), GL_SRGB, in TEST_P() 1917 GL_SRGB, GL_SRGB, GL_UNSIGNED_BYTE, false, false, false, in TEST_P() 1920 GL_SRGB, GL_SRGB, GL_UNSIGNED_BYTE, false, true, false, in TEST_P()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | glformats.c | 594 case GL_SRGB: in _mesa_is_enum_format_unsized() 673 case GL_SRGB: in _mesa_is_enum_format_unorm() 1428 case GL_SRGB: in _mesa_is_srgb_format() 1669 return GL_SRGB; in _mesa_generic_compressed_format_to_uncompressed_format() 1715 case GL_SRGB: in _mesa_get_nongeneric_internalformat() 1755 case GL_SRGB: in _mesa_get_linear_internalformat()
|
H A D | formatquery.c | 1254 buffer[0] = GL_SRGB; in _mesa_GetInternalformativ()
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | TextureSampling.cpp | 292 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT, GL_SRGB); in initTextures()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | renderer9_utils.cpp | 441 if (textureCaps.texturable && (formatInfo.colorEncoding == GL_SRGB)) in GenerateTextureFormatCaps() 463 if (textureCaps.textureAttachment && (formatInfo.colorEncoding == GL_SRGB)) in GenerateTextureFormatCaps()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | formatutilsgl.cpp | 251 InsertFormatMapping(&map, GL_SRGB, VersionOrExts(2, 1, "GL_EXT_texture_sRGB"), AlwaysSupported(), VersionOrExts(2, 1, "GL_EXT_texture_sRGB"), ExtsOnly("GL_EXT_sRGB"), AlwaysSupported(), NeverSupported(), NeverSupported() ); in BuildInternalFormatInfoMap() 567 else if (internalFormat.colorEncoding == GL_SRGB) in GetNativeInternalFormat() 579 if (internalFormat.internalFormat == GL_SRGB || in GetNativeInternalFormat() 621 // The ES SRGB extensions require that the provided format is GL_SRGB or SRGB_ALPHA but in GetNativeFormat() 623 if (format == GL_SRGB) in GetNativeFormat() 650 if (format == GL_SRGB) in GetNativeFormat()
|
H A D | FramebufferGL.cpp | 782 colorReadAttachment != nullptr && colorReadAttachment->getColorEncoding() == GL_SRGB; in blit() 800 if (attachment && attachment->getColorEncoding() == GL_SRGB) in blit() 1392 if (attachment.isAttached() && attachment.getColorEncoding() == GL_SRGB) in syncClearState() 1434 attachment->getColorEncoding() == GL_SRGB); in syncClearBufferState()
|
H A D | TextureGL.cpp | 970 bool destSRGB = destFormat.colorEncoding == GL_SRGB; in copySubTextureHelper() 1337 if (baseLevelInternalFormat.colorEncoding == GL_SRGB && in generateMipmap()
|
H A D | functionsgl_enums.h | 474 #define GL_SRGB 0x8C40 macro
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsFboCompletenessTests.cpp | 178 GLS_UNSIZED_FORMATKEY(GL_SRGB, GL_UNSIGNED_BYTE), 193 GLS_UNSIZED_FORMATKEY(GL_SRGB, GL_UNSIGNED_BYTE),
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cFramebufferNoAttachmentsTests.cpp | 220 GL_SRGB, in iterate()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Surface.cpp | 231 if (mColorFormat.info->colorEncoding == GL_SRGB) in initialize()
|
H A D | formatutils.cpp | 822 formatInfo.colorEncoding = (srgb ? GL_SRGB : GL_LINEAR); in AddRGBAXFormat() 954 formatInfo.colorEncoding = (srgb ? GL_SRGB : GL_LINEAR); in AddCompressedFormat() 1000 formatInfo.colorEncoding = (srgb ? GL_SRGB : GL_LINEAR); in AddYUVFormat() 1297 AddRGBAXFormat(&map, GL_SRGB, false, FB< 8, 8, 8, 0, 0, 0>(), GL_SRGB, GL_UNSIGNED_BYTE, GL_UNSIGNED_NORMALIZED, true, RequireExt<&Extensions::sRGBEXT>, AlwaysSupported, NeverSupported, NeverSupported, NeverSupported); in BuildInternalFormatInfoMap()
|
H A D | Texture.cpp | 994 mState.mSrgbOverride = (sRGBOverride == GL_SRGB) ? SrgbOverride::SRGB : SrgbOverride::Default; in setSRGBOverride() 1003 return (mState.mSrgbOverride == SrgbOverride::SRGB) ? GL_SRGB : GL_NONE; in getSRGBOverride()
|
H A D | validationES3.cpp | 1050 if ((textureFormatInfo.colorEncoding == GL_SRGB) != in IsValidES3CopyTexImageCombination() 1051 (framebufferFormatInfo.colorEncoding == GL_SRGB)) in IsValidES3CopyTexImageCombination() 1138 else if (framebufferFormatInfo.colorEncoding == GL_SRGB) in IsValidES3CopyTexImageCombination()
|
H A D | validationES.cpp | 420 case GL_SRGB: in ValidateTextureSRGBOverrideValue() 1943 if (format.colorEncoding == GL_SRGB && format.format == GL_RGB) in ValidateGenerateMipmapBase() 1951 if (context->getClientVersion() < Version(3, 0) && format.colorEncoding == GL_SRGB) in ValidateGenerateMipmapBase()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboStateQueryTests.cpp | 455 checkColorAttachmentParam(m_testCtx, *this, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING, GL_SRGB); in test()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | TextureD3D.cpp | 938 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).colorEncoding == GL_SRGB; 1735 return gl::GetSizedInternalFormatInfo(getInternalFormat(level, layer)).colorEncoding == GL_SRGB; 2470 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).colorEncoding == GL_SRGB; 3136 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).colorEncoding == GL_SRGB;
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluTextureUtil.cpp | 455 case GL_SRGB: return TextureFormat(TextureFormat::sRGB, mapGLChannelType(dataType, false));
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | UtilsVk.cpp | 2747 shaderParams.srcIsSRGB = params.srcColorEncoding == GL_SRGB; in copyImage() 2748 shaderParams.dstIsSRGB = params.dstColorEncoding == GL_SRGB; in copyImage()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | utilities.cpp | 1960 return GL_SRGB; in GetColorEncoding()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fFboSRGBWriteControlTests.cpp | 1234 case GL_SRGB: in isFramebufferAttachmentSRGB() 1275 message << "GL_SRGB"; in logState()
|
/third_party/vk-gl-cts/modules/egl/ |
H A D | teglWideColorTests.cpp | 1149 correct = framebufferColorEncoding == GL_SRGB; in testFramebufferColorEncoding()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcInternalformatTests.cpp | 831 formatMap[GL_SRGB] = TextureFormat(GL_RGB, GL_UNSIGNED_BYTE, GL_RGB); in iterate()
|