|
|
Chromium Code Reviews|
Created:
3 years, 10 months ago by Geoff Lang Modified:
3 years, 9 months ago CC:
chromium-reviews, haraken, piman+watch_chromium.org, blink-reviews, Ken Russell (switch to Gerrit), ynovikov Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMove the WebGL DrawBuffers support check to the command buffer service.
BUG=693233
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;master.tryserver.chromium.android:android_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2711783003
Cr-Commit-Position: refs/heads/master@{#453247}
Committed: https://chromium.googlesource.com/chromium/src/+/3b9d2510e14348d81ca532a5abe7b5cfc7d011d5
Patch Set 1 #Patch Set 2 : Reorder have_es2_draw_buffers logic #
Total comments: 3
Patch Set 3 : Make sure depth stencil formats are safe for ES3. #Patch Set 4 : Fix typo #
Messages
Total messages: 32 (24 generated)
Description was changed from ========== Move the WebGL DrawBuffers support check to the command buffer service. BUG=693233 ========== to ========== Move the WebGL DrawBuffers support check to the command buffer service. BUG=693233 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 geofflang@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 geofflang@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...
geofflang@chromium.org changed reviewers: + zmo@chromium.org
PTAL
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
+kbr LGTM if the answer to my question is yes https://codereview.chromium.org/2711783003/diff/20001/gpu/command_buffer/serv... File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2711783003/diff/20001/gpu/command_buffer/serv... gpu/command_buffer/service/feature_info.cc:133: glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_STENCIL, 1, 1, 0, GL_DEPTH_STENCIL, Juts want to make sure this (unsized internal format) gets translated before sending down to the driver (in the binding) I am not sure if the translation happens in command buffer or in the binding. The blink side code goes through both and now we only go through the binding. https://codereview.chromium.org/2711783003/diff/20001/gpu/command_buffer/serv... gpu/command_buffer/service/feature_info.cc:141: glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_COMPONENT, 1, 1, 0, Same here.
kbr@chromium.org changed reviewers: + kbr@chromium.org
https://codereview.chromium.org/2711783003/diff/20001/gpu/command_buffer/serv... File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2711783003/diff/20001/gpu/command_buffer/serv... gpu/command_buffer/service/feature_info.cc:133: glTexImage2D(GL_TEXTURE_2D, 0, GL_DEPTH_STENCIL, 1, 1, 0, GL_DEPTH_STENCIL, On 2017/02/23 00:12:43, Zhenyao Mo wrote: > Juts want to make sure this (unsized internal format) gets translated before > sending down to the driver (in the binding) > > I am not sure if the translation happens in command buffer or in the binding. > The blink side code goes through both and now we only go through the binding. I don't remember exactly at this point -- but grepping through src/ui/gl/ it looks like no translation of this value is done in the bindings layer. So we do need to be very careful about not generating INVALID_OPERATION errors on real ES 3.0 implementations, for example.
The CQ bit was checked by geofflang@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 geofflang@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 2017/02/23 01:46:26, Ken Russell wrote: > https://codereview.chromium.org/2711783003/diff/20001/gpu/command_buffer/serv... > File gpu/command_buffer/service/feature_info.cc (right): > > https://codereview.chromium.org/2711783003/diff/20001/gpu/command_buffer/serv... > gpu/command_buffer/service/feature_info.cc:133: glTexImage2D(GL_TEXTURE_2D, 0, > GL_DEPTH_STENCIL, 1, 1, 0, GL_DEPTH_STENCIL, > On 2017/02/23 00:12:43, Zhenyao Mo wrote: > > Juts want to make sure this (unsized internal format) gets translated before > > sending down to the driver (in the binding) > > > > I am not sure if the translation happens in command buffer or in the binding. > > The blink side code goes through both and now we only go through the binding. > > I don't remember exactly at this point -- but grepping through src/ui/gl/ it > looks like no translation of this value is done in the bindings layer. So we do > need to be very careful about not generating INVALID_OPERATION errors on real ES > 3.0 implementations, for example. I updated the check to be safe for ES3 without the packed depth stencil extension.
Description was changed from ========== Move the WebGL DrawBuffers support check to the command buffer service. BUG=693233 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 ========== Move the WebGL DrawBuffers support check to the command buffer service. BUG=693233 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;master.tryserver.chromium.android:android_optional_gpu_tests_rel ==========
Thanks Geoff. I added master.tryserver.chromium.android:android_optional_gpu_tests_rel manually to CQ_INCLUDE_TRYBOTS and triggered a job. Let's see how it does. That will at least run the WebGL 1.0 conformance tests. Yuly: we should add this bot to the various PRESUBMIT checks that run the desktop optional GPU tryservers, assuming it's stable now. If you could verify this and prepare a CL I'll review it. Thanks.
On 2017/02/27 08:21:43, Ken Russell wrote: > Thanks Geoff. > > I added master.tryserver.chromium.android:android_optional_gpu_tests_rel > manually to CQ_INCLUDE_TRYBOTS and triggered a job. Let's see how it does. That > will at least run the WebGL 1.0 conformance tests. > > Yuly: we should add this bot to the various PRESUBMIT checks that run the > desktop optional GPU tryservers, assuming it's stable now. If you could verify > this and prepare a CL I'll review it. > > Thanks. Looks good. Going to land it.
The CQ bit was checked by geofflang@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/2711783003/#ps60001 (title: "Fix typo")
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": 60001, "attempt_start_ts": 1488209053308240,
"parent_rev": "c9951718824b9db9b456cd8a5ed80ee30e3f2910", "commit_rev":
"3b9d2510e14348d81ca532a5abe7b5cfc7d011d5"}
Message was sent while issue was closed.
Description was changed from ========== Move the WebGL DrawBuffers support check to the command buffer service. BUG=693233 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;master.tryserver.chromium.android:android_optional_gpu_tests_rel ========== to ========== Move the WebGL DrawBuffers support check to the command buffer service. BUG=693233 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;master.tryserver.chromium.android:android_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2711783003 Cr-Commit-Position: refs/heads/master@{#453247} Committed: https://chromium.googlesource.com/chromium/src/+/3b9d2510e14348d81ca532a5abe7... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/3b9d2510e14348d81ca532a5abe7... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
