Home
last modified time | relevance | path

Searched refs:scissorRect (Results 1 – 25 of 42) sorted by relevance

12

/external/swiftshader/src/OpenGL/libGLES_CM/
DDevice.cpp179 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearColor()
197 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearDepth()
214 clearRect.clip(scissorRect.x0, scissorRect.y0, scissorRect.x1, scissorRect.y1); in clearStencil()
310 scissorRect = rect; in setScissorRect()
470 if(scissorRect.x0 >= scissorRect.x1 || scissorRect.y0 >= scissorRect.y1) in bindViewport()
476 scissor.x0 = scissorRect.x0; in bindViewport()
477 scissor.x1 = scissorRect.x1; in bindViewport()
478 scissor.y0 = scissorRect.y0; in bindViewport()
479 scissor.y1 = scissorRect.y1; in bindViewport()
DDevice.hpp73 sw::Rect scissorRect; member in es1::Device
/external/swiftshader/src/OpenGL/libGLESv2/
DDevice.cpp209 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()
DDevice.hpp94 sw::Rect scissorRect; member in es2::Device
/external/skia/src/gpu/
DGrFixedClip.h21 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
DGrStencilMaskHelper.cpp315 args.fClipConservativeBounds = &clip.scissorRect(); in stencil_path()
379 SkRect::Make(fClip.fixedClip().scissorRect()), aa); in drawRect()
416 canDrawArgs.fClipConservativeBounds = &fClip.fixedClip().scissorRect(); in drawPath()
436 draw_path(fContext, fRTC, pr, fClip.fixedClip(), fClip.fixedClip().scissorRect(), in drawPath()
447 draw_path(fContext, fRTC, pr, fClip, fClip.fixedClip().scissorRect(), in drawPath()
451 SkRect::Make(fClip.fixedClip().scissorRect()), aa); in drawPath()
478 SkRect::Make(fClip.fixedClip().scissorRect()), GrAA::kNo); in clear()
480 fRTC->clearStencilClip(fClip.fixedClip().scissorRect(), insideStencil); in clear()
485 fRTC->setLastClip(fClip.stencilStackID(), fClip.fixedClip().scissorRect(), fNumFPs); in finish()
DGrStencilClip.h23 GrStencilClip(const SkISize& rtDims, const SkIRect& scissorRect,
25 : fFixedClip(rtDims, scissorRect) in fFixedClip() argument
DGrClipStackClip.h40 const SkIRect& scissorRect,
DGrOpFlushState.h221 void setScissorRect(const SkIRect& scissorRect) { in setScissorRect() argument
222 fOpsRenderPass->setScissorRect(scissorRect); in setScissorRect()
/external/skqp/src/gpu/
DGrFixedClip.h21 explicit GrFixedClip(const SkIRect& scissorRect) : fScissorState(scissorRect) {} in GrFixedClip() argument
25 const SkIRect& scissorRect() const { SkASSERT(scissorEnabled()); return fScissorState.rect(); } in scissorRect() function
DGrStencilClip.h21 explicit GrStencilClip(const SkIRect& scissorRect, uint32_t stencilStackID = SK_InvalidGenID)
22 : fFixedClip(scissorRect) in fFixedClip() argument
DGrPipeline.h71 explicit FixedDynamicState(const SkIRect& scissorRect) : fScissorRect(scissorRect) {} in FixedDynamicState()
DGrClipStackClip.h41 const SkIRect& scissorRect,
/external/skia/src/gpu/mtl/
DGrMtlPipelineState.mm201 SkIRect scissorRect) {
202 if (!scissorRect.intersect(SkIRect::MakeWH(renderTarget->width(), renderTarget->height()))) {
203 scissorRect.setEmpty();
207 scissor.x = scissorRect.fLeft;
208 scissor.width = scissorRect.width();
210 scissor.y = scissorRect.fTop;
213 scissor.y = renderTarget->height() - scissorRect.fBottom;
215 scissor.height = scissorRect.height();
DGrMtlPipelineState.h62 SkIRect scissorRect);
/external/skqp/src/gpu/ops/
DGrClearOp.cpp20 if (clip.scissorEnabled() && !SkIRect::Intersects(clip.scissorRect(), rect)) { in Make()
52 if (GrProxyProvider::IsFunctionallyExact(proxy) && fClip.scissorRect() == rtRect) { in GrClearOp()
56 this->setBounds(SkRect::Make(fClip.scissorEnabled() ? fClip.scissorRect() : rtRect), in GrClearOp()
DGrClearOp.h38 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
89 fClip.scissorRect().contains(that->fClip.scissorRect())); in contains()
DGrClearStencilClipOp.h32 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
52 ? SkRect::Make(fClip.scissorRect()) in GrClearStencilClipOp()
/external/skia/src/gpu/d3d/
DGrD3DOpsRenderPass.cpp139 const SkIRect& scissorRect) { in set_scissor_rects() argument
140 SkASSERT(scissorRect.isEmpty() || in set_scissor_rects()
141 SkIRect::MakeWH(renderTarget->width(), renderTarget->height()).contains(scissorRect)); in set_scissor_rects()
144 scissor.left = scissorRect.fLeft; in set_scissor_rects()
145 scissor.right = scissorRect.fRight; in set_scissor_rects()
147 scissor.top = scissorRect.fTop; in set_scissor_rects()
150 scissor.top = renderTarget->height() - scissorRect.fBottom; in set_scissor_rects()
152 scissor.bottom = scissor.top + scissorRect.height(); in set_scissor_rects()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp415 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()
/external/skqp/src/gpu/vk/
DGrVkPipeline.cpp581 SkIRect scissorRect) { in SetDynamicScissorRectState() argument
582 if (!scissorRect.intersect(SkIRect::MakeWH(renderTarget->width(), renderTarget->height()))) { in SetDynamicScissorRectState()
583 scissorRect.setEmpty(); in SetDynamicScissorRectState()
587 scissor.offset.x = scissorRect.fLeft; in SetDynamicScissorRectState()
588 scissor.extent.width = scissorRect.width(); in SetDynamicScissorRectState()
590 scissor.offset.y = scissorRect.fTop; in SetDynamicScissorRectState()
593 scissor.offset.y = renderTarget->height() - scissorRect.fBottom; in SetDynamicScissorRectState()
595 scissor.extent.height = scissorRect.height(); in SetDynamicScissorRectState()
DGrVkGpuCommandBuffer.cpp385 vkRect = clip.scissorRect(); in onClearStencilClip()
387 const SkIRect& scissor = clip.scissorRect(); in onClearStencilClip()
413 cbInfo.fBounds.join(SkRect::Make(clip.scissorRect())); in onClearStencilClip()
469 vkRect = clip.scissorRect(); in onClear()
471 const SkIRect& scissor = clip.scissorRect(); in onClear()
495 cbInfo.fBounds.join(SkRect::Make(clip.scissorRect())); in onClear()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp650 const SkIRect& scissorRect) { in SetDynamicScissorRectState() argument
651 SkASSERT(scissorRect.isEmpty() || in SetDynamicScissorRectState()
652 SkIRect::MakeSize(colorAttachmentDimensions).contains(scissorRect)); in SetDynamicScissorRectState()
655 scissor.offset.x = scissorRect.fLeft; in SetDynamicScissorRectState()
656 scissor.extent.width = scissorRect.width(); in SetDynamicScissorRectState()
658 scissor.offset.y = scissorRect.fTop; in SetDynamicScissorRectState()
661 scissor.offset.y = colorAttachmentDimensions.height() - scissorRect.fBottom; in SetDynamicScissorRectState()
663 scissor.extent.height = scissorRect.height(); in SetDynamicScissorRectState()
DGrVkPipeline.h66 GrSurfaceOrigin, const SkIRect& scissorRect);
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorTests.cpp278 …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()

12