Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Issue 187833003: First version of bitmap use tracking in SkPictureRecord (Closed)

Created:
6 years, 9 months ago by robertphillips
Modified:
6 years, 9 months ago
Reviewers:
bsalomon, mtklein
CC:
skia-review_googlegroups.com, iancottrell, dominikg
Visibility:
Public.

Description

This is just the first version and shows how I intend to orchestrate this. Future enhancements will: track the portion of the bitmap required track any resizing that might be required actually preload something Committed: http://code.google.com/p/skia/source/detail?r=13704

Patch Set 1 #

Total comments: 32

Patch Set 2 : Address code review issues #

Patch Set 3 : split SkOffsetTable into its own files #

Patch Set 4 : Actually upload SkOffsetTable.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+223 lines, -21 lines) Patch
M gyp/core.gypi View 1 2 3 chunks +3 lines, -2 lines 0 comments Download
A src/core/SkOffsetTable.h View 1 2 3 1 chunk +115 lines, -0 lines 0 comments Download
M src/core/SkPicturePlayback.h View 1 3 chunks +4 lines, -0 lines 0 comments Download
M src/core/SkPicturePlayback.cpp View 1 2 5 chunks +60 lines, -11 lines 0 comments Download
M src/core/SkPictureRecord.h View 1 2 3 chunks +7 lines, -2 lines 0 comments Download
M src/core/SkPictureRecord.cpp View 1 2 8 chunks +34 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
robertphillips
6 years, 9 months ago (2014-03-05 20:27:40 UTC) #1
bsalomon
logically makes sense to me. I'm not sure I know the picture code well enough ...
6 years, 9 months ago (2014-03-05 21:15:34 UTC) #2
robertphillips
adding Mike K.
6 years, 9 months ago (2014-03-06 13:01:31 UTC) #3
mtklein
Sorry, I think I've mixed in questions about the implementation with questions about the design. ...
6 years, 9 months ago (2014-03-06 16:20:37 UTC) #4
robertphillips
https://codereview.chromium.org/187833003/diff/1/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.chromium.org/187833003/diff/1/src/core/SkPicturePlayback.cpp#newcode691 src/core/SkPicturePlayback.cpp:691: void SkPicturePlayback::preLoadBitmaps(const SkTDArray<void*> &results) { On 2014/03/06 16:20:38, mtklein ...
6 years, 9 months ago (2014-03-06 20:18:26 UTC) #5
tomhudson
+ some of LON who are working in SkPicture subclasses.
6 years, 9 months ago (2014-03-07 11:28:42 UTC) #6
mtklein
lgtm https://codereview.chromium.org/187833003/diff/1/src/core/SkPictureRecord.h File src/core/SkPictureRecord.h (right): https://codereview.chromium.org/187833003/diff/1/src/core/SkPictureRecord.h#newcode85 src/core/SkPictureRecord.h:85: SkASSERT(0); On 2014/03/06 20:18:26, robertphillips wrote: > Given ...
6 years, 9 months ago (2014-03-07 13:04:07 UTC) #7
robertphillips
And I split SkOffsetTable into its own files. https://codereview.chromium.org/187833003/diff/1/src/core/SkPictureRecord.h File src/core/SkPictureRecord.h (right): https://codereview.chromium.org/187833003/diff/1/src/core/SkPictureRecord.h#newcode85 src/core/SkPictureRecord.h:85: SkASSERT(0); ...
6 years, 9 months ago (2014-03-07 13:23:00 UTC) #8
robertphillips
The CQ bit was checked by robertphillips@google.com
6 years, 9 months ago (2014-03-07 14:50:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/robertphillips@google.com/187833003/60001
6 years, 9 months ago (2014-03-07 14:50:57 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 15:53:06 UTC) #11
Message was sent while issue was closed.
Change committed as 13704

Powered by Google App Engine
This is Rietveld 408576698