Home
last modified time | relevance | path

Searched refs:ClipStack (Results 1 - 6 of 6) sorted by relevance

/third_party/skia/src/gpu/v1/
H A DClipStack.h29 class ClipStack final : public GrClip {
43 // The SkMatrixProvider must outlive the ClipStack.
44 ClipStack(const SkIRect& deviceBounds, const SkMatrixProvider* matrixProvider, bool forceAA);
46 ~ClipStack() override;
48 ClipStack(const ClipStack&) = delete;
49 ClipStack& operator=(const ClipStack&) = delete;
167 // owned by the ClipStack. Once SW masks are no longer needed, this can go away.
231 // Returns true if the record should stay alive. False means the ClipStack mus in pushSave()
[all...]
H A DClipStack.cpp8 #include "src/gpu/v1/ClipStack.h"
211 GrFPResult analytic_clip_fp(const skgpu::v1::ClipStack::Element& e, in analytic_clip_fp()
243 const skgpu::v1::ClipStack::Element& e, in clip_atlas_fp()
260 const skgpu::v1::ClipStack::Element& e, in draw_to_sw_mask()
309 const skgpu::v1::ClipStack::Element** elements, in render_sw_mask()
333 using Uploader = GrTDeferredProxyUploader<SkTArray<skgpu::v1::ClipStack::Element>>; in render_sw_mask()
375 const skgpu::v1::ClipStack::Element** elements, in render_stencil_mask()
384 const skgpu::v1::ClipStack::Element& e = *(elements[i]); in render_stencil_mask()
402 class ClipStack::Draw {
436 // ClipStack
1135 ClipStack::ClipStack(const SkIRect& deviceBounds, const SkMatrixProvider* matrixProvider, ClipStack() function in skgpu::v1::ClipStack
[all...]
H A DDevice_v1.h19 #include "src/gpu/v1/ClipStack.h"
180 return fClip.clipState() == ClipStack::ClipState::kWideOpen;
187 ClipStack fClip;
H A DDevice.cpp282 for (const ClipStack::Element& e : fClip) { in onAsRgnClip()
298 for (const ClipStack::Element& e : fClip) { in onClipIsAA()
308 ClipStack::ClipState state = fClip.clipState(); in onGetClipType()
309 if (state == ClipStack::ClipState::kEmpty) { in onGetClipType()
311 } else if (state == ClipStack::ClipState::kDeviceRect || in onGetClipType()
312 state == ClipStack::ClipState::kWideOpen) { in onGetClipType()
/third_party/skia/tests/
H A DGrClipStackTest.cpp9 #include "src/gpu/v1/ClipStack.h"
42 using ClipStack = skgpu::v1::ClipStack;
63 ClipStack::ClipState expectedState() const { return fExpectedState; } in expectedState()
64 const std::vector<ClipStack::Element>& initialElements() const { return fElements; } in initialElements()
65 const std::vector<ClipStack::Element>& expectedElements() const { return fExpectedElements; } in expectedElements()
72 ClipStack::ClipState expectedState, in TestCase()
73 std::vector<ClipStack::Element> actual, in TestCase()
74 std::vector<ClipStack::Element> expected) in TestCase()
83 // This may be tighter than ClipStack
[all...]
H A DClipStackTest.cpp852 DEF_TEST(ClipStack, reporter) { in DEF_TEST()

Completed in 9 milliseconds