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

Issue 2098913002: GLVersionInfo: alse detect es3 support with extensions (Closed)

Created:
4 years, 6 months ago by Corentin Wallez
Modified:
4 years, 5 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

GLVersionInfo: also detect es3 support with extensions OpenGL ES 3 can be supported on desktop OpenGL before 4.2 provided the right extensions are available. This allows ES3 to be supported on top of the 11.2 Intel Mesa driver. The logic in IsES3Capable was adapted from ANGLE's GenerateCaps function in renderergl_utils.cpp. BUG=598902 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/3b2dfed0881cfaf4e4181ee38ac9c01a5baba52b Cr-Commit-Position: refs/heads/master@{#402263}

Patch Set 1 #

Total comments: 17

Patch Set 2 : Address comments #

Patch Set 3 : Fix references to IsES3Capable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -35 lines) Patch
M gpu/command_buffer/service/context_group.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/program_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/test_helper.cc View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M ui/gl/gl_version_info.h View 1 2 chunks +6 lines, -13 lines 0 comments Download
M ui/gl/gl_version_info.cc View 1 3 chunks +61 lines, -12 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
Corentin Wallez
PTAL, this allows creation of OpenGL ES 3 contexts on the Mesa 3.3 contexts.
4 years, 6 months ago (2016-06-24 20:10:11 UTC) #3
Zhenyao Mo
lgtm with nits https://codereview.chromium.org/2098913002/diff/1/ui/gl/gl_version_info.cc File ui/gl/gl_version_info.cc (right): https://codereview.chromium.org/2098913002/diff/1/ui/gl/gl_version_info.cc#newcode101 ui/gl/gl_version_info.cc:101: // TODO(cwallez) check for texture related ...
4 years, 6 months ago (2016-06-24 21:35:50 UTC) #4
piman
LGTM % nits https://codereview.chromium.org/2098913002/diff/1/ui/gl/gl_version_info.cc File ui/gl/gl_version_info.cc (right): https://codereview.chromium.org/2098913002/diff/1/ui/gl/gl_version_info.cc#newcode74 ui/gl/gl_version_info.cc:74: auto hasExtension = [&extensions](std::string extension) -> ...
4 years, 6 months ago (2016-06-24 21:38:56 UTC) #5
Ken Russell (switch to Gerrit)
lgtm with zmo's and piman's comments addressed.
4 years, 6 months ago (2016-06-24 22:48:17 UTC) #6
Corentin Wallez
Thanks for the review. https://codereview.chromium.org/2098913002/diff/1/ui/gl/gl_version_info.cc File ui/gl/gl_version_info.cc (right): https://codereview.chromium.org/2098913002/diff/1/ui/gl/gl_version_info.cc#newcode74 ui/gl/gl_version_info.cc:74: auto hasExtension = [&extensions](std::string extension) ...
4 years, 5 months ago (2016-06-27 15:35:42 UTC) #7
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/2098913002/20001
4 years, 5 months ago (2016-06-27 17:23:11 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/87605)
4 years, 5 months ago (2016-06-27 17:42:30 UTC) #15
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/2098913002/40001
4 years, 5 months ago (2016-06-27 18:10:25 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-06-27 20:03:43 UTC) #19
commit-bot: I haz the power
4 years, 5 months ago (2016-06-27 20:05:35 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3b2dfed0881cfaf4e4181ee38ac9c01a5baba52b
Cr-Commit-Position: refs/heads/master@{#402263}

Powered by Google App Engine
This is Rietveld 408576698