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

Issue 229523002: SkRecord: make culling work if SkRecordAnnotateCullingPairs is called. (Closed)

Created:
6 years, 8 months ago by mtklein_C
Modified:
6 years, 8 months ago
Reviewers:
f(malita), mtklein
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

SkRecord: make culling work if SkRecordAnnotateCullingPairs is called. - Allow stateful functors; allow visit()/mutate() at a given index; add count(). - Annotate cull push/pop pairs on the PushCull records. (tested) - Use those annotations to skip ahead in SkRecordDraw. (not yet tested beyond dm --skr) - Make SkRecordDraw a function, move its implementation to a .cpp. BUG=skia:2378 Committed: http://code.google.com/p/skia/source/detail?r=14101

Patch Set 1 #

Total comments: 4

Patch Set 2 : florin #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -114 lines) Patch
M dm/DMRecordTask.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M gyp/record.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M gyp/tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M src/record/SkRecord.h View 3 chunks +29 lines, -13 lines 0 comments Download
A src/record/SkRecordCulling.h View 1 chunk +9 lines, -0 lines 0 comments Download
A src/record/SkRecordCulling.cpp View 1 chunk +38 lines, -0 lines 0 comments Download
M src/record/SkRecordDraw.h View 1 chunk +2 lines, -57 lines 0 comments Download
A + src/record/SkRecordDraw.cpp View 1 2 chunks +30 lines, -17 lines 0 comments Download
M src/record/SkRecorder.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M src/record/SkRecords.h View 1 1 chunk +2 lines, -1 line 0 comments Download
A tests/RecordCullingTest.cpp View 1 chunk +41 lines, -0 lines 0 comments Download
M tests/RecordTest.cpp View 2 chunks +17 lines, -13 lines 0 comments Download
M tests/RecorderTest.cpp View 1 2 2 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
mtklein
6 years, 8 months ago (2014-04-08 22:41:29 UTC) #1
f(malita)
lgtm + nits. https://codereview.chromium.org/229523002/diff/1/src/record/SkRecorder.cpp File src/record/SkRecorder.cpp (right): https://codereview.chromium.org/229523002/diff/1/src/record/SkRecorder.cpp#newcode200 src/record/SkRecorder.cpp:200: APPEND(PushCull, rect, kImpossiblePopOffset); If using a ...
6 years, 8 months ago (2014-04-08 23:08:31 UTC) #2
mtklein
https://codereview.chromium.org/229523002/diff/1/src/record/SkRecorder.cpp File src/record/SkRecorder.cpp (right): https://codereview.chromium.org/229523002/diff/1/src/record/SkRecorder.cpp#newcode200 src/record/SkRecorder.cpp:200: APPEND(PushCull, rect, kImpossiblePopOffset); On 2014/04/08 23:08:31, Florin Malita wrote: ...
6 years, 8 months ago (2014-04-08 23:11:56 UTC) #3
mtklein
lgtm
6 years, 8 months ago (2014-04-08 23:12:18 UTC) #4
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 8 months ago (2014-04-08 23:12:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/229523002/20001
6 years, 8 months ago (2014-04-08 23:12:51 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-08 23:12:56 UTC) #7
commit-bot: I haz the power
Failed to apply patch for tests/RecorderTest.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-08 23:12:57 UTC) #8
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 8 months ago (2014-04-08 23:15:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/229523002/40001
6 years, 8 months ago (2014-04-08 23:16:02 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-08 23:32:09 UTC) #11
Message was sent while issue was closed.
Change committed as 14101

Powered by Google App Engine
This is Rietveld 408576698