Home
last modified time | relevance | path

Searched refs:clamp01 (Results 1 – 15 of 15) 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.cpp227 z = clamp01(z); in clearDepth()
DlibGL.cpp382 …context->setBlendColor(gl::clamp01(red), gl::clamp01(green), gl::clamp01(blue), gl::clamp01(alpha)… in glBlendColor()
3906 context->setSampleCoverageParams(gl::clamp01(value), invert == GL_TRUE); in glSampleCoverage()
/external/swiftshader/src/OpenGL/libGLES_CM/
Dmathutil.h51 using sw::clamp01;
DlibGLES_CM.cpp91 context->setAlphaFunc(func, clamp01(ref)); in AlphaFunc()
3471 context->setSampleCoverageParams(es1::clamp01(value), invert == GL_TRUE); in SampleCoverage()
3689 …context->setTextureEnvColor(clamp01(params[0]), clamp01(params[1]), clamp01(params[2]), clamp01(pa… in TexEnvfv()
DDevice.cpp192 z = clamp01(z); in clearDepth()
DContext.cpp1752 float zNear = clamp01(mState.zNear); in applyRenderTarget()
1753 float zFar = clamp01(mState.zFar); in applyRenderTarget()
2687 float depth = clamp01(mState.depthClearValue); in clear()
/external/swiftshader/src/OpenGL/libGLESv2/
Dmathutil.h53 using sw::clamp01;
DContext.cpp2789 float zNear = clamp01(mState.zNear); in applyRenderTarget()
2790 float zFar = clamp01(mState.zFar); in applyRenderTarget()
3415 float depth = clamp01(mState.depthClearValue); in clear()
3486 float depth = clamp01(value); in clearDepthBuffer()
DlibGLESv2.cpp346 …context->setBlendColor(es2::clamp01(red), es2::clamp01(green), es2::clamp01(blue), es2::clamp01(al… in BlendColor()
4691 context->setSampleCoverageParams(es2::clamp01(value), invert == GL_TRUE); in SampleCoverage()
DDevice.cpp224 z = clamp01(z); in clearDepth()
/external/swiftshader/src/Common/
DMath.hpp194 inline float clamp01(float x) in clamp01() function
/external/swiftshader/src/D3D8/
DDirect3DDevice8.cpp391 z = sw::clamp01(z); in Clear()
/external/swiftshader/src/D3D9/
DDirect3DDevice9.cpp437 z = sw::clamp01(z); in Clear()