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

Issue 1068573004: Disable framebuffer discarding on Mali-4xx and clean up. (Closed)

Created:
5 years, 8 months ago by aelias_OOO_until_Jul13
Modified:
5 years, 8 months ago
Reviewers:
David Yen, no sievers
CC:
chromium-reviews, piman+watch_chromium.org, Zhenyao Mo
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable framebuffer discarding on Mali-4xx and clean up. It seems all of the known bugs with Mali-400 are related to framebuffer discarding. Blacklist framebuffer discarding universally on Mali-400 and reenable ganesh and canvas where it was still blacklisted on Mali-400. There was a preexisting workaround applied to all ARM < 4.4 which was originally written in the context of Mali-T604; this explains why the bugs only reproed on some Mali-400 devices. Add a new one for all 4xx. Also, a recently added Nexus 6 workaround did essentially the same thing, but at the level of making the discard do nothing instead of not advertising the extension. In OpenGL ES 3, this is a core method so failing to advertise won't be sufficient, so merge the two workarounds and remove the "_ext_" from the name. BUG=449488, 451230 Committed: https://crrev.com/8ef99b8a51842a038c64cd2b1ab1896228651ec2 Cr-Commit-Position: refs/heads/master@{#324152}

Patch Set 1 #

Patch Set 2 : Don't make old workaround more specific for safety #

Total comments: 4

Patch Set 3 : Code review comments #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -27 lines) Patch
M gpu/command_buffer/service/feature_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 7 chunks +18 lines, -6 lines 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 2 1 chunk +2 lines, -4 lines 0 comments Download
M gpu/config/software_rendering_list_json.cc View 1 2 2 chunks +1 line, -15 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
aelias_OOO_until_Jul13
Hi Daniel and David, this is an alternate variant for https://codereview.chromium.org/1062043002/ that goes a bit ...
5 years, 8 months ago (2015-04-07 00:36:50 UTC) #2
David Yen
LGTM with the 2 fixes, I'll close the other CL. https://codereview.chromium.org/1068573004/diff/20001/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/1068573004/diff/20001/gpu/config/gpu_driver_bug_list_json.cc#newcode1204 ...
5 years, 8 months ago (2015-04-07 16:25:59 UTC) #3
David Yen
On 2015/04/07 16:25:59, David Yen wrote: > LGTM with the 2 fixes, I'll close the ...
5 years, 8 months ago (2015-04-07 16:35:16 UTC) #4
David Yen
On 2015/04/07 16:35:16, David Yen wrote: > On 2015/04/07 16:25:59, David Yen wrote: > > ...
5 years, 8 months ago (2015-04-07 17:13:21 UTC) #5
aelias_OOO_until_Jul13
Daniel, ping for OWNERS review? On 2015/04/07 at 17:13:21, dyen wrote: > I just tested ...
5 years, 8 months ago (2015-04-07 19:43:31 UTC) #6
aelias_OOO_until_Jul13
https://codereview.chromium.org/1068573004/diff/20001/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/1068573004/diff/20001/gpu/config/gpu_driver_bug_list_json.cc#newcode1204 gpu/config/gpu_driver_bug_list_json.cc:1204: }, On 2015/04/07 16:25:59, David Yen wrote: > I ...
5 years, 8 months ago (2015-04-07 19:47:11 UTC) #7
vmiura
> No, this sort of gating is not reliable and has failed us before. It's ...
5 years, 8 months ago (2015-04-07 21:00:15 UTC) #8
no sievers
On 2015/04/07 19:43:31, aelias wrote: > Daniel, ping for OWNERS review? > > On 2015/04/07 ...
5 years, 8 months ago (2015-04-07 21:12:09 UTC) #9
aelias_OOO_until_Jul13
On 2015/04/07 at 21:00:15, vmiura wrote: > If we can't narrow this, we may need ...
5 years, 8 months ago (2015-04-07 21:23:19 UTC) #10
no sievers
On 2015/04/07 21:23:19, aelias wrote: > On 2015/04/07 at 21:00:15, vmiura wrote: > > If ...
5 years, 8 months ago (2015-04-07 21:27:34 UTC) #11
aelias_OOO_until_Jul13
We don't have any real leverage to force OEMs to fix their drivers with version ...
5 years, 8 months ago (2015-04-07 21:39:35 UTC) #12
aelias_OOO_until_Jul13
OK, I chatted with Victor offline and we can land this and revisit later.
5 years, 8 months ago (2015-04-07 22:32:20 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1068573004/60001
5 years, 8 months ago (2015-04-07 22:34:21 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-07 23:19:45 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-04-07 23:21:30 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8ef99b8a51842a038c64cd2b1ab1896228651ec2
Cr-Commit-Position: refs/heads/master@{#324152}

Powered by Google App Engine
This is Rietveld 408576698