Home
last modified time | relevance | path

Searched refs:isSRGB (Results 1 – 16 of 16) sorted by relevance

/external/deqp/framework/common/
DtcuCompressedTexture.cpp255 CompressedTexFormat getAstcFormatByBlockSize (const IVec3& size, bool isSRGB) in getAstcFormatByBlockSize() argument
264 if (isAstcFormat(fmt) && getBlockPixelSize(fmt) == size && isAstcSRGBFormat(fmt) == isSRGB) in getAstcFormatByBlockSize()
1356 inline void setASTCErrorColorBlock (void* dst, int blockWidth, int blockHeight, bool isSRGB) in setASTCErrorColorBlock() argument
1358 if (isSRGB) in setASTCErrorColorBlock()
1384 …void* dst, const Block128& blockData, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode) in decodeVoidExtentBlock() argument
1395 setASTCErrorColorBlock(dst, blockWidth, blockHeight, isSRGB); in decodeVoidExtentBlock()
1407 if (isSRGB) in decodeVoidExtentBlock()
2307 …int numPartitions, int blockWidth, int blockHeight, bool isSRGB, bool isLDRMode, const deUint32* c… in setTexelColors() argument
2327 if (isSRGB) in setTexelColors()
2348 const deUint32 c0 = (e0[channelNdx] << 8) | (isSRGB ? 0x80 : e0[channelNdx]); in setTexelColors()
[all …]
DtcuCompressedTexture.hpp88 CompressedTexFormat getAstcFormatByBlockSize (const IVec3& size, bool isSRGB);
DtcuTextureUtil.hpp47 bool isSRGB (TextureFormat format);
DtcuTextureUtil.cpp73 bool isSRGB (TextureFormat format) in isSRGB() function
DtcuTexLookupVerifier.cpp71 return isSRGB(access.getFormat()) ? sRGBToLinear(p) : p; in lookup()
DtcuTexture.cpp1235 return isSRGB(access.getFormat()) ? sRGBToLinear(p) : p; in lookup()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.hpp145 …xOffset, int numSamplesPerFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelB…
147 …u::Vec4& colorMaskFactor, const tcu::Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelB…
DrrFragmentOperations.cpp641 …xOffset, int numSamplesPerFragment, const Fragment* inputFragments, bool isSRGB, const tcu::PixelB… in executeColorWrite() argument
654 if (isSRGB) in executeColorWrite()
685 …, const Vec4& colorMaskFactor, const Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelB… in executeMaskedColorWrite() argument
699 if (isSRGB) in executeMaskedColorWrite()
772 bool sRGBTarget = state.sRGBEnabled && tcu::isSRGB(colorBuffer.getFormat()); in render()
/external/deqp/modules/gles3/functional/
Des3fTextureWrapTests.cpp333 const bool isSRGB = tcu::isSRGB(texFormat); in iterate() local
335 …const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 … in iterate()
Des3fFragmentOutputTests.cpp399 const bool isSRGB = tcu::isSRGB(dst.getFormat()); in renderFloatReference() local
423 dst.setPixel(isSRGB ? tcu::linearToSRGB(color) : color, x, y); in renderFloatReference()
Des3fFramebufferBlitTests.cpp429 const bool srcIsSRGB = tcu::isSRGB(srcFormat); in compare()
430 const bool dstIsSRGB = tcu::isSRGB(dstFormat); in compare()
Des3fFboTestUtil.cpp1102 DE_ASSERT(dst.type == tcu::TextureFormat::UNORM_INT8 && tcu::isSRGB(dst)); in getToSRGBConversionThreshold()
/external/skia/include/core/
DSkImageInfo.h217 bool isSRGB() const { return kSRGB_SkColorProfileType == fProfileType; } in isSRGB() function
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp667 tcu::clear(refAccess, (tcu::isSRGB(format) ? tcu::linearToSRGB(color) : color)); in genRenderbufferImage()
676 DE_ASSERT(!tcu::isSRGB(format)); in genRenderbufferImage()
686 DE_ASSERT(!tcu::isSRGB(format)); in genRenderbufferImage()
697 tcu::clear(refAccess, (tcu::isSRGB(format) ? tcu::linearToSRGB(color) : color)); in genRenderbufferImage()
Des31fTextureBorderClampTests.cpp420 if (tcu::isSRGB(texFormat)) in mapToFormatColorRepresentable()
926 …const bool isSRGB = texFormat.order == tcu::TextureFormat::sRGB || texFormat.order == tcu:… in verifyImage() local
927 const int colorErrorBits = (isNearestOnly && !isSRGB) ? (1) : (2); in verifyImage()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp3044 bool srcIsSRGB = tcu::isSRGB(src.raw().getFormat()); in blitResolveMultisampleFramebuffer()
3045 bool dstIsSRGB = tcu::isSRGB(dst.getFormat()); in blitResolveMultisampleFramebuffer()
3197 bool srcIsSRGB = tcu::isSRGB(src.getFormat()); in blitFramebuffer()
3198 bool dstIsSRGB = tcu::isSRGB(dst.getFormat()); in blitFramebuffer()
3374 bool isSRGB = tcu::isSRGB(colorBuf0.raw().getFormat()); in clear() local
3375 …Vec4 c = (isSRGB && m_sRGBUpdateEnabled) ? tcu::linearToSRGB(m_clearColor) : m_clearColor; in clear()
3485 if (m_sRGBUpdateEnabled && tcu::isSRGB(access.raw().getFormat())) in clearBufferfv()