Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Dcommon.h122 static inline float linearToSRGB(float color) in linearToSRGB() function
134 static inline float4 linearToSRGB(float4 color) in linearToSRGB() function
136 return float4(linearToSRGB(color.r), linearToSRGB(color.g), linearToSRGB(color.b), color.a); in linearToSRGB()
Dgen_mipmap.metal88 texel1 = linearToSRGB(texel1);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DImageCopy.frag78 float linearToSRGB(float linear)
151 srcValue.r = linearToSRGB(srcValue.r);
152 srcValue.g = linearToSRGB(srcValue.g);
153 srcValue.b = linearToSRGB(srcValue.b);
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/gen/
DImageCopy.frag.00000001.inc146 // float linearToSRGB(float linear)
183 // srcValue . r = linearToSRGB(srcValue . r);
184 // srcValue . g = linearToSRGB(srcValue . g);
185 // srcValue . b = linearToSRGB(srcValue . b);
DImageCopy.frag.00000002.inc147 // float linearToSRGB(float linear)
184 // srcValue . r = linearToSRGB(srcValue . r);
185 // srcValue . g = linearToSRGB(srcValue . g);
186 // srcValue . b = linearToSRGB(srcValue . b);
DImageCopy.frag.00000011.inc149 // float linearToSRGB(float linear)
186 // srcValue . r = linearToSRGB(srcValue . r);
187 // srcValue . g = linearToSRGB(srcValue . g);
188 // srcValue . b = linearToSRGB(srcValue . b);
DImageCopy.frag.00000022.inc150 // float linearToSRGB(float linear)
187 // srcValue . r = linearToSRGB(srcValue . r);
188 // srcValue . g = linearToSRGB(srcValue . g);
189 // srcValue . b = linearToSRGB(srcValue . b);
DImageCopy.frag.00000021.inc149 // float linearToSRGB(float linear)
186 // srcValue . r = linearToSRGB(srcValue . r);
187 // srcValue . g = linearToSRGB(srcValue . g);
188 // srcValue . b = linearToSRGB(srcValue . b);
DImageCopy.frag.00000012.inc150 // float linearToSRGB(float linear)
187 // srcValue . r = linearToSRGB(srcValue . r);
188 // srcValue . g = linearToSRGB(srcValue . g);
189 // srcValue . b = linearToSRGB(srcValue . b);
DImageCopy.frag.00000010.inc163 // float linearToSRGB(float linear)
213 // srcValue . r = linearToSRGB(srcValue . r);
214 // srcValue . g = linearToSRGB(srcValue . g);
215 // srcValue . b = linearToSRGB(srcValue . b);
DImageCopy.frag.00000000.inc160 // float linearToSRGB(float linear)
210 // srcValue . r = linearToSRGB(srcValue . r);
211 // srcValue . g = linearToSRGB(srcValue . g);
212 // srcValue . b = linearToSRGB(srcValue . b);
DImageCopy.frag.00000020.inc163 // float linearToSRGB(float linear)
213 // srcValue . r = linearToSRGB(srcValue . r);
214 // srcValue . g = linearToSRGB(srcValue . g);
215 // srcValue . b = linearToSRGB(srcValue . b);
/third_party/skia/third_party/externals/swiftshader/src/System/
DMath.hpp338 inline float linearToSRGB(float c) in linearToSRGB() function
/third_party/vk-gl-cts/framework/common/
DtcuTextureUtil.hpp52 Vec4 linearToSRGB (const Vec4& cl);
/third_party/skia/third_party/externals/swiftshader/src/Common/
DMath.hpp370 inline float linearToSRGB(float c) in linearToSRGB() function
/third_party/skia/third_party/externals/swiftshader/src/Shader/
DPixelProgram.hpp81 Float4 linearToSRGB(const Float4 &x);
DConstants.cpp282 …linearToSRGB12_16[i] = (unsigned short)(clamp(sw::linearToSRGB((float)i / 0x0FFF) * 0xFFFF + 0.5f,… in Constants()
DPixelProgram.cpp655 c[index].x = linearToSRGB(c[index].x); in rasterOperation()
656 c[index].y = linearToSRGB(c[index].y); in rasterOperation()
657 c[index].z = linearToSRGB(c[index].z); in rasterOperation()
1187 Float4 PixelProgram::linearToSRGB(const Float4 &x) // Approximates x^(1.0/2.2) in linearToSRGB() function in sw::PixelProgram
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp576 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in iterateInternal()
599 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in iterateInternal()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DConstants.cpp286 …linearToSRGB12_16[i] = (unsigned short)(clamp(linearToSRGB((float)i / 0x0FFF) * 0xFFFF + 0.5f, 0.0… in Constants()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.cpp200 clearColor = tcu::linearToSRGB(clearColor); in ReferenceRenderer()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fSRGBDecodeTests.cpp125 return tcu::linearToSRGB(tcu::Vec4(0.2f, 0.3f, 0.4f, 1.0f)); in getColorReferenceSRGB()
1507 pixelConverted = tcu::linearToSRGB(pixelResultList[resultColorIdx]); in verifyResult()
1957 pixelConverted = tcu::linearToSRGB(pixelResultList[resultColorIdx]); in verifyResult()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrFragmentOperations.cpp712 combinedColor = tcu::linearToSRGB(combinedColor); in executeColorWrite()
757 newColor = tcu::linearToSRGB(newColor); in executeMaskedColorWrite()
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dmathutil.h946 inline uint8_t linearToSRGB(uint8_t linearValue) in linearToSRGB() function
/third_party/flutter/skia/third_party/externals/angle2/src/image_util/
Dimageformats.cpp380 gl::linearToSRGB(static_cast<uint8_t>((static_cast<uint16_t>(gl::sRGBToLinear(src1->R)) + in average()
384 gl::linearToSRGB(static_cast<uint8_t>((static_cast<uint16_t>(gl::sRGBToLinear(src1->G)) + in average()
388 gl::linearToSRGB(static_cast<uint8_t>((static_cast<uint16_t>(gl::sRGBToLinear(src1->B)) + in average()

12