Home
last modified time | relevance | path

Searched refs:colorEncoding (Results 1 – 14 of 14) sorted by relevance

/external/angle/src/tests/gl_tests/
DD3DTextureTest.cpp400 GLint colorEncoding = 0; in TEST_P() local
403 &colorEncoding); in TEST_P()
409 EXPECT_EQ(GL_SRGB_EXT, colorEncoding); in TEST_P()
414 EXPECT_EQ(GL_LINEAR, colorEncoding); in TEST_P()
420 if (colorEncoding == GL_SRGB_EXT) in TEST_P()
429 if (colorEncoding == GL_LINEAR || srgbWriteControlSupported) in TEST_P()
501 GLint colorEncoding = 0; in TEST_P() local
504 &colorEncoding); in TEST_P()
509 EXPECT_EQ(GL_LINEAR, colorEncoding); in TEST_P()
514 EXPECT_EQ(GL_SRGB_EXT, colorEncoding); in TEST_P()
[all …]
DSRGBTextureTest.cpp215 GLint colorEncoding = 0; in TEST_P() local
218 &colorEncoding); in TEST_P()
222 EXPECT_EQ(GL_SRGB_EXT, colorEncoding); in TEST_P()
/external/angle/src/libANGLE/
DFramebufferAttachment.cpp180 return getFormat().info->colorEncoding; in getColorEncoding()
Dformatutils.h237 GLenum colorEncoding; member
Dformatutils.cpp351 colorEncoding(GL_NONE), in InternalFormat()
780 formatInfo.colorEncoding = (srgb ? GL_SRGB : GL_LINEAR); in AddRGBAFormat()
816 formatInfo.colorEncoding = GL_LINEAR; in AddLUMAFormat()
853 formatInfo.colorEncoding = GL_LINEAR; in AddDepthStencilFormat()
889 formatInfo.colorEncoding = (srgb ? GL_SRGB : GL_LINEAR); in AddCompressedFormat()
935 formatInfo.colorEncoding = (srgb ? GL_SRGB : GL_LINEAR); in AddYUVFormat()
DSurface.cpp225 if (mColorFormat.info->colorEncoding == GL_SRGB) in initialize()
DvalidationES.cpp1844 if (format.colorEncoding == GL_SRGB && format.format == GL_RGB) in ValidateGenerateMipmapBase()
1852 if (context->getClientVersion() < Version(3, 0) && format.colorEncoding == GL_SRGB) in ValidateGenerateMipmapBase()
3208 if (srcFormatInfo.colorEncoding == dstFormatInfo.colorEncoding) in ValidateCopyCompressedFormatCompatible()
3213 const GLenum linearFormat = (srcFormatInfo.colorEncoding == GL_LINEAR) ? srcFormat : dstFormat; in ValidateCopyCompressedFormatCompatible()
3215 (srcFormatInfo.colorEncoding != GL_LINEAR) ? srcFormat : dstFormat; in ValidateCopyCompressedFormatCompatible()
DvalidationES3.cpp981 if ((textureFormatInfo.colorEncoding == GL_SRGB) != in IsValidES3CopyTexImageCombination()
982 (framebufferFormatInfo.colorEncoding == GL_SRGB)) in IsValidES3CopyTexImageCombination()
1056 if (framebufferFormatInfo.colorEncoding == GL_LINEAR) in IsValidES3CopyTexImageCombination()
1069 else if (framebufferFormatInfo.colorEncoding == GL_SRGB) in IsValidES3CopyTexImageCombination()
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp931 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).colorEncoding == GL_SRGB; in isSRGB()
1729 return gl::GetSizedInternalFormatInfo(getInternalFormat(level, layer)).colorEncoding == GL_SRGB; in isSRGB()
2465 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).colorEncoding == GL_SRGB; in isSRGB()
3131 return gl::GetSizedInternalFormatInfo(getInternalFormat(level)).colorEncoding == GL_SRGB; in isSRGB()
/external/angle/src/libANGLE/renderer/gl/
DTextureGL.cpp970 bool destSRGB = destFormat.colorEncoding == GL_SRGB; in copySubTextureHelper()
1333 if (baseLevelInternalFormat.colorEncoding == GL_SRGB && in generateMipmap()
Dformatutilsgl.cpp567 else if (internalFormat.colorEncoding == GL_SRGB) in GetNativeInternalFormat()
/external/angle/src/libANGLE/renderer/metal/
DTextureMtl.mm1139 bool sRGB = mFormat.actualInternalFormat().colorEncoding == GL_SRGB;
2127 if (internalFormat.colorEncoding == GL_SRGB)
/external/angle/src/libANGLE/renderer/vulkan/
DUtilsVk.cpp2645 gl::GetSizedInternalFormatInfo(srcFormat.intendedGLFormat).colorEncoding == GL_SRGB; in copyImage()
2647 gl::GetSizedInternalFormatInfo(dstFormat.intendedGLFormat).colorEncoding == GL_SRGB; in copyImage()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.cpp3182 if (internalFormatInfo.colorEncoding == GL_SRGB) in supportsFastCopyBufferToTexture()