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

Issue 1286193008: Reland of "gpu: workaround force_cube_map_positive_x_allocation fixes Android crash." (Closed)

Created:
5 years, 4 months ago by dshwang
Modified:
5 years, 3 months ago
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

Reland of "gpu: workaround force_cube_map_positive_x_allocation fixes Android crash." Original CL: https://codereview.chromium.org/1280163004 Revert: https://codereview.chromium.org/1298263002 False revert for Linux Msan crash BUG=517548 Committed: https://crrev.com/9e8922bb4c140b5efd5e14d5d6561717c512d4b7 Cr-Commit-Position: refs/heads/master@{#346622}

Patch Set 1 #

Patch Set 2 : Add ANGLE to workaround #

Total comments: 2

Patch Set 3 : handle nvidia failure by adding hack to gl_tests #

Patch Set 4 : fix nvidia failure #

Patch Set 5 : add ANGLE and NVIDIA workaround #

Patch Set 6 : gl_tests cannot fully detect gpu_info, so add workaround manually #

Patch Set 7 : fix nvidia failure on mac and android #

Total comments: 4

Patch Set 8 : fix logic error in texture_manager.cc #

Patch Set 9 : make logic more readable #

Patch Set 10 : disable linux_android_rel_ng #

Patch Set 11 : proceed linux_android_rel_ng as much as possible #

Total comments: 2

Patch Set 12 : update the version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+268 lines, -6 lines) Patch
M gpu/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -3 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +9 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +53 lines, -0 lines 0 comments Download
A gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +152 lines, -0 lines 0 comments Download
M gpu/config/gpu_driver_bug_list_json.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +47 lines, -1 line 0 comments Download
M gpu/config/gpu_driver_bug_workaround_type.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/gpu.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (7 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286193008/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286193008/1
5 years, 4 months ago (2015-08-19 07:58:19 UTC) #2
dshwang
sievers, could you review again? because I change some code. https://codereview.chromium.org/1286193008/diff/20001/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc File gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc (right): https://codereview.chromium.org/1286193008/diff/20001/gpu/command_buffer/tests/gl_cube_map_texture_unittest.cc#newcode125 ...
5 years, 4 months ago (2015-08-19 08:10:39 UTC) #4
dshwang
ok, I narrow the reason why https://codereview.chromium.org/1275773003/ fails in Nvidia bot. The difference between Patch ...
5 years, 4 months ago (2015-08-19 10:26:38 UTC) #6
dshwang
nvidia driver fails glReadPixels if the bound texture is not cube complete. ANGLE, Android Adreno, ...
5 years, 4 months ago (2015-08-19 10:35:09 UTC) #7
dshwang
sievers, could you review this workaround again? now this CL handles ANGLE and NVidia also.
5 years, 4 months ago (2015-08-20 17:15:36 UTC) #9
no sievers
https://codereview.chromium.org/1286193008/diff/120001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1286193008/diff/120001/gpu/command_buffer/service/texture_manager.cc#newcode1945 gpu/command_buffer/service/texture_manager.cc:1945: if (texture->target() == GL_TEXTURE_CUBE_MAP) { This breaks all cubemap ...
5 years, 4 months ago (2015-08-21 19:30:30 UTC) #10
dshwang
now all trybots pass. sievers, could you review again? https://codereview.chromium.org/1286193008/diff/120001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/1286193008/diff/120001/gpu/command_buffer/service/texture_manager.cc#newcode1945 gpu/command_buffer/service/texture_manager.cc:1945: ...
5 years, 3 months ago (2015-08-27 06:09:53 UTC) #12
Ken Russell (switch to Gerrit)
+zmo as alternate reviewer
5 years, 3 months ago (2015-08-27 21:40:48 UTC) #14
Zhenyao Mo
LGTM https://codereview.chromium.org/1286193008/diff/220001/gpu/config/gpu_driver_bug_list_json.cc File gpu/config/gpu_driver_bug_list_json.cc (right): https://codereview.chromium.org/1286193008/diff/220001/gpu/config/gpu_driver_bug_list_json.cc#newcode22 gpu/config/gpu_driver_bug_list_json.cc:22: "version": "8.23", Update the version here.
5 years, 3 months ago (2015-08-28 22:41:58 UTC) #15
dshwang
thanks for reviewing. strangely, zmo is not owner for gpu/gpu.gyp and gpu/BUILD.gn sievers, piman, could ...
5 years, 3 months ago (2015-08-31 08:50:45 UTC) #16
Zhenyao Mo
On 2015/08/31 08:50:45, dshwang_ooo_5.9-27.9 wrote: > thanks for reviewing. > strangely, zmo is not owner ...
5 years, 3 months ago (2015-08-31 17:43:25 UTC) #17
dshwang
On 2015/08/31 17:43:25, Zhenyao Mo wrote: > On 2015/08/31 08:50:45, dshwang_ooo_5.9-27.9 wrote: > > thanks ...
5 years, 3 months ago (2015-08-31 18:55:33 UTC) #18
piman
lgtm
5 years, 3 months ago (2015-08-31 23:26:29 UTC) #19
dshwang
On 2015/08/31 23:26:29, piman (OOO back 2015-08-31) wrote: > lgtm thx for reviewing!
5 years, 3 months ago (2015-09-01 07:50:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1286193008/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1286193008/240001
5 years, 3 months ago (2015-09-01 07:50:48 UTC) #22
commit-bot: I haz the power
Committed patchset #12 (id:240001)
5 years, 3 months ago (2015-09-01 11:04:57 UTC) #23
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 11:05:32 UTC) #24
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/9e8922bb4c140b5efd5e14d5d6561717c512d4b7
Cr-Commit-Position: refs/heads/master@{#346622}

Powered by Google App Engine
This is Rietveld 408576698