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

Issue 2482673002: fix --show-composited-layer-borders on Mac (Closed)

Created:
4 years, 1 month ago by Lof
Modified:
4 years, 1 month ago
Reviewers:
piman
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

fix --show-composited-layer-borders on Mac Fix GPU process crash due to incorrect glLineWidth value on Mac. BUG=662682 R=piman CQ_INCLUDE_TRYBOTS=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 Committed: https://crrev.com/d5e3696056f67a01e595bc7c62b9270052deb1f2 Cr-Commit-Position: refs/heads/master@{#431102}

Patch Set 1 #

Total comments: 2

Patch Set 2 : another approach #

Total comments: 4

Patch Set 3 : final solution #

Total comments: 2

Patch Set 4 : fix tests #

Total comments: 2

Patch Set 5 : test fixed #

Total comments: 2

Patch Set 6 : small fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -9 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 3 chunks +14 lines, -6 lines 0 comments Download
M gpu/command_buffer/service/context_state.h View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_state.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/context_state_impl_autogen.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (4 generated)
Lof
4 years, 1 month ago (2016-11-05 21:18:40 UTC) #2
piman
https://codereview.chromium.org/2482673002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/2482673002/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode2743 gpu/command_buffer/build_gles2_cmd_buffer.py:2743: 'type': 'Custom', Rather than using "Custom" which completely removes ...
4 years, 1 month ago (2016-11-07 19:38:02 UTC) #3
Lof
Hi piman! Here another approach. Is this OK?
4 years, 1 month ago (2016-11-07 22:09:34 UTC) #4
piman
Overall approach is good, but we need to make sure the autogenerated file is correctly ...
4 years, 1 month ago (2016-11-07 22:34:40 UTC) #5
Lof
https://codereview.chromium.org/2482673002/diff/20001/gpu/command_buffer/service/context_state.h File gpu/command_buffer/service/context_state.h (right): https://codereview.chromium.org/2482673002/diff/20001/gpu/command_buffer/service/context_state.h#newcode169 gpu/command_buffer/service/context_state.h:169: void InitLineWidth(GLfloat min, GLfloat max); On 2016/11/07 22:34:40, piman ...
4 years, 1 month ago (2016-11-08 20:11:58 UTC) #6
piman
Thanks for working on this - sorry it's taking a while. I think there's another ...
4 years, 1 month ago (2016-11-08 22:20:23 UTC) #7
Lof
https://codereview.chromium.org/2482673002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h File gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h (right): https://codereview.chromium.org/2482673002/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h#newcode79 gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h:79: EXPECT_CALL(*gl_, DoLineWidth(1.0f)).Times(1).RetiresOnSaturation(); On 2016/11/08 22:20:23, piman wrote: > I ...
4 years, 1 month ago (2016-11-09 08:57:11 UTC) #8
Lof
Hi piman! I think it's better to modify codegen rather than to add code manually.
4 years, 1 month ago (2016-11-09 09:06:48 UTC) #9
piman
https://codereview.chromium.org/2482673002/diff/60001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/2482673002/diff/60001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode10540 gpu/command_buffer/build_gles2_cmd_buffer.py:10540: func_name = func_name[len(func_prefix):] Mmh, the reason I suggested manual ...
4 years, 1 month ago (2016-11-09 16:32:13 UTC) #10
Lof
https://codereview.chromium.org/2482673002/diff/60001/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/2482673002/diff/60001/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode10540 gpu/command_buffer/build_gles2_cmd_buffer.py:10540: func_name = func_name[len(func_prefix):] On 2016/11/09 16:32:13, piman wrote: > ...
4 years, 1 month ago (2016-11-09 22:14:19 UTC) #11
piman
lgtm https://codereview.chromium.org/2482673002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (right): https://codereview.chromium.org/2482673002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc#newcode2072 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc:2072: EXPECT_CALL(*gl_, LineWidth(1.0f)).Times(1).RetiresOnSaturation(); nit: LineWidth(width) maybe?
4 years, 1 month ago (2016-11-09 22:31:21 UTC) #12
Lof
https://codereview.chromium.org/2482673002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc File gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (right): https://codereview.chromium.org/2482673002/diff/80001/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc#newcode2072 gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc:2072: EXPECT_CALL(*gl_, LineWidth(1.0f)).Times(1).RetiresOnSaturation(); On 2016/11/09 22:31:21, piman wrote: > nit: ...
4 years, 1 month ago (2016-11-09 22:37:21 UTC) #13
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/2482673002/100001
4 years, 1 month ago (2016-11-09 22:38:20 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-10 00:36:23 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 00:38:30 UTC) #19
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d5e3696056f67a01e595bc7c62b9270052deb1f2
Cr-Commit-Position: refs/heads/master@{#431102}

Powered by Google App Engine
This is Rietveld 408576698