Home
last modified time | relevance | path

Searched refs:recordedOp (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DBakedOpState.h56 const RecordedOp& recordedOp, bool expandForStroke);
107 Snapshot& snapshot, const RecordedOp& recordedOp);
110 Snapshot& snapshot, const RecordedOp& recordedOp);
120 Snapshot& snapshot, const RecordedOp& recordedOp, StrokeBehavior strokeBehavior);
126 const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp);
143 const RecordedOp& recordedOp, bool expandForStroke) in BakedOpState() argument
144 : computedState(allocator, snapshot, recordedOp, expandForStroke) in BakedOpState()
147 , op(&recordedOp) {} in BakedOpState()
150 BakedOpState(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp) in BakedOpState() argument
151 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip) in BakedOpState()
[all …]
DBakedOpState.cpp34 const RecordedOp& recordedOp, bool expandForStroke) { in ResolvedRenderState() argument
36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix); in ResolvedRenderState()
39 clippedBounds = recordedOp.unmappedBounds; in ResolvedRenderState()
42 clippedBounds.outset(recordedOp.paint->getStrokeWidth() * 0.5f); in ResolvedRenderState()
46 && (!transform.isPureTranslate() || recordedOp.paint->getStrokeWidth() < 1.0f))) { in ResolvedRenderState()
54 recordedOp.localClip, *(snapshot.transform)); in ResolvedRenderState()
111 Snapshot& snapshot, const RecordedOp& recordedOp) { in tryConstruct() argument
114 allocator, snapshot, recordedOp, false); in tryConstruct()
124 Snapshot& snapshot, const RecordedOp& recordedOp) { in tryConstructUnbounded() argument
126 return allocator.create_trivial<BakedOpState>(allocator, snapshot, recordedOp); in tryConstructUnbounded()
[all …]
DFrameBuilder.h184 BakedOpState* tryBakeOpState(const RecordedOp& recordedOp) { in tryBakeOpState() argument
185 return BakedOpState::tryConstruct(mAllocator, *mCanvasState.writableSnapshot(), recordedOp); in tryBakeOpState()
187 BakedOpState* tryBakeUnboundedOpState(const RecordedOp& recordedOp) { in tryBakeUnboundedOpState() argument
188 …turn BakedOpState::tryConstructUnbounded(mAllocator, *mCanvasState.writableSnapshot(), recordedOp); in tryBakeUnboundedOpState()
/frameworks/base/libs/hwui/tests/unit/
DBakedOpStateTests.cpp34 RectOp recordedOp(Rect(30, 40, 100, 200), translate10x20, &clip, &paint); in TEST() local
38 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false); in TEST()
47 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false); in TEST()
69 RectOp recordedOp(Rect(1000, 1000), translate10x20, &clip, &paint); in TEST() local
73 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false); in TEST()
80 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false); in TEST()
166 RectOp recordedOp(Rect(50, 50, 150, 150), in TEST() local
173 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, true); in TEST()