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()
472 if(scissorRect.x0 >= scissorRect.x1 || scissorRect.y0 >= scissorRect.y1) in bindViewport()
478 scissor.x0 = scissorRect.x0; in bindViewport()
479 scissor.x1 = scissorRect.x1; in bindViewport()
480 scissor.y0 = scissorRect.y0; in bindViewport()
481 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()
772 if(scissorRect.x0 >= scissorRect.x1 || scissorRect.y0 >= scissorRect.y1) in bindViewport()
778 scissor.x0 = scissorRect.x0; in bindViewport()
779 scissor.x1 = scissorRect.x1; in bindViewport()
780 scissor.y0 = scissorRect.y0; in bindViewport()
781 scissor.y1 = scissorRect.y1; in bindViewport()
DDevice.hpp94 sw::Rect scissorRect; member in es2::Device
/external/skia/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/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/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/ops/
DGrClearOp.cpp22 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()
DGrClearOp.h39 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
90 fClip.scissorRect().contains(that->fClip.scissorRect())); in contains()
DGrClearStencilClipOp.h33 const SkIRect& r = fClip.scissorRect(); in dumpInfo()
53 ? SkRect::Make(fClip.scissorRect()) in GrClearStencilClipOp()
/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.cpp592 SkIRect scissorRect) { in SetDynamicScissorRectState() argument
593 if (!scissorRect.intersect(SkIRect::MakeWH(renderTarget->width(), renderTarget->height()))) { in SetDynamicScissorRectState()
594 scissorRect.setEmpty(); in SetDynamicScissorRectState()
598 scissor.offset.x = scissorRect.fLeft; in SetDynamicScissorRectState()
599 scissor.extent.width = scissorRect.width(); in SetDynamicScissorRectState()
601 scissor.offset.y = scissorRect.fTop; in SetDynamicScissorRectState()
604 scissor.offset.y = renderTarget->height() - scissorRect.fBottom; in SetDynamicScissorRectState()
606 scissor.extent.height = scissorRect.height(); in SetDynamicScissorRectState()
DGrVkGpuCommandBuffer.cpp382 vkRect = clip.scissorRect(); in onClearStencilClip()
384 const SkIRect& scissor = clip.scissorRect(); in onClearStencilClip()
410 cbInfo.fBounds.join(SkRect::Make(clip.scissorRect())); in onClearStencilClip()
466 vkRect = clip.scissorRect(); in onClear()
468 const SkIRect& scissor = clip.scissorRect(); in onClear()
492 cbInfo.fBounds.join(SkRect::Make(clip.scissorRect())); in onClear()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorTests.cpp284 …const IVec4 scissorRect (getAreaRect(floatScissorArea, imageAccess.getWidth(), imageAccess.getHeig… in applyScissor() local
285 const int sx0 = scissorRect.x(); in applyScissor()
286 const int sx1 = scissorRect.x() + scissorRect.z(); in applyScissor()
287 const int sy0 = scissorRect.y(); in applyScissor()
288 const int sy1 = scissorRect.y() + scissorRect.w(); in applyScissor()
/external/swiftshader/src/D3D8/
DDirect3DStateBlock8.hpp151 RECT scissorRect; member in D3D8::Direct3DStateBlock8
/external/swiftshader/src/D3D9/
DDirect3DStateBlock9.cpp312 device->SetScissorRect(&scissorRect); in Apply()
589 device->GetScissorRect(&scissorRect); in Capture()
725 scissorRect = *rect; in setScissorRect()
1308 device->GetScissorRect(&scissorRect); in captureScissorRectangle()

12