Home
last modified time | relevance | path

Searched refs:convertSRGB (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DBlitter.hpp31 Options(bool filter, bool useStencil, bool convertSRGB) in Options()
32 : writeMask(0xF), clearOperation(false), filter(filter), useStencil(useStencil), convertSRGB(convertSRGB), clampToEdge(false) {} in Options()
34 : writeMask(writeMask), clearOperation(true), filter(false), useStencil(false), convertSRGB(true), clampToEdge(false) {} in Options()
52 bool convertSRGB : 1; member
H A DBlitter.cpp1115 if(state.convertSRGB && ((srcSRGB && !preScaled) || dstSRGB)) // One of the formats is sRGB encoded. in ApplyScaleAndClamp()
1351 if(state.convertSRGB && Surface::isSRGBformat(state.sourceFormat)) // sRGB -> RGB in generate()
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp3085 const bool convertSRGB = m_sRGBUpdateEnabled && glu::isContextTypeES(getType());
3087 if (!convertSRGB)
3107 dst.setPixel((dstIsSRGB && convertSRGB) ? tcu::linearToSRGB(p) : p, x, y);
3238 const bool convertSRGB = m_sRGBUpdateEnabled && glu::isContextTypeES(getType());
3240 if (!convertSRGB)
3267 dst.setPixel((dstIsSRGB && convertSRGB) ? tcu::linearToSRGB(p) : p, xo, yo);

Completed in 8 milliseconds