Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Issue 2934733002: Workaround for Intel 6xxx clear to 0/1 bug (Closed)

Created:
3 years, 6 months ago by jiajia.qin
Modified:
3 years, 5 months ago
Reviewers:
Zhenyao Mo, piman
CC:
chromium-reviews, piman+watch_chromium.org, yunchao
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Workaround for Intel 6xxx clear to 0/1 bug This is ported form skia fixing https://skia-review.googlesource.com/c/17327/ and https://skia-review.googlesource.com/c/16427/ BUG=710443 TEST=WebGL conformance test:framebuffer-texture-clear.html 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/2934733002 Cr-Commit-Position: refs/heads/master@{#486150} Committed: https://chromium.googlesource.com/chromium/src/+/01aa041da4c2327324ae3470c8e29f4829a9e928

Patch Set 1 #

Patch Set 2 : Unify to use DoClearColor #

Patch Set 3 : fix try-bot error #

Total comments: 4

Patch Set 4 : workaround at gl_gl_api_implementation.cc #

Total comments: 11

Patch Set 5 : rebase and move workarounds to gl_context #

Total comments: 8

Patch Set 6 : rebase and move GLWorkarounds to a member of GLContext #

Total comments: 2

Patch Set 7 : make gl_workarounds as a non-static member of GLContext #

Patch Set 8 : fix try-bot error #

Total comments: 2

Patch Set 9 : Pass workarounds to gl_gl_api_implementation #

Patch Set 10 : move gl_workarounds_ to a member of RealGLApi #

Total comments: 2

Patch Set 11 : rebased, put the definition of struct GLWorkarounds to a separate file #

Patch Set 12 #

Total comments: 2

