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

Issue 1301053002: gpu: introduce DISABLE_TEXTURE_STORAGE workaround for mesa (Closed)

Created:
5 years, 4 months ago by dshwang
Modified:
5 years, 3 months ago
Reviewers:
Nico, no sievers, piman
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: introduce DISABLE_TEXTURE_STORAGE workaround for mesa Without the workaround, TextureStorageTest.CorrectPixels crashes on mesa drivers. BUG=521904 Committed: https://crrev.com/360cdb678007b63bfebe7644ce2eac546c99f3af Cr-Commit-Position: refs/heads/master@{#346665}

Patch Set 1 #

Total comments: 3

Patch Set 2 : introduce DISABLE_TEXTURE_STORAGE workaround #

Patch Set 3 : match CommandLine pattern to other gl_tests #

Total comments: 2

Patch Set 4 : including feature_info.cc change #

Patch Set 5 : don't disable unittests #

Total comments: 2

Patch Set 6 : apply < 10.6 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -5 lines) Patch
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 5 1 chunk +5 lines, -4 lines 0 comments Download
M gpu/command_buffer/tests/gl_texture_storage_unittest.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 4 5 2 chunks +17 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (3 generated)
dshwang
could you review? After mesa bug is fixed in https://bugs.freedesktop.org/show_bug.cgi?id=91673, I'll revert this CL.
5 years, 4 months ago (2015-08-19 12:46:59 UTC) #2
piman
https://codereview.chromium.org/1301053002/diff/1/gpu/command_buffer/tests/gl_texture_storage_unittest.cc File gpu/command_buffer/tests/gl_texture_storage_unittest.cc (right): https://codereview.chromium.org/1301053002/diff/1/gpu/command_buffer/tests/gl_texture_storage_unittest.cc#newcode53 gpu/command_buffer/tests/gl_texture_storage_unittest.cc:53: // texture bound to FBO, remove this workaround. crbug.com/521904 ...
5 years, 4 months ago (2015-08-19 21:07:21 UTC) #3
dshwang
https://codereview.chromium.org/1301053002/diff/1/gpu/command_buffer/tests/gl_texture_storage_unittest.cc File gpu/command_buffer/tests/gl_texture_storage_unittest.cc (right): https://codereview.chromium.org/1301053002/diff/1/gpu/command_buffer/tests/gl_texture_storage_unittest.cc#newcode53 gpu/command_buffer/tests/gl_texture_storage_unittest.cc:53: // texture bound to FBO, remove this workaround. crbug.com/521904 ...
5 years, 4 months ago (2015-08-20 07:47:47 UTC) #4
dshwang
I introduce DISABLE_TEXTURE_STORAGE workaround to prevent client for crashing gpu process. Under Linux Mesa 10.5.2 ...
5 years, 4 months ago (2015-08-20 15:41:24 UTC) #5
dshwang
piman, could you review again?
5 years, 4 months ago (2015-08-21 10:30:08 UTC) #6
piman
https://codereview.chromium.org/1301053002/diff/40001/gpu/config/gpu_driver_bug_workaround_type.h File gpu/config/gpu_driver_bug_workaround_type.h (right): https://codereview.chromium.org/1301053002/diff/40001/gpu/config/gpu_driver_bug_workaround_type.h#newcode50 gpu/config/gpu_driver_bug_workaround_type.h:50: disable_texture_storage) \ You added this workaround type, but you're ...
5 years, 4 months ago (2015-08-22 00:11:41 UTC) #7
dshwang
sorry fog lagging update. piman, sievers, could you review again? https://codereview.chromium.org/1301053002/diff/40001/gpu/config/gpu_driver_bug_workaround_type.h File gpu/config/gpu_driver_bug_workaround_type.h (right): https://codereview.chromium.org/1301053002/diff/40001/gpu/config/gpu_driver_bug_workaround_type.h#newcode50 ...
5 years, 3 months ago (2015-08-26 15:20:14 UTC) #8
piman
https://codereview.chromium.org/1301053002/diff/80001/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/1301053002/diff/80001/gpu/config/gpu_driver_bug_list_json.cc#newcode1495 gpu/config/gpu_driver_bug_list_json.cc:1495: "value": "10.5.2" Should this be < 10.6 ? According ...
5 years, 3 months ago (2015-08-31 23:36:16 UTC) #9
dshwang
piman, thx for reviewing. could you review again? https://codereview.chromium.org/1301053002/diff/80001/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/1301053002/diff/80001/gpu/config/gpu_driver_bug_list_json.cc#newcode1495 gpu/config/gpu_driver_bug_list_json.cc:1495: "value": ...
5 years, 3 months ago (2015-09-01 13:50:13 UTC) #10
piman
lgtm
5 years, 3 months ago (2015-09-01 14:49:57 UTC) #11
dshwang
On 2015/09/01 14:49:57, piman (OOO back 2015-08-31) wrote: > lgtm thx for rapid reviewing!
5 years, 3 months ago (2015-09-01 15:29:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1301053002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1301053002/100001
5 years, 3 months ago (2015-09-01 15:29:32 UTC) #14
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 3 months ago (2015-09-01 15:58:15 UTC) #15
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/360cdb678007b63bfebe7644ce2eac546c99f3af Cr-Commit-Position: refs/heads/master@{#346665}
5 years, 3 months ago (2015-09-01 15:58:52 UTC) #16
Nico
A bunch of tests started failing on this (non-main waterfall) bot after this change: http://build.chromium.org/p/chromium.fyi/builders/CrWinClang64%28dll%29%20tester/builds/975 ...
5 years, 3 months ago (2015-09-01 21:26:31 UTC) #18
Nico
On 2015/09/01 21:26:31, Nico wrote: > A bunch of tests started failing on this (non-main ...
5 years, 3 months ago (2015-09-01 21:28:29 UTC) #19
dshwang
5 years, 3 months ago (2015-09-02 08:19:13 UTC) #20
Message was sent while issue was closed.
On 2015/09/01 21:28:29, Nico wrote:
> On 2015/09/01 21:26:31, Nico wrote:
> > A bunch of tests started failing on this (non-main waterfall) bot after this
> > change:
> >
>
http://build.chromium.org/p/chromium.fyi/builders/CrWinClang64%28dll%29%20tes...
> > Do you see why that could happen?
> 
> (If not: The bot has incremental build issues, so maybe it's just due to that.
> I'm mostly asking in case it's something obvious to you. If not, don't worry
> about it.)

I don't think it can be related to the failure, because many platforms are fine
without immutable texture supports already.
For some reason, the failure has recovered since Sep 01 22:02.

Powered by Google App Engine
This is Rietveld 408576698