Searched refs:stencilRef (Results 1 - 13 of 13) sorted by relevance

/external/deqp/modules/gles31/functional/
H A Des31fStencilTexturingTests.cpp392 static bool compareStencilToRed (tcu::TestLog& log, const tcu::ConstPixelBufferAccess& stencilRef, const tcu::ConstPixelBufferAccess& result) argument
397 DE_ASSERT(stencilRef.getFormat().order == TextureFormat::S);
398 DE_ASSERT(stencilRef.getWidth() == result.getWidth() && stencilRef.getHeight() == result.getHeight());
400 for (int y = 0; y < stencilRef.getHeight(); y++)
402 for (int x = 0; x < stencilRef.getWidth(); x++)
404 const int ref = stencilRef.getPixStencil(x, y);
425 log << TestLog::Image("Reference", "Reference stencil buffer", stencilToRedAccess(stencilRef));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.c91 * \param stencilRef the stencil reference value, replicated as a vector
98 LLVMValueRef stencilRef,
120 /* compute stencilRef = stencilRef & valuemask */
122 stencilRef = LLVMBuildAnd(builder, stencilRef, valuemask, "");
127 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals);
177 LLVMValueRef stencilRef,
213 res = stencilRef;
96 lp_build_stencil_test_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
174 lp_build_stencil_op_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, enum stencil_op op, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.c91 * \param stencilRef the stencil reference value, replicated as a vector
98 LLVMValueRef stencilRef,
120 /* compute stencilRef = stencilRef & valuemask */
122 stencilRef = LLVMBuildAnd(builder, stencilRef, valuemask, "");
127 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals);
177 LLVMValueRef stencilRef,
213 res = stencilRef;
96 lp_build_stencil_test_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
174 lp_build_stencil_op_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, enum stencil_op op, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DContext.h87 GLint stencilRef; member in struct:gl::State
178 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
H A DContext.cpp110 mState.stencilRef = 0;
579 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) argument
582 mState.stencilRef = (stencilRef > 0) ? stencilRef : 0;
1760 case GL_STENCIL_REF: *params = mState.stencilRef; break;
2436 mRenderer->setDepthStencilState(mState.depthStencil, mState.stencilRef, mState.stencilBackRef,
/external/deqp/modules/egl/
H A DteglRenderTests.cpp133 int stencilRef; member in struct:deqp::egl::__anon19037::DrawPrimitiveOp
157 drawOp.stencilRef = rnd.getInt(minStencilRef, maxStencilRef);
291 state.fragOps.stencilStates[0].ref = drawOp.stencilRef;
591 glStencilFunc(GL_LEQUAL, drawOp.stencilRef, ~0u);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/
H A DRenderer.h112 virtual void setDepthStencilState(const gl::DepthStencilState &depthStencilState, int stencilRef,
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d11/
H A DRenderer11.h71 virtual void setDepthStencilState(const gl::DepthStencilState &depthStencilState, int stencilRef,
H A DRenderer11.cpp799 void Renderer11::setDepthStencilState(const gl::DepthStencilState &depthStencilState, int stencilRef, argument
804 stencilRef != mCurStencilRef || stencilBackRef != mCurStencilBackRef)
807 stencilRef != stencilBackRef ||
826 UINT dxStencilRef = std::min<UINT>(stencilRef, 0xFFu);
831 mCurStencilRef = stencilRef;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d9/
H A DRenderer9.h71 virtual void setDepthStencilState(const gl::DepthStencilState &depthStencilState, int stencilRef,
H A DRenderer9.cpp982 void Renderer9::setDepthStencilState(const gl::DepthStencilState &depthStencilState, int stencilRef, argument
987 bool stencilRefChanged = mForceSetDepthStencilState || stencilRef != mCurStencilRef ||
1018 stencilRef != stencilBackRef ||
1034 (stencilRef < (int)maxStencil) ? stencilRef : maxStencil);
1069 mCurStencilRef = stencilRef;
/external/deqp/modules/gles2/functional/
H A Des2fDepthStencilTests.cpp821 int stencilRef;
874 params.stencil[visible].reference = functionCases[ndx].stencilRef;
/external/deqp/modules/gles3/functional/
H A Des3fDepthStencilTests.cpp821 int stencilRef;
874 params.stencil[visible].reference = functionCases[ndx].stencilRef;

Completed in 310 milliseconds