Home
last modified time | relevance | path

Searched refs:GL_SRGB (Results 1 - 25 of 52) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DSRGBTextureTest.cpp301 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 DCopyTextureTest.cpp1908 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 Dglformats.c594 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 Dformatquery.c1254 buffer[0] = GL_SRGB; in _mesa_GetInternalformativ()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
H A DTextureSampling.cpp292 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 Drenderer9_utils.cpp441 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 Dformatutilsgl.cpp251 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 DFramebufferGL.cpp782 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 DTextureGL.cpp970 bool destSRGB = destFormat.colorEncoding == GL_SRGB; in copySubTextureHelper()
1337 if (baseLevelInternalFormat.colorEncoding == GL_SRGB && in generateMipmap()
H A Dfunctionsgl_enums.h474 #define GL_SRGB 0x8C40 macro
/third_party/vk-gl-cts/modules/glshared/
H A DglsFboCompletenessTests.cpp178 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 Des31cFramebufferNoAttachmentsTests.cpp220 GL_SRGB, in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DSurface.cpp231 if (mColorFormat.info->colorEncoding == GL_SRGB) in initialize()
H A Dformatutils.cpp822 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 DTexture.cpp994 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 DvalidationES3.cpp1050 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 DvalidationES.cpp420 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 Des3fFboStateQueryTests.cpp455 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 DTextureD3D.cpp938 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 DgluTextureUtil.cpp455 case GL_SRGB: return TextureFormat(TextureFormat::sRGB, mapGLChannelType(dataType, false));
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DUtilsVk.cpp2747 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 Dutilities.cpp1960 return GL_SRGB; in GetColorEncoding()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fFboSRGBWriteControlTests.cpp1234 case GL_SRGB: in isFramebufferAttachmentSRGB()
1275 message << "GL_SRGB"; in logState()
/third_party/vk-gl-cts/modules/egl/
H A DteglWideColorTests.cpp1149 correct = framebufferColorEncoding == GL_SRGB; in testFramebufferColorEncoding()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcInternalformatTests.cpp831 formatMap[GL_SRGB] = TextureFormat(GL_RGB, GL_UNSIGNED_BYTE, GL_RGB); in iterate()

Completed in 75 milliseconds

123