Searched refs:recordedOp (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/ |
H A D | BakedOpState.h | 51 * Holds the resolved clip, transform, and bounds of a recordedOp, when replayed with a snapshot 56 const RecordedOp& recordedOp, bool expandForStroke, 104 const RecordedOp& recordedOp); 107 const RecordedOp& recordedOp); 117 const RecordedOp& recordedOp, 125 const Rect& dstRect, const RecordedOp& recordedOp); 141 BakedOpState(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp, argument 143 : computedState(allocator, snapshot, recordedOp, expandForStroke, expandForPathTexture) 146 , op(&recordedOp) {} 149 BakedOpState(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp) argument 161 BakedOpState(const ClipRect* clipRect, const Rect& dstRect, const RecordedOp& recordedOp) argument [all...] |
H A D | BakedOpState.cpp | 34 const RecordedOp& recordedOp, bool expandForStroke, 37 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix); 40 clippedBounds = recordedOp.unmappedBounds; 43 clippedBounds.outset(recordedOp.paint->getStrokeWidth() * 0.5f); 49 (!transform.isPureTranslate() || recordedOp.paint->getStrokeWidth() < 1.0f))) { 56 clipState = snapshot.serializeIntersectedClip(allocator, recordedOp.localClip, 114 const RecordedOp& recordedOp) { 117 allocator.create_trivial<BakedOpState>(allocator, snapshot, recordedOp, false, false); 127 const RecordedOp& recordedOp) { 129 return allocator.create_trivial<BakedOpState>(allocator, snapshot, recordedOp); 33 ResolvedRenderState(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp, bool expandForStroke, bool expandForPathTexture) argument 113 tryConstruct(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp) argument 126 tryConstructUnbounded(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp) argument 132 tryStrokeableOpConstruct(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp, StrokeBehavior strokeBehavior, bool expandForPathTexture) argument 160 directConstruct(LinearAllocator& allocator, const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp) argument [all...] |
H A D | FrameBuilder.h | 178 BakedOpState* tryBakeOpState(const RecordedOp& recordedOp) { argument 179 return BakedOpState::tryConstruct(mAllocator, *mCanvasState.writableSnapshot(), recordedOp); 181 BakedOpState* tryBakeUnboundedOpState(const RecordedOp& recordedOp) { argument 183 recordedOp);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | BakedOpStateTests.cpp | 34 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); 155 RectOp recordedOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &strokedPaint); 161 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, true, false);
|
Completed in 48 milliseconds