|
|
Created:
3 years, 10 months ago by Kai Ninomiya Modified:
3 years, 10 months ago Reviewers:
Zhenyao Mo CC:
chromium-reviews, piman+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionFix EXT_draw_buffers detection on some GL ES 3 contexts
This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel).
BUG=688632
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2678483003
Cr-Original-Commit-Position: refs/heads/master@{#450804}
Committed: https://chromium.googlesource.com/chromium/src/+/252e09263e39d4e06b2a9dc094ea30ca140e0a4d
Review-Url: https://codereview.chromium.org/2678483003
Cr-Commit-Position: refs/heads/master@{#451360}
Committed: https://chromium.googlesource.com/chromium/src/+/313016af0d837cfcc8ee3ccd19145f46eebc0b10
Patch Set 1 #Patch Set 2 : fix #Patch Set 3 : fix differently #Patch Set 4 : update tests #Patch Set 5 : yet another different fix #Patch Set 6 : re-update context_group.cc #Patch Set 7 : oops #Patch Set 8 : fix some tests #Patch Set 9 : remove nv_draw_buffers entirely #
Total comments: 1
Patch Set 10 : address comment #Patch Set 11 : un-remove nv_draw_buffers #Patch Set 12 : update tests #
Total comments: 1
Messages
Total messages: 62 (47 generated)
Description was changed from ========== Fix max_color_attachments detection on some GL ES 3 contexts BUG=688632 ========== to ========== Fix max_color_attachments detection on some GL ES 3 contexts BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel ==========
The CQ bit was checked by kainino@chromium.org to run a CQ dry run
zmo, PTAL (unless the dry run fails)
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Fix max_color_attachments detection on some GL ES 3 contexts BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel ========== to ========== Fix max_color_attachments detection on some GL ES 3 contexts This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel) BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel ==========
kainino@chromium.org changed reviewers: + zmo@chromium.org
zmo, PTAL (unless the dry run fails)
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: 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_...)
On 2017/02/04 02:26:13, Kai Ninomiya wrote: > zmo, PTAL (unless the dry run fails) oh, I forgot to update unit tests. You can wait until I do that.
Description was changed from ========== Fix max_color_attachments detection on some GL ES 3 contexts This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel) BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel ========== to ========== Fix ext_draw_buffers detection on some GL ES 3 contexts This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel) BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel ==========
The CQ bit was checked by kainino@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 kainino@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: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linu...)
The CQ bit was checked by kainino@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 checked by kainino@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 kainino@chromium.org
The CQ bit was checked by kainino@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: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
Description was changed from ========== Fix ext_draw_buffers detection on some GL ES 3 contexts This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel) BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel ========== to ========== Fix EXT_draw_buffers detection on some GL ES 3 contexts This also disables ES2 EXT_draw_buffers emulation on top of ES3+NV_draw_buffers as it's not needed anymore - EXT_draw_buffers can now be emulated on vanilla ES3. This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel). BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel ==========
The CQ bit was checked by kainino@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.
On the 9th try, I think this is finally good. zmo: PTAL.
lgtm Can you also remove NV_draw_buffers support from ANGLE? https://codereview.chromium.org/2678483003/diff/160001/gpu/command_buffer/ser... File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2678483003/diff/160001/gpu/command_buffer/ser... gpu/command_buffer/service/feature_info.cc:1157: gl_version_info_->is_es3 || nit: probably put the last two conditions first as they are cheaper and will be hit more often.
The CQ bit was checked by kainino@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from zmo@chromium.org Link to the patchset: https://codereview.chromium.org/2678483003/#ps180001 (title: "address comment")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2017/02/15 18:42:37, Zhenyao Mo wrote: > lgtm > > Can you also remove NV_draw_buffers support from ANGLE? Do you mean removing NV_draw_buffers from the set of extensions supported by ANGLE? Or removing the shader compiler's EXT-on-NV emulation path that we're not using anymore? > https://codereview.chromium.org/2678483003/diff/160001/gpu/command_buffer/ser... > File gpu/command_buffer/service/feature_info.cc (right): > > https://codereview.chromium.org/2678483003/diff/160001/gpu/command_buffer/ser... > gpu/command_buffer/service/feature_info.cc:1157: gl_version_info_->is_es3 || > nit: probably put the last two conditions first as they are cheaper and will be > hit more often. Done
CQ is committing da patch. Bot data: {"patchset_id": 180001, "attempt_start_ts": 1487186687247390, "parent_rev": "0572d4c5d2d90fe0ff3e56ce17949ab8389e4c9f", "commit_rev": "252e09263e39d4e06b2a9dc094ea30ca140e0a4d"}
Message was sent while issue was closed.
Description was changed from ========== Fix EXT_draw_buffers detection on some GL ES 3 contexts This also disables ES2 EXT_draw_buffers emulation on top of ES3+NV_draw_buffers as it's not needed anymore - EXT_draw_buffers can now be emulated on vanilla ES3. This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel). BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel ========== to ========== Fix EXT_draw_buffers detection on some GL ES 3 contexts This also disables ES2 EXT_draw_buffers emulation on top of ES3+NV_draw_buffers as it's not needed anymore - EXT_draw_buffers can now be emulated on vanilla ES3. This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel). BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2678483003 Cr-Commit-Position: refs/heads/master@{#450804} Committed: https://chromium.googlesource.com/chromium/src/+/252e09263e39d4e06b2a9dc094ea... ==========
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as https://chromium.googlesource.com/chromium/src/+/252e09263e39d4e06b2a9dc094ea...
Message was sent while issue was closed.
On 2017/02/15 21:20:05, Kai Ninomiya wrote: > On 2017/02/15 18:42:37, Zhenyao Mo wrote: > > lgtm > > > > Can you also remove NV_draw_buffers support from ANGLE? > > Do you mean removing NV_draw_buffers from the set of extensions supported by > ANGLE? Or removing the shader compiler's EXT-on-NV emulation path that we're not > using anymore? Both. All traces of NV_draw_buffers in ANGLE can be removed because it's no longer needed. Dead code is bad. > > > > https://codereview.chromium.org/2678483003/diff/160001/gpu/command_buffer/ser... > > File gpu/command_buffer/service/feature_info.cc (right): > > > > > https://codereview.chromium.org/2678483003/diff/160001/gpu/command_buffer/ser... > > gpu/command_buffer/service/feature_info.cc:1157: gl_version_info_->is_es3 || > > nit: probably put the last two conditions first as they are cheaper and will > be > > hit more often. > > Done
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:180001) has been created in https://codereview.chromium.org/2696333002/ by kainino@chromium.org. The reason for reverting is: Failures on waterfall almost certainly due to this CL.
Message was sent while issue was closed.
Description was changed from ========== Fix EXT_draw_buffers detection on some GL ES 3 contexts This also disables ES2 EXT_draw_buffers emulation on top of ES3+NV_draw_buffers as it's not needed anymore - EXT_draw_buffers can now be emulated on vanilla ES3. This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel). BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2678483003 Cr-Commit-Position: refs/heads/master@{#450804} Committed: https://chromium.googlesource.com/chromium/src/+/252e09263e39d4e06b2a9dc094ea... ========== to ========== Fix EXT_draw_buffers detection on some GL ES 3 contexts This also disables ES2 EXT_draw_buffers emulation on top of ES3+NV_draw_buffers as it's not needed anymore - EXT_draw_buffers can now be emulated on vanilla ES3. This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel). BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2678483003 Cr-Commit-Position: refs/heads/master@{#450804} Committed: https://chromium.googlesource.com/chromium/src/+/252e09263e39d4e06b2a9dc094ea... ==========
The CQ bit was checked by kainino@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: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by kainino@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: Try jobs failed on following builders: linux_optional_gpu_tests_rel on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
zmo, PTAL again
lgtm https://codereview.chromium.org/2678483003/diff/220001/gpu/command_buffer/ser... File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2678483003/diff/220001/gpu/command_buffer/ser... gpu/command_buffer/service/feature_info.cc:1167: can_emulate_es2_draw_buffers_on_es3_nv); This is neat, much more readable
The CQ bit was checked by kainino@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": 220001, "attempt_start_ts": 1487359699052760, "parent_rev": "9e2a2c4db708e93db250dc00c6b6899a3dad8229", "commit_rev": "313016af0d837cfcc8ee3ccd19145f46eebc0b10"}
Message was sent while issue was closed.
Description was changed from ========== Fix EXT_draw_buffers detection on some GL ES 3 contexts This also disables ES2 EXT_draw_buffers emulation on top of ES3+NV_draw_buffers as it's not needed anymore - EXT_draw_buffers can now be emulated on vanilla ES3. This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel). BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2678483003 Cr-Commit-Position: refs/heads/master@{#450804} Committed: https://chromium.googlesource.com/chromium/src/+/252e09263e39d4e06b2a9dc094ea... ========== to ========== Fix EXT_draw_buffers detection on some GL ES 3 contexts This also disables ES2 EXT_draw_buffers emulation on top of ES3+NV_draw_buffers as it's not needed anymore - EXT_draw_buffers can now be emulated on vanilla ES3. This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel). BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2678483003 Cr-Original-Commit-Position: refs/heads/master@{#450804} Committed: https://chromium.googlesource.com/chromium/src/+/252e09263e39d4e06b2a9dc094ea... Review-Url: https://codereview.chromium.org/2678483003 Cr-Commit-Position: refs/heads/master@{#451360} Committed: https://chromium.googlesource.com/chromium/src/+/313016af0d837cfcc8ee3ccd1914... ==========
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as https://chromium.googlesource.com/chromium/src/+/313016af0d837cfcc8ee3ccd1914...
Message was sent while issue was closed.
> This also disables ES2 EXT_draw_buffers emulation on top of ES3+NV_draw_buffers as it's not needed anymore - EXT_draw_buffers can now be emulated on vanilla ES3. Oops, this part of the commit message is wrong. I forgot to update the description.
Message was sent while issue was closed.
Description was changed from ========== Fix EXT_draw_buffers detection on some GL ES 3 contexts This also disables ES2 EXT_draw_buffers emulation on top of ES3+NV_draw_buffers as it's not needed anymore - EXT_draw_buffers can now be emulated on vanilla ES3. This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel). BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2678483003 Cr-Original-Commit-Position: refs/heads/master@{#450804} Committed: https://chromium.googlesource.com/chromium/src/+/252e09263e39d4e06b2a9dc094ea... Review-Url: https://codereview.chromium.org/2678483003 Cr-Commit-Position: refs/heads/master@{#451360} Committed: https://chromium.googlesource.com/chromium/src/+/313016af0d837cfcc8ee3ccd1914... ========== to ========== Fix EXT_draw_buffers detection on some GL ES 3 contexts This is important on some native GL ES 3 contexts (e.g. Qualcomm on Google Pixel). BUG=688632 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2678483003 Cr-Original-Commit-Position: refs/heads/master@{#450804} Committed: https://chromium.googlesource.com/chromium/src/+/252e09263e39d4e06b2a9dc094ea... Review-Url: https://codereview.chromium.org/2678483003 Cr-Commit-Position: refs/heads/master@{#451360} Committed: https://chromium.googlesource.com/chromium/src/+/313016af0d837cfcc8ee3ccd1914... ========== |