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

Issue 2460943002: Lower ES3 capable requirement to GL 3.3 with extensions. (Closed)

Created:
4 years, 1 month ago by Zhenyao Mo
Modified:
4 years, 1 month ago
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, fuzzing_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, Kai Ninomiya, yunchao
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Lower ES3 capable requirement to GL 3.3 with extensions. Still, we don't want to support ES3 on Mac if it's only 3.3. We use blacklist to disable it. This CL also implemented blacklist feature WebGL2. BUG=295792 TEST=webgl2_conformance R=kbr@chromium.org 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/05f50f9bb7f2756bc7f291df332c997476a03043 Cr-Commit-Position: refs/heads/master@{#428564}

Patch Set 1 #

Patch Set 2 : working #

Total comments: 2

Patch Set 3 : fix win build #

Total comments: 3

Patch Set 4 : address piman comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -16 lines) Patch
M content/browser/gpu/compositor_util.cc View 1 3 chunks +13 lines, -4 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 chunks +14 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/resources/gpu/info_view.js View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/gpu_utils.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/test/gpu/page_sets/gpu_process_tests.py View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/config/gpu_blacklist.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/config/gpu_blacklist_unittest.cc View 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/config/gpu_feature_type.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/config/software_rendering_list_json.cc View 1 2 3 chunks +18 lines, -1 line 0 comments Download
M ui/gl/gl_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_switches.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M ui/gl/gl_version_info.cc View 1 2 3 1 chunk +13 lines, -3 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 29 (16 generated)
Zhenyao Mo
kbr: please review. Others: FYI
4 years, 1 month ago (2016-10-28 18:56:02 UTC) #3
Zhenyao Mo
https://codereview.chromium.org/2460943002/diff/20001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (left): https://codereview.chromium.org/2460943002/diff/20001/content/browser/renderer_host/render_process_host_impl.cc#oldcode1690 content/browser/renderer_host/render_process_host_impl.cc:1690: switches::kEnableUnsafeES3APIs, This is no longer necessary. We just fail ...
4 years, 1 month ago (2016-10-28 19:00:06 UTC) #5
Ken Russell (switch to Gerrit)
Very good. LGTM
4 years, 1 month ago (2016-10-28 19:11:30 UTC) #6
Zhenyao Mo
piman: content/ OWNER review
4 years, 1 month ago (2016-10-28 19:34:05 UTC) #10
Zhenyao Mo
dcheng/jschuh: content/common/gpu_host_messages.h
4 years, 1 month ago (2016-10-28 19:35:03 UTC) #11
piman
Do we have a specific driver we tried this on that only has 3.3? https://codereview.chromium.org/2460943002/diff/40001/gpu/command_buffer/service/gpu_preferences.h ...
4 years, 1 month ago (2016-10-28 20:01:21 UTC) #12
Zhenyao Mo
Done. Intel folks tested extensively with Mesa 3.3 on Intel GPU and they work fine ...
4 years, 1 month ago (2016-10-28 23:22:12 UTC) #15
Zhenyao Mo
-dcheng, jschuh (the affected files are removed)
4 years, 1 month ago (2016-10-28 23:23:28 UTC) #19
piman
lgtm
4 years, 1 month ago (2016-10-28 23:27:36 UTC) #20
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/2460943002/30018
4 years, 1 month ago (2016-10-29 00:35:01 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:30018)
4 years, 1 month ago (2016-10-29 00:40:52 UTC) #26
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/05f50f9bb7f2756bc7f291df332c997476a03043 Cr-Commit-Position: refs/heads/master@{#428564}
4 years, 1 month ago (2016-10-29 00:47:09 UTC) #28
Yang Gu
4 years, 1 month ago (2016-10-30 15:46:23 UTC) #29
Message was sent while issue was closed.
Thank you very much for this CL! It saves many Linux desktops with Intel Mesa
driver to support WebGL 2.

Powered by Google App Engine
This is Rietveld 408576698