Searched refs:scissorState (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 208 const GrScissorState& scissorState = pipeline.getScissorState(); in setup_viewport_scissor_state() local 209 if (scissorState.enabled() && in setup_viewport_scissor_state() 210 !scissorState.rect().contains(0, 0, vkRT->width(), vkRT->height())) { in setup_viewport_scissor_state() 213 scissor->offset.x = scissorState.rect().fLeft; in setup_viewport_scissor_state() 214 scissor->extent.width = scissorState.rect().width(); in setup_viewport_scissor_state() 216 scissor->offset.y = scissorState.rect().fTop; in setup_viewport_scissor_state() 219 scissor->offset.y = vkRT->height() - scissorState.rect().fBottom; in setup_viewport_scissor_state() 221 scissor->extent.height = scissorState.rect().height(); in setup_viewport_scissor_state()
|
/external/skia/src/gpu/ |
D | GrDrawTarget.cpp | 238 if (!this->installPipelineInDrawBatch(&pipelineBuilder, &clip.scissorState(), batch)) { in drawBatch() 314 stencilSettings, clip.scissorState(), in stencilPath() 349 if (!this->installPipelineInDrawBatch(&pipelineBuilder, &clip.scissorState(), batch)) { in drawPathBatch()
|
D | GrClipMaskManager.h | 38 const GrScissorState& scissorState() const { return fScissorState; } in scissorState() function
|
/external/skia/src/gpu/gl/ |
D | GrGLGpu.cpp | 1757 void GrGLGpu::flushScissor(const GrScissorState& scissorState, in flushScissor() argument 1760 if (scissorState.enabled()) { in flushScissor() 1763 scissorState.rect().fLeft, in flushScissor() 1764 scissorState.rect().fTop, in flushScissor() 1765 scissorState.rect().width(), in flushScissor() 1766 scissorState.rect().height(), in flushScissor() 2036 GrScissorState scissorState; in onClear() local 2037 scissorState.set(rect); in onClear() 2038 this->flushScissor(scissorState, glRT->getViewport(), glRT->origin()); in onClear() 2146 GrScissorState scissorState; in onClearStencilClip() local [all …]
|