|
|
Created:
4 years, 5 months ago by Daniele Castagna Modified:
4 years, 5 months ago CC:
cc-bugs_chromium.org, chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Descriptioncc: Release pending overlay resources on swap-ack.
In case a gpu query is not required to check if overlay
resources have been released, we can release overlay
resources used by the previous frame on swap-ack instead
of waiting until the next swap buffers call.
BUG=b/29430506
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel
Committed: https://crrev.com/c0d2c9e1c54533a7ec01180a9144e6708362ee66
Cr-Commit-Position: refs/heads/master@{#406732}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Address comments. Fix tests. #
Messages
Total messages: 25 (16 generated)
Description was changed from ========== cc: Release pending overlay resources on swap ack. BUG=b/29430506 ========== to ========== cc: Release pending overlay resources on swap ack. BUG=b/29430506 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel ==========
Description was changed from ========== cc: Release pending overlay resources on swap ack. BUG=b/29430506 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel ========== to ========== cc: Release pending overlay resources on swap-ack. In case a gpu query is not required to check if overlay resources have been released, we can release overlay resources used by the previous frame on swap-ack instead of waiting until the next swap buffers call. BUG=b/29430506 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel ==========
The CQ bit was checked by dcastagna@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...
dcastagna@chromium.org changed reviewers: + reveman@chromium.org
dcastagna@chromium.org changed reviewers: + ccameron@chromium.org
reveman@chromium.org changed reviewers: - ccameron@chromium.org
https://codereview.chromium.org/2166973002/diff/1/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/2166973002/diff/1/cc/output/gl_renderer.cc#ne... cc/output/gl_renderer.cc:2769: // Once a resouce has been swap-ACKed, send a query to the GPU process to nit: s/resouce/resource/ https://codereview.chromium.org/2166973002/diff/1/cc/output/gl_renderer.cc#ne... cc/output/gl_renderer.cc:2792: DCHECK_EQ(2U, swapping_overlay_resources_.size()); nit: 2u https://codereview.chromium.org/2166973002/diff/1/cc/output/gl_renderer.cc#ne... cc/output/gl_renderer.cc:2793: swapping_overlay_resources_.pop_front(); I think a comment here explaining why this is correct would be useful.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
ccameron@chromium.org changed reviewers: + ccameron@chromium.org
lg w/fixes https://codereview.chromium.org/2166973002/diff/1/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/2166973002/diff/1/cc/output/gl_renderer.cc#ne... cc/output/gl_renderer.cc:2793: swapping_overlay_resources_.pop_front(); On 2016/07/20 21:07:21, reveman wrote: > I think a comment here explaining why this is correct would be useful. +1
The CQ bit was checked by dcastagna@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...
PTAL. ResourcesExportedAndReturnedWithDelay had to be changed slightly. https://codereview.chromium.org/2166973002/diff/1/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/2166973002/diff/1/cc/output/gl_renderer.cc#ne... cc/output/gl_renderer.cc:2769: // Once a resouce has been swap-ACKed, send a query to the GPU process to On 2016/07/20 at 21:07:22, reveman wrote: > nit: s/resouce/resource/ Done. https://codereview.chromium.org/2166973002/diff/1/cc/output/gl_renderer.cc#ne... cc/output/gl_renderer.cc:2792: DCHECK_EQ(2U, swapping_overlay_resources_.size()); On 2016/07/20 at 21:07:22, reveman wrote: > nit: 2u I used the capital U to stay consistent with overlay_unittests.cc
lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by dcastagna@chromium.org
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.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== cc: Release pending overlay resources on swap-ack. In case a gpu query is not required to check if overlay resources have been released, we can release overlay resources used by the previous frame on swap-ack instead of waiting until the next swap buffers call. BUG=b/29430506 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel ========== to ========== cc: Release pending overlay resources on swap-ack. In case a gpu query is not required to check if overlay resources have been released, we can release overlay resources used by the previous frame on swap-ack instead of waiting until the next swap buffers call. BUG=b/29430506 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_blink_rel Committed: https://crrev.com/c0d2c9e1c54533a7ec01180a9144e6708362ee66 Cr-Commit-Position: refs/heads/master@{#406732} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/c0d2c9e1c54533a7ec01180a9144e6708362ee66 Cr-Commit-Position: refs/heads/master@{#406732} |