/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
D | Device.cpp | 209 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearColor() 229 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearDepth() 246 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearStencil() 362 scissorRect = rect; in setScissorRect() 787 if(scissorRect.x0 >= scissorRect.x1 || scissorRect.y0 >= scissorRect.y1) in bindViewport() 793 scissor.x0 = scissorRect.x0; in bindViewport() 794 scissor.x1 = scissorRect.x1; in bindViewport() 795 scissor.y0 = scissorRect.y0; in bindViewport() 796 scissor.y1 = scissorRect.y1; in bindViewport()
|
/third_party/skia/src/gpu/v1/ |
D | StencilMaskHelper.cpp | 328 args.fClipConservativeBounds = &clip.scissorRect(); in stencil_path() 393 SkRect::Make(fClip.fixedClip().scissorRect()), aa); in drawRect() 430 canDrawArgs.fClipConservativeBounds = &fClip.fixedClip().scissorRect(); in drawPath() 450 draw_path(fContext, fSDC, pr, fClip.fixedClip(), fClip.fixedClip().scissorRect(), in drawPath() 461 draw_path(fContext, fSDC, pr, fClip, fClip.fixedClip().scissorRect(), in drawPath() 465 SkRect::Make(fClip.fixedClip().scissorRect()), aa); in drawPath() 492 SkRect::Make(fClip.fixedClip().scissorRect()), GrAA::kNo); in clear() 494 fSDC->clearStencilClip(fClip.fixedClip().scissorRect(), insideStencil); in clear() 499 fSDC->setLastClip(fClip.stencilStackID(), fClip.fixedClip().scissorRect(), fNumFPs); in finish()
|
D | StencilClip.h | 26 const SkIRect& scissorRect, 28 : fFixedClip(rtDims, scissorRect) in fFixedClip() argument
|
/third_party/flutter/skia/src/gpu/ |
D | GrFixedClip.h | 21 explicit GrFixedClip(const SkIRect& scissorRect) : fScissorState(scissorRect) {} in GrFixedClip() argument 25 const SkIRect& scissorRect() const { SkASSERT(scissorEnabled()); return fScissorState.rect(); } in scissorRect() function
|
D | GrStencilClip.h | 21 explicit GrStencilClip(const SkIRect& scissorRect, uint32_t stencilStackID = SK_InvalidGenID) 22 : fFixedClip(scissorRect) in fFixedClip() argument
|
D | GrPipeline.h | 74 explicit FixedDynamicState(const SkIRect& scissorRect) : fScissorRect(scissorRect) {} in FixedDynamicState()
|
D | GrClipStackClip.h | 41 const SkIRect& scissorRect,
|
/third_party/skia/src/gpu/ |
D | GrFixedClip.h | 21 GrFixedClip(const SkISize& rtDims, const SkIRect& scissorRect) in GrFixedClip() argument 23 SkAssertResult(fScissorState.set(scissorRect)); in GrFixedClip() 29 const SkIRect& scissorRect() const { return fScissorState.rect(); } in scissorRect() function
|
/third_party/skia/experimental/graphite/src/mtl/ |
D | MtlRenderCommandEncoder.h | 173 void setScissorRect(const MTLScissorRect& scissorRect) { in setScissorRect() argument 174 if (fCurrentScissorRect.x != scissorRect.x || in setScissorRect() 175 fCurrentScissorRect.y != scissorRect.y || in setScissorRect() 176 fCurrentScissorRect.width != scissorRect.width || in setScissorRect() 177 fCurrentScissorRect.height != scissorRect.height) { in setScissorRect() 178 [(*fCommandEncoder) setScissorRect:scissorRect]; in setScissorRect() 179 fCurrentScissorRect = scissorRect; in setScissorRect()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlRenderCommandEncoder.h | 169 void setScissorRect(const MTLScissorRect& scissorRect) { in setScissorRect() argument 170 if (fCurrentScissorRect.x != scissorRect.x || in setScissorRect() 171 fCurrentScissorRect.y != scissorRect.y || in setScissorRect() 172 fCurrentScissorRect.width != scissorRect.width || in setScissorRect() 173 fCurrentScissorRect.height != scissorRect.height) { in setScissorRect() 174 [fCommandEncoder setScissorRect:scissorRect]; in setScissorRect() 175 fCurrentScissorRect = scissorRect; in setScissorRect()
|
D | GrMtlPipelineState.mm | 204 SkIRect scissorRect) { 205 if (!scissorRect.intersect(SkIRect::MakeWH(colorAttachmentDimensions.width(), 207 scissorRect.setEmpty(); 211 scissor.x = scissorRect.fLeft; 212 scissor.width = scissorRect.width(); 214 scissor.y = scissorRect.fTop; 217 scissor.y = colorAttachmentDimensions.height() - scissorRect.fBottom; 219 scissor.height = scissorRect.height();
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlPipelineState.mm | 211 SkIRect scissorRect) { 212 if (!scissorRect.intersect(SkIRect::MakeWH(renderTarget->width(), renderTarget->height()))) { 213 scissorRect.setEmpty(); 217 scissor.x = scissorRect.fLeft; 218 scissor.width = scissorRect.width(); 220 scissor.y = scissorRect.fTop; 223 scissor.y = renderTarget->height() - scissorRect.fBottom; 225 scissor.height = scissorRect.height();
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DOpsRenderPass.cpp | 140 const SkIRect& scissorRect) { in set_scissor_rects() argument 141 SkASSERT(scissorRect.isEmpty() || in set_scissor_rects() 142 SkIRect::MakeWH(renderTarget->width(), renderTarget->height()).contains(scissorRect)); in set_scissor_rects() 145 scissor.left = scissorRect.fLeft; in set_scissor_rects() 146 scissor.right = scissorRect.fRight; in set_scissor_rects() 148 scissor.top = scissorRect.fTop; in set_scissor_rects() 151 scissor.top = renderTarget->height() - scissorRect.fBottom; in set_scissor_rects() 153 scissor.bottom = scissor.top + scissorRect.height(); in set_scissor_rects()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrClearOp.cpp | 22 if (clip.scissorEnabled() && !SkIRect::Intersects(clip.scissorRect(), rect)) { in Make() 54 if (GrProxyProvider::IsFunctionallyExact(proxy) && fClip.scissorRect() == rtRect) { in GrClearOp() 58 this->setBounds(SkRect::Make(fClip.scissorEnabled() ? fClip.scissorRect() : rtRect), in GrClearOp()
|
D | GrClearOp.h | 39 const SkIRect& r = fClip.scissorRect(); in dumpInfo() 90 fClip.scissorRect().contains(that->fClip.scissorRect())); in contains()
|
D | GrClearStencilClipOp.h | 33 const SkIRect& r = fClip.scissorRect(); in dumpInfo() 53 ? SkRect::Make(fClip.scissorRect()) in GrClearStencilClipOp()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Clear11.cpp | 415 D3D11_RECT scissorRect; in clearFramebuffer() local 443 scissorRect.left = clearParams.scissor.x; in clearFramebuffer() 444 scissorRect.right = scissorRect.left + clearParams.scissor.width; in clearFramebuffer() 445 scissorRect.top = clearParams.scissor.y; in clearFramebuffer() 446 scissorRect.bottom = scissorRect.top + clearParams.scissor.height; in clearFramebuffer() 547 deviceContext1->ClearView(framebufferRTV.get(), clearValues, &scissorRect, 1); in clearFramebuffer() 550 deviceContext1->ClearView(framebufferRTV.get(), clearValues, &scissorRect, 1); in clearFramebuffer() 757 stateManager->setScissorRectD3D(scissorRect); in clearFramebuffer()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Clear11.cpp | 423 D3D11_RECT scissorRect; in clearFramebuffer() local 451 scissorRect.left = clearParams.scissor.x; in clearFramebuffer() 452 scissorRect.right = scissorRect.left + clearParams.scissor.width; in clearFramebuffer() 453 scissorRect.top = clearParams.scissor.y; in clearFramebuffer() 454 scissorRect.bottom = scissorRect.top + clearParams.scissor.height; in clearFramebuffer() 553 deviceContext1->ClearView(framebufferRTV.get(), clearValues, &scissorRect, 1); in clearFramebuffer() 556 deviceContext1->ClearView(framebufferRTV.get(), clearValues, &scissorRect, 1); in clearFramebuffer() 759 stateManager->setScissorRectD3D(scissorRect); in clearFramebuffer()
|
/third_party/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 618 const SkIRect& scissorRect) { in SetDynamicScissorRectState() argument 619 SkASSERT(scissorRect.isEmpty() || in SetDynamicScissorRectState() 620 SkIRect::MakeSize(colorAttachmentDimensions).contains(scissorRect)); in SetDynamicScissorRectState() 623 scissor.offset.x = scissorRect.fLeft; in SetDynamicScissorRectState() 624 scissor.extent.width = scissorRect.width(); in SetDynamicScissorRectState() 626 scissor.offset.y = scissorRect.fTop; in SetDynamicScissorRectState() 629 scissor.offset.y = colorAttachmentDimensions.height() - scissorRect.fBottom; in SetDynamicScissorRectState() 631 scissor.extent.height = scissorRect.height(); in SetDynamicScissorRectState()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkPipeline.cpp | 590 SkIRect scissorRect) { in SetDynamicScissorRectState() argument 591 if (!scissorRect.intersect(SkIRect::MakeWH(renderTarget->width(), renderTarget->height()))) { in SetDynamicScissorRectState() 592 scissorRect.setEmpty(); in SetDynamicScissorRectState() 596 scissor.offset.x = scissorRect.fLeft; in SetDynamicScissorRectState() 597 scissor.extent.width = scissorRect.width(); in SetDynamicScissorRectState() 599 scissor.offset.y = scissorRect.fTop; in SetDynamicScissorRectState() 602 scissor.offset.y = renderTarget->height() - scissorRect.fBottom; in SetDynamicScissorRectState() 604 scissor.extent.height = scissorRect.height(); in SetDynamicScissorRectState()
|
D | GrVkGpuCommandBuffer.cpp | 417 vkRect = clip.scissorRect(); in onClearStencilClip() 419 const SkIRect& scissor = clip.scissorRect(); in onClearStencilClip() 445 cbInfo.fBounds.join(SkRect::Make(clip.scissorRect())); in onClearStencilClip() 497 vkRect = clip.scissorRect(); in onClear() 499 const SkIRect& scissor = clip.scissorRect(); in onClear() 523 cbInfo.fBounds.join(SkRect::Make(clip.scissorRect())); in onClear()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/ |
D | vktFragmentOperationsScissorTests.cpp | 278 …const IVec4 scissorRect (getAreaRect(floatScissorArea, imageAccess.getWidth(), imageAccess.getHeig… in applyScissor() local 279 const int sx0 = scissorRect.x(); in applyScissor() 280 const int sx1 = scissorRect.x() + scissorRect.z(); in applyScissor() 281 const int sy0 = scissorRect.y(); in applyScissor() 282 const int sy1 = scissorRect.y() + scissorRect.w(); in applyScissor()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | RenderPipelineVk.cpp | 357 VkRect2D scissorRect; in RenderPipeline() local 358 scissorRect.offset.x = 0; in RenderPipeline() 359 scissorRect.offset.y = 0; in RenderPipeline() 360 scissorRect.extent.width = 1; in RenderPipeline() 361 scissorRect.extent.height = 1; in RenderPipeline() 369 viewport.pScissors = &scissorRect; in RenderPipeline()
|
D | CommandBufferVk.cpp | 589 VkRect2D scissorRect; in RecordRenderPass() local 590 scissorRect.offset.x = 0; in RecordRenderPass() 591 scissorRect.offset.y = 0; in RecordRenderPass() 592 scissorRect.extent.width = renderPassCmd->width; in RecordRenderPass() 593 scissorRect.extent.height = renderPassCmd->height; in RecordRenderPass() 594 device->fn.CmdSetScissor(commands, 0, 1, &scissorRect); in RecordRenderPass()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | RenderPipelineVk.cpp | 408 VkRect2D scissorRect; in Initialize() local 409 scissorRect.offset.x = 0; in Initialize() 410 scissorRect.offset.y = 0; in Initialize() 411 scissorRect.extent.width = 1; in Initialize() 412 scissorRect.extent.height = 1; in Initialize() 420 viewport.pScissors = &scissorRect; in Initialize()
|