Home
last modified time | relevance | path

Searched refs:stencilSettings (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkPipeline.cpp151 const GrStencilSettings& stencilSettings, in setup_depth_stencil_state() argument
162 stencilInfo->stencilTestEnable = !stencilSettings.isDisabled(); in setup_depth_stencil_state()
163 if (!stencilSettings.isDisabled()) { in setup_depth_stencil_state()
166 stencilInfo->front.failOp = stencil_op_to_vk_stencil_op(stencilSettings.failOp(face)); in setup_depth_stencil_state()
167 stencilInfo->front.passOp = stencil_op_to_vk_stencil_op(stencilSettings.passOp(face)); in setup_depth_stencil_state()
169 stencilInfo->front.compareOp = stencil_func_to_vk_compare_op(stencilSettings.func(face)); in setup_depth_stencil_state()
170 stencilInfo->front.compareMask = stencilSettings.funcMask(face); in setup_depth_stencil_state()
176 stencilInfo->back.failOp = stencil_op_to_vk_stencil_op(stencilSettings.failOp(face)); in setup_depth_stencil_state()
177 stencilInfo->back.passOp = stencil_op_to_vk_stencil_op(stencilSettings.passOp(face)); in setup_depth_stencil_state()
179 stencilInfo->back.compareOp = stencil_func_to_vk_compare_op(stencilSettings.func(face)); in setup_depth_stencil_state()
[all …]
/external/skia/src/gpu/gl/
DGrGLPathRendering.cpp292 void GrGLPathRendering::flushPathStencilSettings(const GrStencilSettings& stencilSettings) { in flushPathStencilSettings() argument
293 if (fHWPathStencilSettings != stencilSettings) { in flushPathStencilSettings()
294 SkASSERT(stencilSettings.isValid()); in flushPathStencilSettings()
298 GrStencilFunc func = stencilSettings.func(kFront_Face); in flushPathStencilSettings()
299 uint16_t funcRef = stencilSettings.funcRef(kFront_Face); in flushPathStencilSettings()
300 uint16_t funcMask = stencilSettings.funcMask(kFront_Face); in flushPathStencilSettings()
308 fHWPathStencilSettings = stencilSettings; in flushPathStencilSettings()
DGrGLGpu.cpp2803 void GrGLGpu::flushStencil(const GrStencilSettings& stencilSettings) { in flushStencil() argument
2804 if (fHWStencilSettings != stencilSettings) { in flushStencil()
2805 if (stencilSettings.isDisabled()) { in flushStencil()
2816 if (!stencilSettings.isDisabled()) { in flushStencil()
2819 stencilSettings, in flushStencil()
2823 stencilSettings, in flushStencil()
2828 stencilSettings, in flushStencil()
2833 fHWStencilSettings = stencilSettings; in flushStencil()
/external/skia/src/gpu/batches/
DGrDrawPathBatch.cpp28 &desc, &this->stencilSettings()); in onDraw()
94 this->stencilSettings() != that->stencilSettings() || in onCombineIfPossible()
129 &desc, &this->stencilSettings()); in onDraw()
DGrDrawPathBatch.h41 const GrStencilSettings& stencilSettings() const { return fStencilSettings; } in stencilSettings() function
/external/skia/src/gpu/
DGrDrawTarget.cpp307 GrStencilSettings stencilSettings; in stencilPath() local
310 this->getPathStencilSettingsForFilltype(fill, sb, &stencilSettings); in stencilPath()
314 stencilSettings, clip.scissorState(), in stencilPath()
342 GrStencilSettings stencilSettings; in drawPathBatch() local
345 this->getPathStencilSettingsForFilltype(batch->fillType(), sb, &stencilSettings); in drawPathBatch()
346 batch->setStencilSettings(stencilSettings); in drawPathBatch()
DGrClipMaskManager.cpp822 GrStencilSettings stencilSettings[GrStencilSettings::kMaxStencilClipPasses]; in createStencilClipMask() local
835 stencilSettings); in createStencilClipMask()
884 *pipelineBuilder.stencil() = stencilSettings[p]; in createStencilClipMask()