Searched refs:recordedClip (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DClipAreaTests.cpp202 ClipRect recordedClip(Rect(100, 100));
206 auto resolvedClip = area.serializeIntersectedClip(allocator, &recordedClip, translateScale);
211 EXPECT_EQ(resolvedClip, area.serializeIntersectedClip(allocator, &recordedClip, translateScale))
224 ClipRect recordedClip(Rect(100, 100));
225 auto resolvedClip = area.serializeIntersectedClip(allocator, &recordedClip, Matrix4::identity());
240 ClipRegion recordedClip; local
241 recordedClip.region.setPath(ovalPath, SkRegion(SkIRect::MakeWH(200, 200)));
242 recordedClip.rect = Rect(200, 200);
246 auto resolvedClip = area.serializeIntersectedClip(allocator, &recordedClip,
267 ClipRect recordedClip(Rec
286 ClipRegion recordedClip; local
[all...]
/frameworks/base/libs/hwui/
H A DSnapshot.cpp173 const ClipBase* recordedClip, const Matrix4& recordedClipTransform) {
175 if (CC_UNLIKELY(recordedClip && recordedClip->intersectWithRoot)) {
181 recordedClip, recordedClipTransform);
184 void Snapshot::applyClip(const ClipBase* recordedClip, const Matrix4& transform) { argument
185 if (CC_UNLIKELY(recordedClip && recordedClip->intersectWithRoot)) {
189 mClipArea->applyClip(recordedClip, transform);
172 serializeIntersectedClip(LinearAllocator& allocator, const ClipBase* recordedClip, const Matrix4& recordedClipTransform) argument
H A DClipArea.cpp418 const ClipBase* recordedClip, const Matrix4& recordedClipTransform) {
420 // if no recordedClip passed, just serialize current state
421 if (!recordedClip) return serializeClip(allocator);
424 if (CC_UNLIKELY(recordedClip->rect.isEmpty())|| mClipRect.isEmpty()) return &sEmptyClipRect;
427 || recordedClip != mLastResolutionClip
429 mLastResolutionClip = recordedClip;
433 && recordedClip->mode == ClipMode::Rectangle
436 auto rectClip = allocator.create<ClipRect>(recordedClip->rect);
442 || recordedClip->mode == ClipMode::Region
443 || cannotFitInRectangleList(*this, recordedClip))) {
417 serializeIntersectedClip(LinearAllocator& allocator, const ClipBase* recordedClip, const Matrix4& recordedClipTransform) argument
[all...]
H A DClipArea.h178 const ClipBase* recordedClip, const Matrix4& recordedClipTransform);
179 void applyClip(const ClipBase* recordedClip, const Matrix4& recordedClipTransform);
H A DSnapshot.h151 const ClipBase* recordedClip, const Matrix4& recordedClipTransform);

Completed in 603 milliseconds