Searched refs:recordedOp (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/ |
D | BakedOpState.h | 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, in BakedOpState() argument 143 : computedState(allocator, snapshot, recordedOp, expandForStroke, expandForPathTexture) in BakedOpState() 146 , op(&recordedOp) {} in BakedOpState() 149 BakedOpState(LinearAllocator& allocator, Snapshot& snapshot, const RecordedOp& recordedOp) in BakedOpState() argument 150 : computedState(allocator, snapshot, recordedOp.localMatrix, recordedOp.localClip) in BakedOpState() [all …]
|
D | BakedOpState.cpp | 34 const RecordedOp& recordedOp, bool expandForStroke, in ResolvedRenderState() argument 37 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix); in ResolvedRenderState() 40 clippedBounds = recordedOp.unmappedBounds; in ResolvedRenderState() 43 clippedBounds.outset(recordedOp.paint->getStrokeWidth() * 0.5f); in ResolvedRenderState() 49 (!transform.isPureTranslate() || recordedOp.paint->getStrokeWidth() < 1.0f))) { in ResolvedRenderState() 56 clipState = snapshot.serializeIntersectedClip(allocator, recordedOp.localClip, in ResolvedRenderState() 114 const RecordedOp& recordedOp) { in tryConstruct() argument 117 allocator.create_trivial<BakedOpState>(allocator, snapshot, recordedOp, false, false); in tryConstruct() 127 const RecordedOp& recordedOp) { in tryConstructUnbounded() argument 129 return allocator.create_trivial<BakedOpState>(allocator, snapshot, recordedOp); in tryConstructUnbounded() [all …]
|
D | FrameBuilder.h | 178 BakedOpState* tryBakeOpState(const RecordedOp& recordedOp) { in tryBakeOpState() argument 179 return BakedOpState::tryConstruct(mAllocator, *mCanvasState.writableSnapshot(), recordedOp); in tryBakeOpState() 181 BakedOpState* tryBakeUnboundedOpState(const RecordedOp& recordedOp) { in tryBakeUnboundedOpState() argument 183 recordedOp); in tryBakeUnboundedOpState()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | BakedOpStateTests.cpp | 34 RectOp recordedOp(Rect(30, 40, 100, 200), translate10x20, &clip, &paint); in TEST() local 38 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false, false); in TEST() 47 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false, false); in TEST() 69 RectOp recordedOp(Rect(1000, 1000), translate10x20, &clip, &paint); in TEST() local 73 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false, false); in TEST() 80 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false, false); in TEST() 155 RectOp recordedOp(Rect(50, 50, 150, 150), Matrix4::identity(), &clip, &strokedPaint); in TEST() local 161 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, true, false); in TEST()
|