diff options
author | reed <reed@google.com> | 2014-11-18 11:08:05 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-11-18 11:08:05 -0800 |
commit | 6be2aa9a251bf6022570a03140f956655b3ef1da (patch) | |
tree | 52ccd2b4fd1fde02617f08ee03d30faee917c38f /tools/DumpRecord.cpp | |
parent | ad3a8846f8963e03faa6de647502e1c553161ecb (diff) |
wip for drawables
Idea:
1. in its mutable recording state, keep a table of drawables on the side, and store an index in the record list.
2. In "immediate-mode" draw, just call the clients drawable directly (need access to our private list to turn the stored index into a proc)
3. when we "snap", we replace the list of drawables with a list of (sub) pictures, and then during playback of the snapped picture, we invoke a private drawable which just calls "drawPicture" on the index'd subpicture.
Review URL: https://codereview.chromium.org/727363003
Diffstat (limited to 'tools/DumpRecord.cpp')
-rw-r--r-- | tools/DumpRecord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/DumpRecord.cpp b/tools/DumpRecord.cpp index c505123acd..2d055169c1 100644 --- a/tools/DumpRecord.cpp +++ b/tools/DumpRecord.cpp @@ -21,7 +21,7 @@ public: : fDigits(0) , fIndent(0) , fIndex(0) - , fDraw(canvas) + , fDraw(canvas, NULL, 0, NULL) , fTimeWithCommand(timeWithCommand) { while (count > 0) { count /= 10; |