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

Issue 2070313002: Parse GL_VERSION incorrectly when version string is without release_number (Closed)

Created:
4 years, 6 months ago by xinghua.cao
Modified:
4 years, 6 months ago
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Parse GL_VERSION incorrectly when version string is without release_number BUG=620677 Committed: https://crrev.com/499933129cdb8dbc7c35c146f86ce75504252dd9 Cr-Commit-Position: refs/heads/master@{#401221}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add unit test case #

Total comments: 10

Patch Set 3 : Address zhenyao's comments #

Total comments: 1

Patch Set 4 : code rebase #

Patch Set 5 : Four indent instead of two #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M ui/gl/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_tests.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_version_info.cc View 1 chunk +1 line, -1 line 0 comments Download
A ui/gl/gl_version_info_unittest.cc View 1 2 3 4 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (12 generated)
xinghua.cao
https://codereview.chromium.org/2070313002/diff/1/ui/gl/gl_version_info.cc File ui/gl/gl_version_info.cc (right): https://codereview.chromium.org/2070313002/diff/1/ui/gl/gl_version_info.cc#newcode75 ui/gl/gl_version_info.cc:75: lstr = lstr.substr(10, 3); If OpenGL version string is ...
4 years, 6 months ago (2016-06-16 10:29:05 UTC) #3
qiankun
L-G-T-M
4 years, 6 months ago (2016-06-16 10:37:52 UTC) #4
qiankun
PTAL.
4 years, 6 months ago (2016-06-16 14:39:22 UTC) #6
Zhenyao Mo
On 2016/06/16 14:39:22, qiankun wrote: > PTAL. lgtm
4 years, 6 months ago (2016-06-16 18:18:59 UTC) #7
Zhenyao Mo
but I am not owner. kbr should review this.
4 years, 6 months ago (2016-06-16 18:19:31 UTC) #8
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2070313002/diff/1/ui/gl/gl_version_info.cc File ui/gl/gl_version_info.cc (right): https://codereview.chromium.org/2070313002/diff/1/ui/gl/gl_version_info.cc#newcode75 ui/gl/gl_version_info.cc:75: lstr = lstr.substr(10, 3); On 2016/06/16 10:29:05, xinghua.cao wrote: ...
4 years, 6 months ago (2016-06-16 20:12:22 UTC) #9
xinghua.cao
On 2016/06/16 20:12:22, Ken Russell OOO till 6-21-2016 wrote: > https://codereview.chromium.org/2070313002/diff/1/ui/gl/gl_version_info.cc > File ui/gl/gl_version_info.cc (right): ...
4 years, 6 months ago (2016-06-20 06:43:31 UTC) #10
Zhenyao Mo
https://codereview.chromium.org/2070313002/diff/20001/ui/gl/gl_version_info_unittest.cc File ui/gl/gl_version_info_unittest.cc (right): https://codereview.chromium.org/2070313002/diff/20001/ui/gl/gl_version_info_unittest.cc#newcode1 ui/gl/gl_version_info_unittest.cc:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 6 months ago (2016-06-20 16:20:15 UTC) #11
xinghua.cao
https://codereview.chromium.org/2070313002/diff/20001/ui/gl/gl_version_info_unittest.cc File ui/gl/gl_version_info_unittest.cc (right): https://codereview.chromium.org/2070313002/diff/20001/ui/gl/gl_version_info_unittest.cc#newcode1 ui/gl/gl_version_info_unittest.cc:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
4 years, 6 months ago (2016-06-21 10:06:31 UTC) #12
Corentin Wallez
On 2016/06/21 at 10:06:31, xinghua.cao wrote: > https://codereview.chromium.org/2070313002/diff/20001/ui/gl/gl_version_info_unittest.cc > File ui/gl/gl_version_info_unittest.cc (right): > > https://codereview.chromium.org/2070313002/diff/20001/ui/gl/gl_version_info_unittest.cc#newcode1 ...
4 years, 6 months ago (2016-06-21 13:48:52 UTC) #13
Zhenyao Mo
non owner lgtm https://codereview.chromium.org/2070313002/diff/40001/ui/gl/gl_version_info_unittest.cc File ui/gl/gl_version_info_unittest.cc (right): https://codereview.chromium.org/2070313002/diff/40001/ui/gl/gl_version_info_unittest.cc#newcode25 ui/gl/gl_version_info_unittest.cc:25: renderer_str[i], extensions_str[i])); nit: four indent instead ...
4 years, 6 months ago (2016-06-21 17:27:21 UTC) #14
Ken Russell (switch to Gerrit)
Thank you for adding the test. LGTM
4 years, 6 months ago (2016-06-21 21:44:10 UTC) #15
Ken Russell (switch to Gerrit)
+cwallez as FYI since this will probably affect Core Profile handling that he's looking into.
4 years, 6 months ago (2016-06-21 21:44:51 UTC) #16
Ken Russell (switch to Gerrit)
Xinghua, I'm going to take the liberty of checking the CQ box for you since ...
4 years, 6 months ago (2016-06-21 21:45:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2070313002/40001
4 years, 6 months ago (2016-06-21 21:47:11 UTC) #19
Corentin Wallez
On 2016/06/21 at 21:47:11, commit-bot wrote: > CQ is trying da patch. Follow status at ...
4 years, 6 months ago (2016-06-21 21:49:12 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/242803)
4 years, 6 months ago (2016-06-22 01:13:04 UTC) #22
Ken Russell (switch to Gerrit)
On 2016/06/22 01:13:04, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-22 01:19:15 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2070313002/40001
4 years, 6 months ago (2016-06-22 01:20:13 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2070313002/80001
4 years, 6 months ago (2016-06-22 01:50:08 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/233308)
4 years, 6 months ago (2016-06-22 02:44:04 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2070313002/80001
4 years, 6 months ago (2016-06-22 07:17:27 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-22 07:22:03 UTC) #34
commit-bot: I haz the power
4 years, 6 months ago (2016-06-22 07:23:48 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/499933129cdb8dbc7c35c146f86ce75504252dd9
Cr-Commit-Position: refs/heads/master@{#401221}

Powered by Google App Engine
This is Rietveld 408576698