Searched refs:scissorState (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/src/gpu/v1/ |
D | SurfaceFillContext_v1.cpp | 178 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()
|
D | SurfaceDrawContext.cpp | 891 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/ |
D | GrAppliedClip.h | 41 const GrScissorState& scissorState() const { return fScissorState; } in scissorState() function 107 const GrScissorState& scissorState() const { return fHardClip.scissorState(); } in scissorState() function
|
D | GrFixedClip.h | 26 const GrScissorState& scissorState() const { return fScissorState; } in scissorState() function
|
D | GrOpFlushState.h | 196 (this->appliedClip() && this->appliedClip()->scissorState().enabled())); in bindPipelineAndScissorClip() 199 this->setScissorRect(this->appliedClip()->scissorState().rect()); in bindPipelineAndScissorClip()
|
D | GrPipeline.cpp | 27 if (hardClip.scissorState().enabled()) { in GrPipeline()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLGpu.h | 427 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/ |
D | GrClipStackTest.cpp | 1996 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()
|