Searched refs:ClipState (Results 1 – 7 of 7) sorted by relevance
/third_party/skia/tests/ |
D | GrClipStackTest.cpp | 63 ClipStack::ClipState expectedState() const { return fExpectedState; } in expectedState() 72 ClipStack::ClipState expectedState, in TestCase() 97 ClipStack::ClipState fExpectedState; 178 TestCaseBuilder& state(ClipStack::ClipState state) { in state() 187 fExpectedState = ClipStack::ClipState::kWideOpen; in finishTest() 197 , fExpectedState(ClipStack::ClipState::kWideOpen) {} in TestCaseBuilder() 201 ClipStack::ClipState fExpectedState; 242 if (fExpectedState == ClipStack::ClipState::kEmpty) { in getOptimalBounds() 387 ClipStack::ClipState oldState = cs.clipState(); in run() 398 REPORTER_ASSERT(reporter, cs.clipState() == ClipStack::ClipState::kWideOpen, in run() [all …]
|
/third_party/skia/src/gpu/v1/ |
D | ClipStack.cpp | 712 ClipStack::ClipState ClipStack::RawElement::clipType() const { in clipType() 716 return ClipState::kEmpty; in clipType() 720 ? ClipState::kDeviceRect : ClipState::kComplex; in clipType() 724 ? ClipState::kDeviceRRect : ClipState::kComplex; in clipType() 734 return ClipState::kComplex; in clipType() 788 , fState(ClipState::kWideOpen) in SaveRecord() 812 if (fState == ClipState::kEmpty) { in genID() 814 } else if (fState == ClipState::kWideOpen) { in genID() 824 ClipStack::ClipState ClipStack::SaveRecord::state() const { in state() 825 if (fShader && fState != ClipState::kEmpty) { in state() [all …]
|
D | ClipStack.h | 31 enum class ClipState : uint8_t { enum 51 ClipState clipState() const { return this->currentSaveRecord().state(); } in clipState() 122 ClipState clipType() const; 223 ClipState state() const; 277 ClipState fState; 347 if (this->currentSaveRecord().state() == ClipState::kEmpty || in begin() 348 this->currentSaveRecord().state() == ClipState::kWideOpen) { in begin()
|
D | Device.cpp | 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()
|
D | Device_v1.h | 177 return fClip.clipState() == ClipStack::ClipState::kWideOpen; in onClipIsWideOpen()
|
/third_party/skia/src/core/ |
D | SkDevice.h | 533 struct ClipState { struct 539 ClipState(const SkIRect& bounds, bool isAA, bool isRect) in ClipState() function 549 const ClipState& clip() const { return fClipStack.back(); } in clip() 550 ClipState& writableClip(); 557 SkSTArray<4, ClipState> fClipStack;
|
D | SkDevice.cpp | 514 SkNoPixelsDevice::ClipState& SkNoPixelsDevice::writableClip() { in writableClip() 516 ClipState& current = fClipStack.back(); in writableClip() 579 void SkNoPixelsDevice::ClipState::op(SkClipOp op, const SkM44& transform, const SkRect& bounds, in op()
|