Home
last modified time | relevance | path

Searched refs:stencilRef (Results 1 – 22 of 22) sorted by relevance

/third_party/skia/src/gpu/vk/
DGrVkRenderPass.cpp134 VkAttachmentReference stencilRef; in Create() local
270 stencilRef.attachment = currentAttachment++; in Create()
271 stencilRef.layout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; in Create()
273 clearValueCount = std::max(clearValueCount, stencilRef.attachment + 1); in Create()
276 stencilRef.attachment = VK_ATTACHMENT_UNUSED; in Create()
277 stencilRef.layout = VK_IMAGE_LAYOUT_UNDEFINED; in Create()
279 subpassDescMain.pDepthStencilAttachment = &stencilRef; in Create()
/third_party/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.cpp81 unsigned int stencilRef = 0; in set_stencil_ref() local
85 stencilRef = stencilSettings.postOriginCCWFace(info.origin()).fRef; in set_stencil_ref()
87 stencilRef = stencilSettings.singleSidedFace().fRef; in set_stencil_ref()
89 gpu->currentCommandList()->setStencilRef(stencilRef); in set_stencil_ref()
DGrD3DCommandList.h163 void setStencilRef(unsigned int stencilRef);
DGrD3DCommandList.cpp321 void GrD3DDirectCommandList::setStencilRef(unsigned int stencilRef) { in setStencilRef() argument
323 fCommandList->OMSetStencilRef(stencilRef); in setStencilRef()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fStencilTexturingTests.cpp394 static bool compareStencilToRed (tcu::TestLog& log, const tcu::ConstPixelBufferAccess& stencilRef, … in compareStencilToRed() argument
399 DE_ASSERT(stencilRef.getFormat().order == TextureFormat::S); in compareStencilToRed()
400 …DE_ASSERT(stencilRef.getWidth() == result.getWidth() && stencilRef.getHeight() == result.getHeight… in compareStencilToRed()
402 for (int y = 0; y < stencilRef.getHeight(); y++) in compareStencilToRed()
404 for (int x = 0; x < stencilRef.getWidth(); x++) in compareStencilToRed()
406 const int ref = stencilRef.getPixStencil(x, y); in compareStencilToRed()
427 log << TestLog::Image("Reference", "Reference stencil buffer", stencilToRedAccess(stencilRef)); in compareStencilToRed()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c92 LLVMValueRef stencilRef, in lp_build_stencil_test_single() argument
116 stencilRef = LLVMBuildAnd(builder, stencilRef, valuemask, ""); in lp_build_stencil_test_single()
121 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals); in lp_build_stencil_test_single()
171 LLVMValueRef stencilRef, in lp_build_stencil_op_single() argument
207 res = stencilRef; in lp_build_stencil_op_single()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp654 GLint stencilRef, in setStencilFuncsFront() argument
662 (stencilRef < static_cast<int>(maxStencil)) ? stencilRef : maxStencil); in setStencilFuncsFront()
666 mCurStencilRef = stencilRef; in setStencilFuncsFront()
DStateManager9.h109 GLint stencilRef,
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp77 mState.stencilRef = 0; in Context()
483 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
486 mState.stencilRef != stencilRef || in setStencilParams()
490 mState.stencilRef = (stencilRef > 0) ? stencilRef : 0; in setStencilParams()
1986 …case GL_STENCIL_REF: *params = mState.stencilRef; return t… in getIntegerv()
2924 …device->setStencilReference((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef : maxStenc… in applyState()
2946 …device->setStencilReferenceCCW((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef : maxSt… in applyState()
DContext.h325 GLint stencilRef; member
436 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/third_party/vk-gl-cts/modules/egl/
DteglRenderTests.cpp125 int stencilRef; member
165 drawOp.stencilRef = rnd.getInt(minStencilRef, maxStencilRef); in randomizeDrawOp()
333 state.fragOps.stencilStates[0].ref = drawOp.stencilRef; in toReferenceRenderState()
611 gl.stencilFunc(GL_LEQUAL, drawOp.stencilRef, ~0u); in drawGLES2()
/third_party/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h523 uint32 stencilRef; member
2067 uint32 stencilRef; member
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.h391 uint32 stencilRef);
Dsvga_cmd_vgpu10.c417 uint32 stencilRef) in SVGA3D_vgpu10_SetDepthStencilState() argument
421 SVGA3D_COPY_BASIC_2(depthStencilId, stencilRef); in SVGA3D_vgpu10_SetDepthStencilState()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthStencilTests.cpp821 int stencilRef; in init() member
874 params.stencil[visible].reference = functionCases[ndx].stencilRef; in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDepthStencilTests.cpp821 int stencilRef; in init() member
874 params.stencil[visible].reference = functionCases[ndx].stencilRef; in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageDepthStencilDescriptorTests.cpp1249 tcu::TextureLevel stencilRef(tcuBufferFormat, iExtent.x(), iExtent.y(), iExtent.z()); in iterate() local
1250 auto colorPIxels = stencilRef.getAccess(); in iterate()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.h281 void setDepthStencilState(const d3d11::DepthStencilState *depthStencilState, UINT stencilRef);
DStateManager11.cpp2539 UINT stencilRef) in setDepthStencilState() argument
2545 deviceContext->OMSetDepthStencilState(depthStencilState->get(), stencilRef); in setDepthStencilState()
2549 deviceContext->OMSetDepthStencilState(nullptr, stencilRef); in setDepthStencilState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DState.cpp1033 void State::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
1035 if (mDepthStencil.stencilFunc != stencilFunc || mStencilRef != stencilRef || in setStencilParams()
1039 mStencilRef = stencilRef; in setStencilParams()
DState.h211 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c1564 SVGA3D_DUMP_PARAMETER(stencilRef, u); in SVGA3D_DUMP_HEADER()