|
|
Created:
3 years, 9 months ago by xiangze.zhang Modified:
3 years, 8 months ago CC:
chromium-reviews, piman+watch_chromium.org, bsalomon_chromium, vmiura, Corentin Wallez Target Ref:
refs/heads/master Project:
chromium Visibility:
Public. |
DescriptionMake gl_clear_broken workaround support core profile and use it under AMD Linux Catalyst driver
Make ClearFrameBuffer use a VAO and add version to shaders in core
profile. Use gl_clear_broken workaround under Linux AMD Catalyst driver
because it ignores clear if it's the only thing rendered to the target
before the target is read.
BUG=690122
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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/2764833003
Cr-Commit-Position: refs/heads/master@{#460282}
Committed: https://chromium.googlesource.com/chromium/src/+/6ca5d0d3ad671604d9a028e71402e9e5ee25f110
Patch Set 1 #Patch Set 2 : update driver bug version #Patch Set 3 : rebase #
Total comments: 1
Patch Set 4 : Use ShaderTranslator #Patch Set 5 : fix compile error #
Total comments: 2
Patch Set 6 : fix nits #Patch Set 7 : uniform location should be GLint #Messages
Total messages: 64 (43 generated)
Description was changed from ========== Make gl_clear_broken workaround support core profile and use it under AMD Linux Catalyst driver Make ClearFrameBuffer use a VAO and add version to shaders in core profile. Use gl_clear_broken workaround under Linux AMD Catalyst driver because it ignores clear if it's the only thing rendered to the target before the target is read. BUG=690122 ========== to ========== Make gl_clear_broken workaround support core profile and use it under AMD Linux Catalyst driver Make ClearFrameBuffer use a VAO and add version to shaders in core profile. Use gl_clear_broken workaround under Linux AMD Catalyst driver because it ignores clear if it's the only thing rendered to the target before the target is read. BUG=690122 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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 ==========
xiangze.zhang@intel.com changed reviewers: + kbr@chromium.org, zmo@chromium.org
PTAL. This patch is based on https://codereview.chromium.org/2080943002 and tries to avoid the failures.
Thank you Xiangze for fixing this. The change looks good to me overall. Probably something we need to fold in to ANGLE, and consider changing Skia in case it moves into the GPU process. Let me trigger a CQ dry run for this change. Ideally zmo@ would look at it too, but I'll give it a thumbs up if the tests come back clean.
The CQ bit was checked by kbr@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: ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
On 2017/03/23 04:51:04, Ken Russell wrote: > Thank you Xiangze for fixing this. The change looks good to me overall. Probably > something we need to fold in to ANGLE, and consider changing Skia in case it > moves into the GPU process. > > Let me trigger a CQ dry run for this change. Ideally zmo@ would look at it too, > but I'll give it a thumbs up if the tests come back clean. Xiangze, could you please rebase this CL?
On 2017/03/23 05:07:43, Ken Russell wrote: > On 2017/03/23 04:51:04, Ken Russell wrote: > > Thank you Xiangze for fixing this. The change looks good to me overall. > Probably > > something we need to fold in to ANGLE, and consider changing Skia in case it > > moves into the GPU process. > > > > Let me trigger a CQ dry run for this change. Ideally zmo@ would look at it > too, > > but I'll give it a thumbs up if the tests come back clean. > > Xiangze, could you please rebase this CL? CL Rebased.
Great work. LGTM https://codereview.chromium.org/2764833003/diff/40001/gpu/command_buffer/serv... File gpu/command_buffer/service/gles2_cmd_clear_framebuffer.cc (right): https://codereview.chromium.org/2764833003/diff/40001/gpu/command_buffer/serv... gpu/command_buffer/service/gles2_cmd_clear_framebuffer.cc:74: vao_(0), nit: 0u to be consistent with above and below
The CQ bit was checked by zmo@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_...)
The CQ bit was checked by xiangze.zhang@intel.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: 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_...)
The CQ bit was checked by xiangze.zhang@intel.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: Try jobs failed on following builders: linux_chromium_chromeos_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 xiangze.zhang@intel.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: Try jobs failed on following builders: mac_optional_gpu_tests_rel on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_optional_gpu_...)
The CQ bit was checked by xiangze.zhang@intel.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: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
Changed the code to use ShaderTranslator instead of manually modifying the shaders. Two tests are failing now but may not related to this CL. One is flaky and one is already failing for a few days.
On 2017/03/27 08:45:54, xiangze.zhang wrote: > Changed the code to use ShaderTranslator instead of manually modifying the > shaders. > > Two tests are failing now but may not related to this CL. One is flaky and one > is already failing for a few days. not lgtm The mac_optional_gpu_tests_rel failures are very real. Since you did a major refactoring, let me take out my original approval. Once the bots are green, I am happy to re-review.
The mac_optional_gpu_tests_rel failures are real, but they're http://crbug.com/705156 . We still mustn't land this until that bot's green again to avoid potentially regressing things further.
The CQ bit was checked by xiangze.zhang@intel.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: A disapproval has been posted by following reviewers: zmo@chromium.org. Please make sure to get positive review before another CQ attempt.
I see the mac_optional_gpu_tests_rel issue is resolved and some flaky tests are disabled. But I cannot trigger dry run now. Could you run tests for this patch again?
The CQ bit was checked by kbr@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...
On 2017/03/28 02:32:30, xiangze.zhang wrote: > I see the mac_optional_gpu_tests_rel issue is resolved and some flaky tests are > disabled. But I cannot trigger dry run now. Could you run tests for this patch > again? Yes; done. Hopefully there were no conflicts introduced which would prevent the patch from applying.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Mo: the mac_optional_gpu_tests_rel failures are resolved. Can you re-review? Thanks.
lgtm Thanks for improving this CL https://codereview.chromium.org/2764833003/diff/80001/gpu/command_buffer/serv... File gpu/command_buffer/service/gles2_cmd_clear_framebuffer.cc (right): https://codereview.chromium.org/2764833003/diff/80001/gpu/command_buffer/serv... gpu/command_buffer/service/gles2_cmd_clear_framebuffer.cc:9: #include "base/containers/hash_tables.h" nit: this is already included in the .h file. https://codereview.chromium.org/2764833003/diff/80001/gpu/command_buffer/serv... gpu/command_buffer/service/gles2_cmd_clear_framebuffer.cc:184: glGetUniformLocation(program_, name_map_["u_clear_color"].c_str()); nit: can you DCHECK that depth_handle_ != -1 and color_handle_ != -1?
The CQ bit was checked by xiangze.zhang@intel.com
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/2764833003/#ps100001 (title: "fix nits")
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: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_a...)
The CQ bit was checked by xiangze.zhang@intel.com
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/2764833003/#ps120001 (title: "uniform location should be GLint")
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: ios-simulator on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder probably lacks capacity) win_optional_gpu_tests_rel on master.tryserver.chromium.win (JOB_TIMED_OUT, build hasn't started yet, builder probably lacks capacity)
The CQ bit was checked by xiangze.zhang@intel.com
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": 120001, "attempt_start_ts": 1490763503886300, "parent_rev": "8c8e69e14bebb66cba7f31887865d76b24817080", "commit_rev": "6ca5d0d3ad671604d9a028e71402e9e5ee25f110"}
Message was sent while issue was closed.
Description was changed from ========== Make gl_clear_broken workaround support core profile and use it under AMD Linux Catalyst driver Make ClearFrameBuffer use a VAO and add version to shaders in core profile. Use gl_clear_broken workaround under Linux AMD Catalyst driver because it ignores clear if it's the only thing rendered to the target before the target is read. BUG=690122 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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 ========== Make gl_clear_broken workaround support core profile and use it under AMD Linux Catalyst driver Make ClearFrameBuffer use a VAO and add version to shaders in core profile. Use gl_clear_broken workaround under Linux AMD Catalyst driver because it ignores clear if it's the only thing rendered to the target before the target is read. BUG=690122 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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/2764833003 Cr-Commit-Position: refs/heads/master@{#460282} Committed: https://chromium.googlesource.com/chromium/src/+/6ca5d0d3ad671604d9a028e71402... ==========
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/6ca5d0d3ad671604d9a028e71402...
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2786963002/ by sugoi@chromium.org. The reason for reverting is: This cl broke the "Builder: Linux Release (AMD R7 240)" bot. See: https://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20(AMD... .
Message was sent while issue was closed.
On 2017/03/30 14:41:27, sugoi1 wrote: > A revert of this CL (patchset #7 id:120001) has been created in > https://codereview.chromium.org/2786963002/ by mailto:sugoi@chromium.org. > > The reason for reverting is: This cl broke the "Builder: Linux Release (AMD R7 > 240)" bot. See: > https://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20(AMD... > > . See http://crbug.com/690122 for more details on the test failures.
Message was sent while issue was closed.
On 2017/03/30 17:15:12, Ken Russell wrote: > On 2017/03/30 14:41:27, sugoi1 wrote: > > A revert of this CL (patchset #7 id:120001) has been created in > > https://codereview.chromium.org/2786963002/ by mailto:sugoi@chromium.org. > > > > The reason for reverting is: This cl broke the "Builder: Linux Release (AMD R7 > > 240)" bot. See: > > > https://build.chromium.org/p/chromium.gpu.fyi/builders/Linux%20Release%20(AMD... > > > > . > > See http://crbug.com/690122 for more details on the test failures. This also caused the failures on PowerVR on Android reported here: https://bugs.chromium.org/p/chromium/issues/detail?id=707161#c7 I took a quick look at the patch but couldn't figure out the issue. Let's figure it out before relanding this. |