Home
last modified time | relevance | path

Searched refs:clamp01 (Results 1 – 14 of 14) sorted by relevance

/external/swiftshader/src/OpenGL/libGL/
Dmathutil.h51 using sw::clamp01;
DContext.cpp1668 float zNear = clamp01(mState.zNear); in applyRenderTarget()
1669 float zFar = clamp01(mState.zFar); in applyRenderTarget()
2391 float depth = clamp01(mState.depthClearValue); in clear()
3206 device->setAlphaReference(gl::clamp01(ref)); in alphaFunc()
DDevice.cpp214 z = clamp01(z); in clearDepth()
DlibGL.cpp382 …context->setBlendColor(gl::clamp01(red), gl::clamp01(green), gl::clamp01(blue), gl::clamp01(alpha)… in glBlendColor()
3925 context->setSampleCoverageParams(gl::clamp01(value), invert == GL_TRUE); in glSampleCoverage()
/external/swiftshader/src/OpenGL/libGLES_CM/
Dmathutil.h51 using sw::clamp01;
DlibGLES_CM.cpp125 context->setAlphaFunc(func, clamp01(ref)); in AlphaFunc()
3494 context->setSampleCoverageParams(es1::clamp01(value), invert == GL_TRUE); in SampleCoverage()
3712 …context->setTextureEnvColor(clamp01(params[0]), clamp01(params[1]), clamp01(params[2]), clamp01(pa… in TexEnvfv()
DDevice.cpp179 z = clamp01(z); in clearDepth()
DContext.cpp1717 float zNear = clamp01(mState.zNear); in applyRenderTarget()
1718 float zFar = clamp01(mState.zFar); in applyRenderTarget()
2652 float depth = clamp01(mState.depthClearValue); in clear()
/external/swiftshader/src/OpenGL/libGLESv2/
Dmathutil.h52 using sw::clamp01;
DContext.cpp2706 float zNear = clamp01(mState.zNear); in applyRenderTarget()
2707 float zFar = clamp01(mState.zFar); in applyRenderTarget()
3329 float depth = clamp01(mState.depthClearValue); in clear()
3392 float depth = clamp01(value); in clearDepthBuffer()
DDevice.cpp215 z = clamp01(z); in clearDepth()
DlibGLESv2.cpp405 …context->setBlendColor(es2::clamp01(red), es2::clamp01(green), es2::clamp01(blue), es2::clamp01(al… in BlendColor()
4774 context->setSampleCoverageParams(es2::clamp01(value), invert == GL_TRUE); in SampleCoverage()
/external/swiftshader/src/Common/
DMath.hpp181 inline float clamp01(float x) in clamp01() function
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp437 z = sw::clamp01(z); in Clear()