|
|
DescriptionExperiment: add flag for finish-recording to return null
BUG=skia:5495
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2106843004
Committed: https://skia.googlesource.com/skia/+/41c27e15ec2740850700f1b82038ce0f7a632481
Patch Set 1 #Patch Set 2 : optimize away cruft #Patch Set 3 : fix test #
Total comments: 4
Patch Set 4 : address comments from #21 #
Total comments: 1
Messages
Total messages: 36 (16 generated)
Description was changed from ========== add flag for finish-recording to return null BUG=skia: ========== to ========== add flag for finish-recording to return null BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2106843004 ==========
reed@google.com changed reviewers: + djsollen@google.com, mtklein@google.com
The CQ bit was checked by reed@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== add flag for finish-recording to return null BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2106843004 ========== to ========== Experiment: add flag for finish-recording to return null BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2106843004 ==========
The CQ bit was checked by reed@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
reed@google.com changed reviewers: + liyuqian@google.com
liyuqian, try patching this locally and re-time/capture on android
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on master.client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2...)
The CQ bit was checked by reed@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
reed@google.com changed reviewers: + msarett@google.com
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
https://codereview.chromium.org/2106843004/diff/40001/src/core/SkPictureRecor... File src/core/SkPictureRecorder.cpp (right): https://codereview.chromium.org/2106843004/diff/40001/src/core/SkPictureRecor... src/core/SkPictureRecorder.cpp:139: // Should we call optimize first, in case that makes us empty? (You've done this now.) https://codereview.chromium.org/2106843004/diff/40001/tests/PictureTest.cpp File tests/PictureTest.cpp (right): https://codereview.chromium.org/2106843004/diff/40001/tests/PictureTest.cpp#n... tests/PictureTest.cpp:1483: REPORTER_ASSERT(r, pic.get()); We should also be able to assert pic->approximateOpCount() == 0 here if that makes things clearer.
https://codereview.chromium.org/2106843004/diff/40001/src/core/SkPictureRecor... File src/core/SkPictureRecorder.cpp (right): https://codereview.chromium.org/2106843004/diff/40001/src/core/SkPictureRecor... src/core/SkPictureRecorder.cpp:139: // Should we call optimize first, in case that makes us empty? On 2016/06/29 19:44:19, mtklein wrote: > (You've done this now.) Done. https://codereview.chromium.org/2106843004/diff/40001/tests/PictureTest.cpp File tests/PictureTest.cpp (right): https://codereview.chromium.org/2106843004/diff/40001/tests/PictureTest.cpp#n... tests/PictureTest.cpp:1483: REPORTER_ASSERT(r, pic.get()); On 2016/06/29 19:44:19, mtklein wrote: > We should also be able to assert pic->approximateOpCount() == 0 here if that > makes things clearer. Done.
The CQ bit was checked by reed@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
ptal
https://codereview.chromium.org/2106843004/diff/60001/include/core/SkPictureR... File include/core/SkPictureRecorder.h (right): https://codereview.chromium.org/2106843004/diff/60001/include/core/SkPictureR... include/core/SkPictureRecorder.h:40: kPlaybackDrawPicture_RecordFlag = 1 << 1, Just curious: is 1 << 1 faster than 0x02? (In case not, what's the reason of making this change? Easier to read?)
On 2016/07/06 15:39:03, liyuqian wrote: > https://codereview.chromium.org/2106843004/diff/60001/include/core/SkPictureR... > File include/core/SkPictureRecorder.h (right): > > https://codereview.chromium.org/2106843004/diff/60001/include/core/SkPictureR... > include/core/SkPictureRecorder.h:40: kPlaybackDrawPicture_RecordFlag = 1 << > 1, > Just curious: is 1 << 1 faster than 0x02? (In case not, what's the reason of > making this change? Easier to read?) Easier to read, esp. as we add more flags, this makes it clearer that each flag is just 1 bit, and that we are moving up in bit-number.
lgtm
Description was changed from ========== Experiment: add flag for finish-recording to return null BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2106843004 ========== to ========== Experiment: add flag for finish-recording to return null BUG=skia:5495 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2106843004 ==========
The CQ bit was checked by reed@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Experiment: add flag for finish-recording to return null BUG=skia:5495 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2106843004 ========== to ========== Experiment: add flag for finish-recording to return null BUG=skia:5495 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2106843004 Committed: https://skia.googlesource.com/skia/+/41c27e15ec2740850700f1b82038ce0f7a632481 ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/41c27e15ec2740850700f1b82038ce0f7a632481
Message was sent while issue was closed.
CQ bit was unchecked. |