Patch Set 13 : rebased, rename setGLWorkarounds to set_gl_workarounds #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -1 line) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -0 lines 0 comments Download
M gpu/config/gpu_driver_bug_list.json View 1 2 3 4 5 6 7 8 9 10 2 chunks +18 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gl/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_context.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -0 lines 0 comments Download
M ui/gl/gl_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +9 lines, -0 lines 0 comments Download
M ui/gl/gl_gl_api_implementation.h View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +7 lines, -0 lines 0 comments Download
M ui/gl/gl_gl_api_implementation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +19 lines, -0 lines 0 comments Download
A ui/gl/gl_workarounds.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 78 (55 generated)
jiajia.qin
Hi, Zhenyao. Please check if this patch is still needed since it's a little heavy ...
3 years, 6 months ago (2017-06-13 09:55:00 UTC) #15
Zhenyao Mo
This is similar to https://codereview.chromium.org/2827573007/ You definitely miss some glClear calls, for example, gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc Also, ...
3 years, 6 months ago (2017-06-13 19:01:25 UTC) #16
jiajia.qin
>I think the workaround should be wired up to ui/gl/gl_gl_api_implementation.cc instead. Hi, Zhenyao. Thanks for ...
3 years, 6 months ago (2017-06-14 08:18:22 UTC) #21
Zhenyao Mo
https://codereview.chromium.org/2934733002/diff/60001/gpu/config/gpu_driver_bug_list.json File gpu/config/gpu_driver_bug_list.json (right): https://codereview.chromium.org/2934733002/diff/60001/gpu/config/gpu_driver_bug_list.json#newcode2513 gpu/config/gpu_driver_bug_list.json:2513: "id": 231, Don't do that even if we skip ...
3 years, 6 months ago (2017-06-19 21:47:21 UTC) #22
jiajia.qin
Zhenyao, please take another look. Thanks. https://codereview.chromium.org/2934733002/diff/60001/gpu/config/gpu_driver_bug_list.json File gpu/config/gpu_driver_bug_list.json (right): https://codereview.chromium.org/2934733002/diff/60001/gpu/config/gpu_driver_bug_list.json#newcode2513 gpu/config/gpu_driver_bug_list.json:2513: "id": 231, On ...
3 years, 6 months ago (2017-06-20 04:22:45 UTC) #27
Zhenyao Mo
Sorry for not being clear. https://codereview.chromium.org/2934733002/diff/80001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2934733002/diff/80001/gpu/command_buffer/service/feature_info.cc#newcode562 gpu/command_buffer/service/feature_info.cc:562: gl::GLWorkarounds glWorkarounds; gl_workarounds https://codereview.chromium.org/2934733002/diff/80001/gpu/config/gpu_driver_bug_workaround_type.h ...
3 years, 6 months ago (2017-06-20 21:34:17 UTC) #28
jiajia.qin
Hi, Zhenyao. Please check if this cl is clear now. Sorry for the misunderstanding earlier. ...
3 years, 6 months ago (2017-06-21 02:47:22 UTC) #33
Zhenyao Mo
https://codereview.chromium.org/2934733002/diff/100001/ui/gl/gl_context.h File ui/gl/gl_context.h (right): https://codereview.chromium.org/2934733002/diff/100001/ui/gl/gl_context.h#newcode236 ui/gl/gl_context.h:236: static GLWorkarounds gl_workarounds_; Again, sorry for not being clear. ...
3 years, 6 months ago (2017-06-21 16:52:05 UTC) #34
jiajia.qin
https://codereview.chromium.org/2934733002/diff/100001/ui/gl/gl_context.h File ui/gl/gl_context.h (right): https://codereview.chromium.org/2934733002/diff/100001/ui/gl/gl_context.h#newcode236 ui/gl/gl_context.h:236: static GLWorkarounds gl_workarounds_; On 2017/06/21 16:52:05, Zhenyao Mo wrote: ...
3 years, 6 months ago (2017-06-22 11:18:58 UTC) #43
Zhenyao Mo
https://codereview.chromium.org/2934733002/diff/140001/ui/gl/gl_context.cc File ui/gl/gl_context.cc (right): https://codereview.chromium.org/2934733002/diff/140001/ui/gl/gl_context.cc#newcode254 ui/gl/gl_context.cc:254: real_gl_api_->setGLContext(this); This is less optimal. GLContext owns real_gl_api_, so ...
3 years, 5 months ago (2017-06-26 21:45:22 UTC) #44
jiajia.qin
https://codereview.chromium.org/2934733002/diff/140001/ui/gl/gl_context.cc File ui/gl/gl_context.cc (right): https://codereview.chromium.org/2934733002/diff/140001/ui/gl/gl_context.cc#newcode254 ui/gl/gl_context.cc:254: real_gl_api_->setGLContext(this); On 2017/06/26 21:45:22, Zhenyao Mo wrote: > This ...
3 years, 5 months ago (2017-06-28 10:03:39 UTC) #53
jiajia.qin
CC Yunchao@
3 years, 5 months ago (2017-06-29 03:08:24 UTC) #54
jiajia.qin
Ping Zhenyao@. Please take a look when you have time. Thanks.
3 years, 5 months ago (2017-07-05 07:48:17 UTC) #55
Zhenyao Mo
Sorry for the delay - I was on vacation. Mostly look good with one minor ...
3 years, 5 months ago (2017-07-11 18:24:48 UTC) #56
jiajia.qin
Hi Mo, thanks for your patient review. Please take a final look. https://codereview.chromium.org/2934733002/diff/180001/ui/gl/gl_gl_api_implementation.h File ui/gl/gl_gl_api_implementation.h ...
3 years, 5 months ago (2017-07-12 05:01:00 UTC) #63
Zhenyao Mo
Please fix the function naming before landing LGTM after the fix https://codereview.chromium.org/2934733002/diff/220001/ui/gl/gl_gl_api_implementation.h File ui/gl/gl_gl_api_implementation.h (right): ...
3 years, 5 months ago (2017-07-12 17:00:15 UTC) #64
jiajia.qin
>Please fix the function naming before landing Done. Will commit. https://codereview.chromium.org/2934733002/diff/220001/ui/gl/gl_gl_api_implementation.h File ui/gl/gl_gl_api_implementation.h (right): https://codereview.chromium.org/2934733002/diff/220001/ui/gl/gl_gl_api_implementation.h#newcode121 ...
3 years, 5 months ago (2017-07-12 18:29:44 UTC) #65
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2934733002/240001
3 years, 5 months ago (2017-07-12 18:30:33 UTC) #68
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/487495)
3 years, 5 months ago (2017-07-12 18:43:38 UTC) #70
jiajia.qin
Seems that missing LGTM for ui/gl. piman@, can you look at for that part?
3 years, 5 months ago (2017-07-12 22:54:58 UTC) #72
piman
lgtm
3 years, 5 months ago (2017-07-12 23:22:52 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2934733002/240001
3 years, 5 months ago (2017-07-12 23:30:43 UTC) #75
commit-bot: I haz the power
3 years, 5 months ago (2017-07-12 23:36:23 UTC) #78
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/01aa041da4c2327324ae3470c8e2...

Powered by Google App Engine
This is Rietveld 408576698