Home
last modified time | relevance | path

Searched refs:scissorState (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/gpu/
DGrSurfaceFillContext.cpp382 GrScissorState scissorState(this->asSurfaceProxy()->backingStoreDimensions()); in internalClear() local
383 if (scissor && !scissorState.set(*scissor)) { in internalClear()
391 if (scissorState.enabled() && !this->caps()->performColorClearsAsDraws()) { in internalClear()
397 scissorState.setDisabled(); in internalClear()
401 scissorState.relaxTest(this->dimensions()); in internalClear()
405 if (!scissorState.enabled()) { in internalClear()
425 (scissorState.enabled() && this->caps()->performPartialClearsAsDraws()); in internalClear()
430 SkRect::Make(scissorState.rect())); in internalClear()
434 this->addOp(GrClearOp::MakeColor(fContext, scissorState, color)); in internalClear()
DGrAppliedClip.h41 const GrScissorState& scissorState() const { return fScissorState; } in scissorState() function
107 const GrScissorState& scissorState() const { return fHardClip.scissorState(); } in scissorState() function
DGrFixedClip.h26 const GrScissorState& scissorState() const { return fScissorState; } in scissorState() function
DGrOpFlushState.h197 (this->appliedClip() && this->appliedClip()->scissorState().enabled())); in bindPipelineAndScissorClip()
200 this->setScissorRect(this->appliedClip()->scissorState().rect()); in bindPipelineAndScissorClip()
DGrPipeline.cpp26 if (hardClip.scissorState().enabled()) { in GrPipeline()
DGrSurfaceDrawContext.cpp891 GrScissorState scissorState(this->asSurfaceProxy()->backingStoreDimensions()); in internalStencilClear() local
892 if (scissor && !scissorState.set(*scissor)) { in internalStencilClear()
898 (scissorState.enabled() && this->caps()->performPartialClearsAsDraws()); in internalStencilClear()
907 SkRect::Make(scissorState.rect()), ss)); in internalStencilClear()
909 this->addOp(GrClearOp::MakeStencilClip(fContext, scissorState, insideStencilMask)); in internalStencilClear()
/external/skqp/src/gpu/
DGrAppliedClip.h28 const GrScissorState& scissorState() const { return fScissorState; } in scissorState() function
83 const GrScissorState& scissorState() const { return fHardClip.scissorState(); } in scissorState() function
DGrFixedClip.h23 const GrScissorState& scissorState() const { return fScissorState; } in scissorState() function
DGrPipeline.cpp28 if (appliedClip.scissorState().enabled()) { in GrPipeline()
DGrRenderTargetContext.cpp834 appliedClip.scissorState(), in stencilPath()
/external/skqp/src/gpu/ops/
DGrMeshDrawOp.cpp108 if (clip.scissorState().enabled() || numPrimProcTextures) { in makePipeline()
109 fixedDynamicState = this->allocFixedDynamicState(clip.scissorState().rect()); in makePipeline()
DGrStencilAndCoverPathRenderer.cpp114 if (appliedClip.scissorState().enabled()) { in onDrawPath()
115 stencilClip.fixedClip().setScissor(appliedClip.scissorState().rect()); in onDrawPath()
DGrSimpleMeshDrawOpHelper.cpp145 if (clip.scissorState().enabled() || numPrimitiveProcessorProxies) { in internalMakePipeline()
146 fixedDynamicState = target->allocFixedDynamicState(clip.scissorState().rect()); in internalMakePipeline()
DGrDrawPathOp.cpp78 GrPipeline::FixedDynamicState fixedDynamicState(appliedClip.scissorState().rect()); in onExecute()
DGrTextureOp.cpp387 fixedDynamicState = target->allocFixedDynamicState(clip.scissorState().rect(), 0); in onPrepareDraws()
389 fixedDynamicState = target->allocFixedDynamicState(clip.scissorState().rect(), 1); in onPrepareDraws()
DGrAAFillRRectOp.cpp467 GrPipeline::FixedDynamicState fixedDynamicState(clip.scissorState().rect()); in onExecute()
/external/skia/src/gpu/gl/
DGrGLGpu.h400 void flushScissor(const GrScissorState& scissorState, int rtHeight, GrSurfaceOrigin rtOrigin) { in flushScissor() argument
401 this->flushScissorTest(GrScissorTest(scissorState.enabled())); in flushScissor()
402 if (scissorState.enabled()) { in flushScissor()
403 this->flushScissorRect(scissorState.rect(), rtHeight, rtOrigin); in flushScissor()
/external/skqp/src/gpu/gl/
DGrGLGpu.cpp1864 void GrGLGpu::flushScissor(const GrScissorState& scissorState, in flushScissor() argument
1867 if (scissorState.enabled()) { in flushScissor()
1869 scissor.setRelativeTo(rtViewport, scissorState.rect(), rtOrigin); in flushScissor()
2160 this->flushScissor(clip.scissorState(), glRT->getViewport(), origin); in clear()
2235 this->flushScissor(clip.scissorState(), glRT->getViewport(), origin); in clearStencilClip()
2695 GrScissorState scissorState; in onResolveRenderTarget() local
2696 scissorState.set(dirtyRect); in onResolveRenderTarget()
2697 this->flushScissor(scissorState, vp, kDirtyRectOrigin); in onResolveRenderTarget()
/external/skqp/src/gpu/ccpr/
DGrCCDrawPathsOp.cpp406 GrPipeline::FixedDynamicState fixedDynamicState(clip.scissorState().rect()); in onExecute()
/external/skia/tests/
DGrClipStackTest.cpp1903 REPORTER_ASSERT(r, out.scissorState().enabled() && in DEF_TEST()
1904 out.scissorState().rect() == expectedScissor, in DEF_TEST()
1915 REPORTER_ASSERT(r, out.scissorState().enabled(), "Coverage FPs should still set scissor"); in DEF_TEST()