Searched refs:colorEncoding (Results 1 – 14 of 14) sorted by relevance
400 GLint colorEncoding = 0; in TEST_P() local403 &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() local504 &colorEncoding); in TEST_P()509 EXPECT_EQ(GL_LINEAR, colorEncoding); in TEST_P()514 EXPECT_EQ(GL_SRGB_EXT, colorEncoding); in TEST_P()[all …]
215 GLint colorEncoding = 0; in TEST_P() local218 &colorEncoding); in TEST_P()222 EXPECT_EQ(GL_SRGB_EXT, colorEncoding); in TEST_P()
180 return getFormat().info->colorEncoding; in getColorEncoding()
237 GLenum colorEncoding; member
351 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()
225 if (mColorFormat.info->colorEncoding == GL_SRGB) in initialize()
1844 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()
981 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()
931 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()
970 bool destSRGB = destFormat.colorEncoding == GL_SRGB; in copySubTextureHelper()1333 if (baseLevelInternalFormat.colorEncoding == GL_SRGB && in generateMipmap()
567 else if (internalFormat.colorEncoding == GL_SRGB) in GetNativeInternalFormat()
1139 bool sRGB = mFormat.actualInternalFormat().colorEncoding == GL_SRGB;2127 if (internalFormat.colorEncoding == GL_SRGB)
2645 gl::GetSizedInternalFormatInfo(srcFormat.intendedGLFormat).colorEncoding == GL_SRGB; in copyImage()2647 gl::GetSizedInternalFormatInfo(dstFormat.intendedGLFormat).colorEncoding == GL_SRGB; in copyImage()
3182 if (internalFormatInfo.colorEncoding == GL_SRGB) in supportsFastCopyBufferToTexture()