|
|
Chromium Code Reviews
DescriptionRemove intermediate SkPicture recording from GPU tile rasterization.
R=ericrk@chromium.org
R=vmpstr@chromium.org
BUG=669214
BUG=628394
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel
Committed: https://crrev.com/f7c765c5d213236ea8e76b6d6cee1f81c1982fc6
Cr-Commit-Position: refs/heads/master@{#436171}
Patch Set 1 #Patch Set 2 : Remove RasterSource::image_decode_controller() #Patch Set 3 : Rebase. #
Messages
Total messages: 38 (24 generated)
Description was changed from ========== Remove intermediate SkPicture recording from GPU tile rasterization. R=ericrk@chromium.org R=vmpstr@chromium.org BUG=669214 ========== to ========== Remove intermediate SkPicture recording from GPU tile rasterization. R=ericrk@chromium.org R=vmpstr@chromium.org BUG=669214 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel ==========
The CQ bit was checked by vmiura@chromium.org to run a CQ dry run
PTAL
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
chrishtr@chromium.org changed reviewers: + chrishtr@chromium.org
Curious: why did it paint into an intermediate SkPicture in the first place?
LGTM Now that the code is simplified like this, can you remove RasterSource::image_decode_controller() and mark crbug.com/628394 as obsolete? That was only added to support the logic this CL removes. Thanks!
On 2016/11/29 02:04:11, chrishtr wrote: > Curious: why did it paint into an intermediate SkPicture in the first place? It's partly legacy from picture piles, and before threaded GPU raster, we used the SkMultiPictureDraw API to give Ganesh all tile pictures for a frame in one monolithic draw. This enabled SaveLayer optimizations. If a SaveLayer overlapped multiple tiles, the layer was rendered only once. With threaded raster, to enable individual tile raster scheduling we stopped doing a single monolithic draw. We issue only 1 picture to MultiPictureDraw. I think this is not beneficial, but it would be good to check with bsalomon. In the long term we should implement the save layer optimization in cc.
Description was changed from ========== Remove intermediate SkPicture recording from GPU tile rasterization. R=ericrk@chromium.org R=vmpstr@chromium.org BUG=669214 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel ========== to ========== Remove intermediate SkPicture recording from GPU tile rasterization. R=ericrk@chromium.org R=vmpstr@chromium.org BUG=669214 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel ==========
vmiura@chromium.org changed reviewers: + bsalomon@google.com
On 2016/11/29 02:24:00, vmiura wrote: > On 2016/11/29 02:04:11, chrishtr wrote: > > Curious: why did it paint into an intermediate SkPicture in the first place? > > It's partly legacy from picture piles, and before threaded GPU raster, we used > the SkMultiPictureDraw API to give Ganesh all tile pictures for a frame in one > monolithic draw. This enabled SaveLayer optimizations. If a SaveLayer > overlapped multiple tiles, the layer was rendered only once. > > With threaded raster, to enable individual tile raster scheduling we stopped > doing a single monolithic draw. We issue only 1 picture to MultiPictureDraw. I > think this is not beneficial, but it would be good to check with bsalomon. > > In the long term we should implement the save layer optimization in cc. Bsalomon@, does MultiPictureDraw do layer hoisting for 1 picture?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
bsalomon@google.com changed reviewers: + robertphillips@google.com
On 2016/11/29 02:26:32, vmiura wrote: > On 2016/11/29 02:24:00, vmiura wrote: > > On 2016/11/29 02:04:11, chrishtr wrote: > > > Curious: why did it paint into an intermediate SkPicture in the first place? > > > > It's partly legacy from picture piles, and before threaded GPU raster, we used > > the SkMultiPictureDraw API to give Ganesh all tile pictures for a frame in one > > monolithic draw. This enabled SaveLayer optimizations. If a SaveLayer > > overlapped multiple tiles, the layer was rendered only once. > > > > With threaded raster, to enable individual tile raster scheduling we stopped > > doing a single monolithic draw. We issue only 1 picture to MultiPictureDraw. > I > > think this is not beneficial, but it would be good to check with bsalomon. > > > > In the long term we should implement the save layer optimization in cc. > > Bsalomon@, does MultiPictureDraw do layer hoisting for 1 picture? I believe +robertphillips@ decided that Chrome wasn't seeing much benefit from MPD hoisting and disabled it so that we wouldn't have to maintain it while working on the replacement.
On 2016/11/29 14:21:25, bsalomon wrote: > On 2016/11/29 02:26:32, vmiura wrote: > > On 2016/11/29 02:24:00, vmiura wrote: > > > On 2016/11/29 02:04:11, chrishtr wrote: > > > > Curious: why did it paint into an intermediate SkPicture in the first > place? > > > > > > It's partly legacy from picture piles, and before threaded GPU raster, we > used > > > the SkMultiPictureDraw API to give Ganesh all tile pictures for a frame in > one > > > monolithic draw. This enabled SaveLayer optimizations. If a SaveLayer > > > overlapped multiple tiles, the layer was rendered only once. > > > > > > With threaded raster, to enable individual tile raster scheduling we stopped > > > doing a single monolithic draw. We issue only 1 picture to > MultiPictureDraw. > > I > > > think this is not beneficial, but it would be good to check with bsalomon. > > > > > > In the long term we should implement the save layer optimization in cc. > > > > Bsalomon@, does MultiPictureDraw do layer hoisting for 1 picture? > > I believe +robertphillips@ decided that Chrome wasn't seeing much benefit from > MPD hoisting and disabled it so that we wouldn't have to maintain it while > working on the replacement. It sounds like there's no down side to removing this then.
Description was changed from ========== Remove intermediate SkPicture recording from GPU tile rasterization. R=ericrk@chromium.org R=vmpstr@chromium.org BUG=669214 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel ========== to ========== Remove intermediate SkPicture recording from GPU tile rasterization. R=ericrk@chromium.org R=vmpstr@chromium.org BUG=669214 BUG=628394 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel ==========
The CQ bit was checked by vmiura@chromium.org 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.
The CQ bit was checked by vmiura@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from ericrk@chromium.org Link to the patchset: https://codereview.chromium.org/2535153002/#ps20001 (title: "Remove RasterSource::image_decode_controller()")
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
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by vmiura@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from ericrk@chromium.org Link to the patchset: https://codereview.chromium.org/2535153002/#ps40001 (title: "Rebase.")
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
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by vmiura@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1480741532405870,
"parent_rev": "9f1095a588152fcdd92b0a5b7a4d0f4b83d624be", "commit_rev":
"da6ac858072cf7b7be97cb42afedb0c8085a1b1c"}
Message was sent while issue was closed.
Description was changed from ========== Remove intermediate SkPicture recording from GPU tile rasterization. R=ericrk@chromium.org R=vmpstr@chromium.org BUG=669214 BUG=628394 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel ========== to ========== Remove intermediate SkPicture recording from GPU tile rasterization. R=ericrk@chromium.org R=vmpstr@chromium.org BUG=669214 BUG=628394 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001)
Message was sent while issue was closed.
Description was changed from ========== Remove intermediate SkPicture recording from GPU tile rasterization. R=ericrk@chromium.org R=vmpstr@chromium.org BUG=669214 BUG=628394 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel ========== to ========== Remove intermediate SkPicture recording from GPU tile rasterization. R=ericrk@chromium.org R=vmpstr@chromium.org BUG=669214 BUG=628394 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/f7c765c5d213236ea8e76b6d6cee1f81c1982fc6 Cr-Commit-Position: refs/heads/master@{#436171} ==========
Message was sent while issue was closed.
Patchset 3 (id:??) landed as https://crrev.com/f7c765c5d213236ea8e76b6d6cee1f81c1982fc6 Cr-Commit-Position: refs/heads/master@{#436171} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
