Home
last modified time | relevance | path

Searched refs:writeMask (Results 1 – 25 of 50) sorted by relevance

12

/external/skia/src/gpu/gl/
DGrGLPathRendering.cpp119 GrGLint writeMask = fHWPathStencilSettings.writeMask(GrStencilSettings::kFront_Face); in onStencilPath() local
122 GL_CALL(StencilFillPath(glPath->pathID(), fillMode, writeMask)); in onStencilPath()
125 GL_CALL(StencilStrokePath(glPath->pathID(), 0xffff, writeMask)); in onStencilPath()
140 GrGLint writeMask = fHWPathStencilSettings.writeMask(GrStencilSettings::kFront_Face); in onDrawPath() local
144 GL_CALL(StencilFillPath(glPath->pathID(), fillMode, writeMask)); in onDrawPath()
146 GL_CALL(StencilThenCoverStrokePath(glPath->pathID(), 0xffff, writeMask, in onDrawPath()
149 GL_CALL(StencilThenCoverFillPath(glPath->pathID(), fillMode, writeMask, in onDrawPath()
170 GrGLint writeMask = in onDrawPaths() local
171 fHWPathStencilSettings.writeMask(GrStencilSettings::kFront_Face); in onDrawPaths()
177 fillMode, writeMask, gXformType2GLType[transformType], in onDrawPaths()
[all …]
/external/mesa3d/src/glx/
Dpixel.c284 GLint writeMask, i; in EmptyBitmap() local
317 writeMask = highBitMask; in EmptyBitmap()
323 writeMask &= HighBitsMask[bitOffset + elementsLeft]; in EmptyBitmap()
335 currentByte = (currentByte & ~writeMask) | in EmptyBitmap()
336 (writeByte & writeMask); in EmptyBitmap()
340 currentByte = (currentByte & ~writeMask) | in EmptyBitmap()
341 (sourceImage[0] & writeMask); in EmptyBitmap()
359 writeMask = 0xff; in EmptyBitmap()
363 writeMask &= lowBitMask; in EmptyBitmap()
370 currentByte = (currentByte & ~writeMask) | (writeByte & writeMask); in EmptyBitmap()
/external/mesa3d/src/mesa/program/
Dprog_execute.c483 GLuint writeMask = dstReg->WriteMask; in store_vector4() local
505 if (writeMask & WRITEMASK_X) { in store_vector4()
508 writeMask &= ~WRITEMASK_X; in store_vector4()
510 if (writeMask & WRITEMASK_Y) { in store_vector4()
513 writeMask &= ~WRITEMASK_Y; in store_vector4()
515 if (writeMask & WRITEMASK_Z) { in store_vector4()
518 writeMask &= ~WRITEMASK_Z; in store_vector4()
520 if (writeMask & WRITEMASK_W) { in store_vector4()
523 writeMask &= ~WRITEMASK_W; in store_vector4()
534 if (writeMask & WRITEMASK_X) in store_vector4()
[all …]
Dprog_print.c523 _mesa_writemask_string(GLuint writeMask) in _mesa_writemask_string() argument
528 if (writeMask == WRITEMASK_XYZW) in _mesa_writemask_string()
532 if (writeMask & WRITEMASK_X) in _mesa_writemask_string()
534 if (writeMask & WRITEMASK_Y) in _mesa_writemask_string()
536 if (writeMask & WRITEMASK_Z) in _mesa_writemask_string()
538 if (writeMask & WRITEMASK_W) in _mesa_writemask_string()
Dprog_print.h66 _mesa_writemask_string(GLuint writeMask);
/external/deqp/modules/gles3/functional/
Des3fDepthStencilTests.cpp82 deUint32 writeMask; member
91 , writeMask (0) in StencilParams()
127 << " write mask = " << tcu::toHex(params.writeMask) << "\n" in operator <<()
360 cmd.params.stencil[rr::FACETYPE_FRONT].writeMask = 0u; in generateStencilVisualizeCommands()
376 dst.writeMask = src.writeMask; in translateStencilState()
447 glStencilMaskSeparate(glFace, sParams.writeMask); in render()
769 params.stencil[ndx].writeMask = rnd.getUint32(); in randomDepthStencilState()
823 deUint32 writeMask; in init() member
879 params.stencil[visible].writeMask = functionCases[ndx].writeMask; in init()
887 params.stencil[notVisible].writeMask = ~0u; in init()
[all …]
Des3fRandomFragmentOpTests.cpp85 dst.writeMask = src.writeMask; in translateStencilState()
175 wrapper.glStencilMaskSeparate(glFace, sParams.writeMask); in setGLState()
/external/deqp/modules/gles2/functional/
Des2fDepthStencilTests.cpp82 deUint32 writeMask; member
91 , writeMask (0) in StencilParams()
127 << " write mask = " << tcu::toHex(params.writeMask) << "\n" in operator <<()
360 cmd.params.stencil[rr::FACETYPE_FRONT].writeMask = 0u; in generateStencilVisualizeCommands()
376 dst.writeMask = src.writeMask; in translateStencilState()
447 glStencilMaskSeparate(glFace, sParams.writeMask); in render()
769 params.stencil[ndx].writeMask = rnd.getUint32(); in randomDepthStencilState()
823 deUint32 writeMask; in init() member
879 params.stencil[visible].writeMask = functionCases[ndx].writeMask; in init()
887 params.stencil[notVisible].writeMask = ~0u; in init()
[all …]
Des2fRandomFragmentOpTests.cpp85 dst.writeMask = src.writeMask; in translateStencilState()
175 wrapper.glStencilMaskSeparate(glFace, sParams.writeMask); in setGLState()
/external/mesa3d/src/mesa/swrast/
Ds_stencil.c554 const GLuint writeMask = ctx->Stencil.WriteMask[0]; in _swrast_clear_stencil_buffer() local
561 if (!rb || writeMask == 0) in _swrast_clear_stencil_buffer()
571 if ((writeMask & stencilMax) != stencilMax) { in _swrast_clear_stencil_buffer()
590 GLubyte clear = ctx->Stencil.Clear & writeMask & 0xff; in _swrast_clear_stencil_buffer()
591 GLubyte mask = (~writeMask) & 0xff; in _swrast_clear_stencil_buffer()
617 GLuint clear = (ctx->Stencil.Clear & writeMask & 0xff) << 24; in _swrast_clear_stencil_buffer()
618 GLuint mask = (((~writeMask) & 0xff) << 24) | 0xffffff; in _swrast_clear_stencil_buffer()
630 GLuint clear = ctx->Stencil.Clear & writeMask & 0xff; in _swrast_clear_stencil_buffer()
631 GLuint mask = 0xffffff00 | ((~writeMask) & 0xff); in _swrast_clear_stencil_buffer()
Ds_depth.c657 const GLuint writeMask = ctx->Stencil.WriteMask[0]; in _swrast_clear_depth_stencil_buffer() local
676 if ((writeMask & stencilMax) != stencilMax) { in _swrast_clear_depth_stencil_buffer()
698 mask = ((~writeMask) & 0xff) << 24; in _swrast_clear_depth_stencil_buffer()
699 clear |= (ctx->Stencil.Clear & writeMask & 0xff) << 24; in _swrast_clear_depth_stencil_buffer()
702 mask = ((~writeMask) & 0xff); in _swrast_clear_depth_stencil_buffer()
703 clear |= (ctx->Stencil.Clear & writeMask & 0xff); in _swrast_clear_depth_stencil_buffer()
726 const GLuint sClear = ctx->Stencil.Clear & writeMask; in _swrast_clear_depth_stencil_buffer()
727 const GLuint sMask = (~writeMask) & 0xff; in _swrast_clear_depth_stencil_buffer()
/external/skia/src/gpu/
DGrStencil.h187 uint16_t writeMask(Face f) const { return fWriteMasks[f]; } in writeMask() function
194 void setWriteMask(Face f, unsigned short writeMask) { fWriteMasks[f] = writeMask; } in setWriteMask() argument
211 unsigned short writeMask) { in setSame() argument
217 fWriteMasks[kFront_Face] = fWriteMasks[kBack_Face] = writeMask; in setSame()
DGrClipMaskManager.cpp1024 uint16_t writeMask = settings->writeMask(face); in adjustStencilParams() local
1030 writeMask &= userBits; in adjustStencilParams()
1067 settings->setWriteMask(face, writeMask); in adjustStencilParams()
/external/deqp/modules/glshared/
DglsInteractionTestUtil.hpp67 deUint32 writeMask; member
76 , writeMask (0) in StencilState()
DglsInteractionTestUtil.cpp180 state.stencil[ndx].writeMask = rnd.getUint32(); in computeRandomRenderState()
/external/deqp/framework/referencerenderer/
DrrRenderState.hpp182 deUint32 writeMask; member
191 , writeMask (~0U) in StencilState()
/external/deqp/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl189 …ilOp depthFailOp, VkCompareOp compareOp, deUint32 compareMask, deUint32 writeMask, deUint32 refere… argument
197 res.writeMask = writeMask;
DvkDeviceDriverImpl.inl425 …cilWriteMask (VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, deUint32 writeMask) const
427 m_vk.cmdSetStencilWriteMask(commandBuffer, faceMask, writeMask);
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineStencilTests.cpp733 front.writeMask = config.frontWriteMask; in StencilTestInstance()
737 back.writeMask = config.backWriteMask; in StencilTestInstance()
976 refStencilFront.writeMask = StencilTest::s_stencilStateConfigs[quadNdx].frontWriteMask; in verifyImage()
980 refStencilBack.writeMask = StencilTest::s_stencilStateConfigs[quadNdx].backWriteMask; in verifyImage()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_translate.c327 const uint writeMask in get_result_flags() local
334 if (writeMask & TGSI_WRITEMASK_X) in get_result_flags()
336 if (writeMask & TGSI_WRITEMASK_Y) in get_result_flags()
338 if (writeMask & TGSI_WRITEMASK_Z) in get_result_flags()
340 if (writeMask & TGSI_WRITEMASK_W) in get_result_flags()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateDSTests.cpp540 const deUint32 writeMask, const deUint32 readMask, in StencilParamsBasicTestInstance() argument
545 m_writeMask = writeMask; in StencilParamsBasicTestInstance()
703 const deUint32 writeMask, const deUint32 readMask, in StencilParamsBasicTestCase() argument
706 , m_writeMask (writeMask) in StencilParamsBasicTestCase()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp171 stencilInfo->front.writeMask = 0; in setup_depth_stencil_state()
181 stencilInfo->back.writeMask = 0; in setup_depth_stencil_state()
/external/deqp/framework/opengl/simplereference/
DsglrReferenceContext.cpp308 , writeMask (~0u) in StencilState()
2970 if (setFront) m_stencil[rr::FACETYPE_FRONT].writeMask = mask; in stencilMaskSeparate()
2971 if (setBack) m_stencil[rr::FACETYPE_BACK].writeMask = mask; in stencilMaskSeparate()
3010 …r::MultisamplePixelBufferAccess& access, int s, int x, int y, deUint32 stencil, deUint32 writeMask) in writeMaskedStencil() argument
3015 const deUint32 newVal = (oldVal & ~writeMask) | (stencil & writeMask); in writeMaskedStencil()
3102 writeMaskedStencil(dst, 0, x, y, srcStencil, m_stencil[rr::FACETYPE_FRONT].writeMask); in blitResolveMultisampleFramebuffer()
3274 writeMaskedStencil(dst, sampleNdx, xo, yo, srcStencil, m_stencil[rr::FACETYPE_FRONT].writeMask); in blitFramebuffer()
3403 if ((m_stencil[rr::FACETYPE_FRONT].writeMask & ((1u<<stencilBits)-1u)) != ((1u<<stencilBits)-1u)) in clear()
3409 writeMaskedStencil(access, s, x, y, stencil, m_stencil[rr::FACETYPE_FRONT].writeMask); in clear()
3453 if (!isEmpty(area) && m_stencil[rr::FACETYPE_FRONT].writeMask != 0) in clearBufferiv()
[all …]
/external/vulkan-validation-layers/tests/
Dvkrenderframework.h219 void SetStencilWriteMask(VkStencilFaceFlags faceMask, uint32_t writeMask);
Dvkrenderframework.cpp1182 m_ds_state.back.writeMask = 0xff; in VkPipelineObj()
1552 uint32_t writeMask) { in SetStencilWriteMask() argument
1553 vkCmdSetStencilWriteMask(handle(), faceMask, writeMask); in SetStencilWriteMask()

12