/frameworks/base/libs/hwui/ |
OpDumper.h | 24 struct RecordedOp; 28 static void dump(const RecordedOp& op, std::ostream& output, int level = 0); 29 static const char* opName(const RecordedOp& op);
|
RecordedOp.h | 20 #include "RecordedOp.h" 155 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint) 156 #define SUPER_PAINTLESS(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, nullptr) 158 struct RecordedOp { 174 RecordedOp(unsigned int opId, BASE_PARAMS) 182 struct RenderNodeOp : RecordedOp { 204 struct ArcOp : RecordedOp { 215 struct BitmapOp : RecordedOp { 223 struct BitmapMeshOp : RecordedOp { 239 struct BitmapRectOp : RecordedOp { [all...] |
BakedOpState.h | 21 #include "RecordedOp.h" 51 * Holds the resolved clip, transform, and bounds of a recordedOp, when replayed with a snapshot 56 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) [all...] |
OpDumper.cpp | 19 #include "RecordedOp.h" 27 void OpDumper::dump(const RecordedOp& op, std::ostream& output, int level) { 48 const char* OpDumper::opName(const RecordedOp& op) {
|
BakedOpState.cpp | 34 const RecordedOp& recordedOp, bool expandForStroke) { 36 transform.loadMultiply(*snapshot.transform, recordedOp.localMatrix); 39 clippedBounds = recordedOp.unmappedBounds; 42 clippedBounds.outset(recordedOp.paint->getStrokeWidth() * 0.5f); 46 && (!transform.isPureTranslate() || recordedOp.paint->getStrokeWidth() < 1.0f))) { 54 recordedOp.localClip, *(snapshot.transform)); 111 Snapshot& snapshot, const RecordedOp& recordedOp) { 114 allocator, snapshot, recordedOp, false) [all...] |
DisplayList.h | 60 struct RecordedOp; 63 typedef RecordedOp BaseOpType;
|
FrameBuilder.h | 23 #include "RecordedOp.h" 184 BakedOpState* tryBakeOpState(const RecordedOp& recordedOp) { 185 return BakedOpState::tryConstruct(mAllocator, *mCanvasState.writableSnapshot(), recordedOp); 187 BakedOpState* tryBakeUnboundedOpState(const RecordedOp& recordedOp) { 188 return BakedOpState::tryConstructUnbounded(mAllocator, *mCanvasState.writableSnapshot(), recordedOp); 213 BakedOpState* deferStrokeableOp(const RecordedOp& op, batchid_t batchId, 217 * Declares all FrameBuilder::deferXXXXOp() methods for every RecordedOp type.
|
RecordingCanvas.h | 41 struct RecordedOp; 211 int addOp(RecordedOp* op);
|
FrameBuilder.cpp | 510 [](FrameBuilder& frameBuilder, const RecordedOp& op) { frameBuilder.defer##Type(static_cast<const Type&>(op)); }, 512 typedef void (*OpDispatcher) (FrameBuilder& frameBuilder, const RecordedOp& op); 523 const RecordedOp* op = displayList.getOps()[opIndex]; 540 // apply state from RecordedOp (clip first, since op's clip is transformed by current matrix) 561 BakedOpState* FrameBuilder::deferStrokeableOp(const RecordedOp& op, batchid_t batchId, 582 static batchid_t tessBatchId(const RecordedOp& op) { [all...] |
RecordingCanvas.cpp | 20 #include "RecordedOp.h" 625 int RecordingCanvas::addOp(RecordedOp* op) {
|
BakedOpDispatcher.cpp | 390 SkRect getBoundsOfFill(const RecordedOp& op) { [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
RecordingCanvasTests.cpp | 20 #include <RecordedOp.h> 34 std::function<void(const RecordedOp&)> opReceiver) { 37 RecordedOp* op = displayList.getOps()[opIndex]; 44 std::function<void(const RecordedOp& op)> opValidator) { 54 playbackOps(*dl, [](const RecordedOp& op) { ADD_FAILURE(); }); 177 playbackOps(*dl, [&count](const RecordedOp& op) { 236 playbackOps(*dl, [&count, &lastX](const RecordedOp& op) { 288 playbackOps(*dl, [&count](const RecordedOp& op) { 324 validateSingleOp(dl, [] (const RecordedOp& op) { 337 playbackOps(*dl, [&count](const RecordedOp& op) [all...] |
BakedOpDispatcherTests.cpp | 24 #include <RecordedOp.h> 55 static void testUnmergedGlopDispatch(renderthread::RenderThread& renderThread, RecordedOp* op, 127 static int getGlopTransformFlags(renderthread::RenderThread& renderThread, RecordedOp* op) {
|
BakedOpStateTests.cpp | 21 #include <RecordedOp.h> 34 RectOp recordedOp(Rect(30, 40, 100, 200), translate10x20, &clip, &paint); 38 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false); 47 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false); 69 RectOp recordedOp(Rect(1000, 1000), translate10x20, &clip, &paint); 73 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false); 80 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, false); 166 RectOp recordedOp(Rect(50, 50, 150, 150), 173 ResolvedRenderState state(allocator, *parentSnapshot, recordedOp, true);
|
FrameBuilderTests.cpp | 23 #include <RecordedOp.h> [all...] |
/frameworks/base/libs/hwui/tests/common/ |
TestUtils.h | 29 #include <RecordedOp.h>
|