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

Issue 231653002: SkRecordDraw: skip draw ops when the clip is empty (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

SkRecordDraw: skip draw ops when the clip is empty - Adds tests for SkRecordDraw's two main features: cull- and clip- based skipping. - Adds full SkCanvas semantic mode to SkRecorder, so it can be used as a target for SkRecordDraw. BUG=skia:2378 Committed: http://code.google.com/p/skia/source/detail?r=14124

Patch Set 1 #

Patch Set 2 : tweaks #

Patch Set 3 : invert #

Patch Set 4 : forgot bench_record #

Total comments: 6

Patch Set 5 : use updateClipConservativelyUsingBounds, add performance note #

Patch Set 6 : pop cull unconditionally #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -62 lines) Patch
M dm/DMRecordTask.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M gyp/tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M src/record/SkRecordDraw.cpp View 1 2 3 4 5 1 chunk +61 lines, -51 lines 0 comments Download
M src/record/SkRecorder.h View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M src/record/SkRecorder.cpp View 1 2 3 4 4 chunks +18 lines, -6 lines 0 comments Download
M tests/RecordCullingTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
A tests/RecordDrawTest.cpp View 1 chunk +64 lines, -0 lines 0 comments Download
M tests/RecorderTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tools/bench_record.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
mtklein
6 years, 8 months ago (2014-04-09 20:04:26 UTC) #1
f(malita)
lgtm + nits https://codereview.chromium.org/231653002/diff/50009/src/record/SkRecordDraw.cpp File src/record/SkRecordDraw.cpp (right): https://codereview.chromium.org/231653002/diff/50009/src/record/SkRecordDraw.cpp#newcode43 src/record/SkRecordDraw.cpp:43: CASE(ClipRegion, clipRegion(r.region, r.op)); We could optimize ...
6 years, 8 months ago (2014-04-09 21:44:28 UTC) #2
mtklein
lgtm https://codereview.chromium.org/231653002/diff/50009/src/record/SkRecordDraw.cpp File src/record/SkRecordDraw.cpp (right): https://codereview.chromium.org/231653002/diff/50009/src/record/SkRecordDraw.cpp#newcode43 src/record/SkRecordDraw.cpp:43: CASE(ClipRegion, clipRegion(r.region, r.op)); On 2014/04/09 21:44:28, Florin Malita ...
6 years, 8 months ago (2014-04-09 21:52:12 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/231653002/90001
6 years, 8 months ago (2014-04-09 21:52:19 UTC) #4
commit-bot: I haz the power
6 years, 8 months ago (2014-04-09 23:30:42 UTC) #5
Message was sent while issue was closed.
Change committed as 14124

Powered by Google App Engine
This is Rietveld 408576698