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

/frameworks/base/libs/hwui/
H A DBakedOpState.h51 * Holds the resolved clip, transform, and bounds of a recordedOp, when replayed with a snapshot
56 const RecordedOp& recordedOp, bool expandForStroke, bool expandForPathTexture);
107 Snapshot& snapshot, const RecordedOp& recordedOp);
110 Snapshot& snapshot, const RecordedOp& recordedOp);
120 Snapshot& snapshot, const RecordedOp& recordedOp, StrokeBehavior strokeBehavior,
127 const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp);
144 const RecordedOp& recordedOp, bool expandForStroke, bool expandForPathTexture)
145 : computedState(allocator, snapshot, recordedOp, expandForStroke, expandForPathTexture)
148 , op(&recordedOp) {}
151 BakedOpState(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp) argument
143 BakedOpState(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp, bool expandForStroke, bool expandForPathTexture) argument
163 BakedOpState(const ClipRect* clipRect, const Rect& dstRect, const RecordedOp& recordedOp) argument
[all...]
H A DBakedOpState.cpp34 const RecordedOp& recordedOp, bool expandForStroke, bool expandForPathTexture) {
36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix);
39 clippedBounds = recordedOp.unmappedBounds;
42 clippedBounds.outset(recordedOp.paint->getStrokeWidth() * 0.5f);
48 && (!transform.isPureTranslate() || recordedOp.paint->getStrokeWidth() < 1.0f))) {
56 recordedOp.localClip, *(snapshot.transform));
113 Snapshot& snapshot, const RecordedOp& recordedOp) {
116 allocator, snapshot, recordedOp, false, false);
126 Snapshot& snapshot, const RecordedOp& recordedOp) {
128 return allocator.create_trivial<BakedOpState>(allocator, snapshot, recordedOp);
33 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp, bool expandForStroke, bool expandForPathTexture) argument
112 tryConstruct(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp) argument
125 tryConstructUnbounded(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp) argument
131 tryStrokeableOpConstruct(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp, StrokeBehavior strokeBehavior, bool expandForPathTexture) argument
157 directConstruct(LinearAllocator& allocator, const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp) argument
[all...]
H A DFrameBuilder.h184 BakedOpState* tryBakeOpState(const RecordedOp& recordedOp) { argument
185 return BakedOpState::tryConstruct(mAllocator, *mCanvasState.writableSnapshot(), recordedOp);
187 BakedOpState* tryBakeUnboundedOpState(const RecordedOp& recordedOp) { argument
188 return BakedOpState::tryConstructUnbounded(mAllocator, *mCanvasState.writableSnapshot(), recordedOp);
/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpStateTests.cpp34 RectOp recordedOp(Rect(30, 40, 100, 200), translate10x20, &clip, &paint);
38 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false, false);
47 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false, false);
69 RectOp recordedOp(Rect(1000, 1000), translate10x20, &clip, &paint);
73 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false, false);
80 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false, false);
166 RectOp recordedOp(Rect(50, 50, 150, 150),
173 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, true, false);

Completed in 678 milliseconds