Home
last modified time | relevance | path

Searched refs:linearToSRGB (Results 1 – 18 of 18) sorted by relevance

/external/deqp/framework/common/
DtcuTextureUtil.hpp50 Vec4 linearToSRGB (const Vec4& cl);
DtcuTextureUtil.cpp94 Vec4 linearToSRGB (const Vec4& cl) in linearToSRGB() function
117 return isSRGB(format) ? linearToSRGB(color) : color; in linearToSRGBIfNeeded()
/external/swiftshader/src/Shader/
DPixelProgram.hpp99 Float4 linearToSRGB(const Float4 &x);
DConstants.cpp282 …linearToSRGB12_16[i] = (unsigned short)(clamp(sw::linearToSRGB((float)i / 0x0FFF) * 0xFFFF + 0.5f,… in Constants()
DPixelProgram.cpp588 c[index].x = linearToSRGB(c[index].x); in rasterOperation()
589 c[index].y = linearToSRGB(c[index].y); in rasterOperation()
590 c[index].z = linearToSRGB(c[index].z); in rasterOperation()
1045 Float4 PixelProgram::linearToSRGB(const Float4 &x) // Approximates x^(1.0/2.2) in linearToSRGB() function in sw::PixelProgram
/external/swiftshader/src/Common/
DMath.hpp336 inline float linearToSRGB(float c) in linearToSRGB() function
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.cpp200 clearColor = tcu::linearToSRGB(clearColor); in ReferenceRenderer()
/external/deqp/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp125 return tcu::linearToSRGB(tcu::Vec4(0.2f, 0.3f, 0.4f, 1.0f)); in getColorReferenceSRGB()
1479 pixelConverted = tcu::linearToSRGB(pixelResultList[resultColorIdx]); in verifyResult()
1929 pixelConverted = tcu::linearToSRGB(pixelResultList[resultColorIdx]); in verifyResult()
Des31fFboSRGBWriteControlTests.cpp56 return linearToSRGB(tcu::Vec4(0.2f, 0.3f, 0.4f, 1.0f)); in getTestColorSRGB()
Des31fShaderFramebufferFetchTests.cpp583 tcu::clear(reference.getAccess(), tcu::linearToSRGB(fragmentColor)); in genReferenceTexture()
Des31fTextureBorderClampTests.cpp426 const tcu::Vec4 sRGB = tcu::linearToSRGB(normalizedRange); in mapToFormatColorRepresentable()
/external/deqp/framework/referencerenderer/
DrrFragmentOperations.cpp656 combinedColor = tcu::linearToSRGB(combinedColor); in executeColorWrite()
701 newColor = tcu::linearToSRGB(newColor); in executeMaskedColorWrite()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp361 refColor = linearToSRGB(refColor); in comparePixelToColorClearValue()
DvktApiCopiesAndBlittingTests.cpp2339 return isSRGB(format) ? linearToSRGB(color) : color; in linearToSRGBIfNeeded()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp3068 dst.setPixel((dstIsSRGB && convertSRGB) ? tcu::linearToSRGB(p) : p, x, y); in blitResolveMultisampleFramebuffer()
3228 dst.setPixel((dstIsSRGB && convertSRGB) ? tcu::linearToSRGB(p) : p, xo, yo); in blitFramebuffer()
3375 …Vec4 c = (isSRGB && m_sRGBUpdateEnabled) ? tcu::linearToSRGB(m_clearColor) : m_clearColor; in clear()
3486 color = tcu::linearToSRGB(color); in clearBufferfv()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp425 rgba[0] = sw::linearToSRGB(rgba[0]); in Clear()
426 rgba[1] = sw::linearToSRGB(rgba[1]); in Clear()
427 rgba[2] = sw::linearToSRGB(rgba[2]); in Clear()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassMultisampleTests.cpp1801 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in iterate()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp423 dst.setPixel(isSRGB ? tcu::linearToSRGB(color) : color, x, y); in renderFloatReference()