Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.cpp178 GrScissorState scissorState(this->asSurfaceProxy()->backingStoreDimensions()); in internalClear() local
179 if (scissor && !scissorState.set(*scissor)) { in internalClear()
187 if (scissorState.enabled() && !this->caps()->performColorClearsAsDraws()) { in internalClear()
193 scissorState.setDisabled(); in internalClear()
197 scissorState.relaxTest(this->dimensions()); in internalClear()
201 if (!scissorState.enabled()) { in internalClear()
221 (scissorState.enabled() && this->caps()->performPartialClearsAsDraws()); in internalClear()
226 SkRect::Make(scissorState.rect())); in internalClear()
230 this->addOp(ClearOp::MakeColor(fContext, scissorState, color)); in internalClear()
DSurfaceDrawContext.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(ClearOp::MakeStencilClip(fContext, scissorState, insideStencilMask)); in internalStencilClear()
/third_party/skia/src/gpu/
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.h196 (this->appliedClip() && this->appliedClip()->scissorState().enabled())); in bindPipelineAndScissorClip()
199 this->setScissorRect(this->appliedClip()->scissorState().rect()); in bindPipelineAndScissorClip()
DGrPipeline.cpp27 if (hardClip.scissorState().enabled()) { in GrPipeline()
/third_party/skia/src/gpu/gl/
DGrGLGpu.h427 void flushScissor(const GrScissorState& scissorState, int rtHeight, GrSurfaceOrigin rtOrigin) { in flushScissor() argument
428 this->flushScissorTest(GrScissorTest(scissorState.enabled())); in flushScissor()
429 if (scissorState.enabled()) { in flushScissor()
430 this->flushScissorRect(scissorState.rect(), rtHeight, rtOrigin); in flushScissor()
/third_party/skia/tests/
DGrClipStackTest.cpp1996 REPORTER_ASSERT(r, out.scissorState().enabled() && in DEF_TEST()
1997 out.scissorState().rect() == expectedScissor, in DEF_TEST()
2008 REPORTER_ASSERT(r, out.scissorState().enabled(), "Coverage FPs should still set scissor"); in DEF_TEST()