Home
last modified time | relevance | path

Searched refs:srcSRGB (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/Renderer/
DBlitter.cpp1112 bool srcSRGB = Surface::isSRGBformat(state.sourceFormat); in ApplyScaleAndClamp() local
1115 …if(state.convertSRGB && ((srcSRGB && !preScaled) || dstSRGB)) // One of the formats is sRGB enco… in ApplyScaleAndClamp()
1119 value = (srcSRGB && !preScaled) ? sRGBtoLinear(value) : LinearToSRGB(value); in ApplyScaleAndClamp()
/external/swiftshader/src/Device/
DBlitter.cpp1356 bool srcSRGB = Surface::isSRGBformat(state.sourceFormat); in ApplyScaleAndClamp() local
1359 …if(state.convertSRGB && ((srcSRGB && !preScaled) || dstSRGB)) // One of the formats is sRGB enco… in ApplyScaleAndClamp()
1363 value = (srcSRGB && !preScaled) ? sRGBtoLinear(value) : LinearToSRGB(value); in ApplyScaleAndClamp()