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

Issue 2473933002: Enable WebGL 2 by default! (on desktop) (Closed)

Created:
4 years, 1 month ago by Kai Ninomiya
Modified:
4 years, 1 month ago
CC:
chromium-reviews, ozone-reviews_chromium.org, jam, fuzzing_chromium.org, darin-cc_chromium.org, asvitkine+watch_chromium.org, piman+watch_chromium.org, kalyank
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable WebGL 2 by default! (on desktop) This patch creates a feature-style (Default/Enabled/Disabled) entry in about:flags for WebGL 2. Default is enabled on desktop and disabled on Android. This patch also mostly removes the "unsafe"/"experimental"/"prototype" wording from the flag and code. Auditing of validation for formerly-unsafe OpenGL ES3 APIs was done in: https://codereview.chromium.org/2458523005/ https://codereview.chromium.org/2461023002/ https://codereview.chromium.org/2470623002/ https://codereview.chromium.org/2466763002/ And the flag was removed from the GPU process in: https://codereview.chromium.org/2471853002/ BUG=654787 BUG=295792 BUG=641635 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/61a4859d1d5a2f5082d486843c58a5b3f8795144 Cr-Commit-Position: refs/heads/master@{#429885}

Patch Set 1 #

Patch Set 2 : fix remainder of instances of 'enable-unsafe-es3-apis' #

Patch Set 3 : fix histogram tests, update pixel tests, and fix some logic #

Patch Set 4 : fix #

Total comments: 8

Patch Set 5 : address comments #

Patch Set 6 : undo rename of GpuPreferences::enable_unsafe_es3_apis #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -47 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 3 4 5 2 chunks +9 lines, -3 lines 0 comments Download
M content/public/browser/gpu_utils.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M content/test/gpu/gpu_tests/pixel_expectations.py View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M content/test/gpu/gpu_tests/pixel_integration_test.py View 1 2 2 chunks +1 line, -14 lines 0 comments Download
M content/test/gpu/gpu_tests/pixel_test_pages.py View 1 2 1 chunk +1 line, -4 lines 0 comments Download
M content/test/gpu/gpu_tests/webgl_conformance_integration_test.py View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/gpu/page_sets/pixel_tests.py View 1 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gpu_preferences.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/tests/fuzzer_main.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M gpu/config/software_rendering_list_json.cc View 1 2 2 chunks +12 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 chunks +2 lines, -1 line 0 comments Download
M ui/gl/gl_context_wgl.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M ui/gl/gl_surface_egl.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M ui/gl/gl_switches.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_switches.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 59 (42 generated)
Kai Ninomiya
4 years, 1 month ago (2016-11-03 21:24:15 UTC) #19
Kai Ninomiya
zmo, kbr: PTAL
4 years, 1 month ago (2016-11-03 21:37:11 UTC) #21
Ken Russell (switch to Gerrit)
This is awesome! LGTM. The logic looks correct. I had a concern about the updating ...
4 years, 1 month ago (2016-11-03 21:50:42 UTC) #22
piman
https://codereview.chromium.org/2473933002/diff/60001/gpu/command_buffer/tests/fuzzer_main.cc File gpu/command_buffer/tests/fuzzer_main.cc (right): https://codereview.chromium.org/2473933002/diff/60001/gpu/command_buffer/tests/fuzzer_main.cc#newcode95 gpu/command_buffer/tests/fuzzer_main.cc:95: gpu_preferences_.enable_es3_apis = true; nit: you made it the default, ...
4 years, 1 month ago (2016-11-03 21:58:29 UTC) #24
piman
One note, crbug.com/661868 just popped up by the fuzzer, and would be a security issue ...
4 years, 1 month ago (2016-11-03 22:00:11 UTC) #25
Kai Ninomiya
https://codereview.chromium.org/2473933002/diff/60001/content/public/browser/gpu_utils.cc File content/public/browser/gpu_utils.cc (left): https://codereview.chromium.org/2473933002/diff/60001/content/public/browser/gpu_utils.cc#oldcode110 content/public/browser/gpu_utils.cc:110: !command_line->HasSwitch(switches::kDisableES3APIs); On 2016/11/03 21:50:42, Ken Russell wrote: > Could ...
4 years, 1 month ago (2016-11-03 22:10:06 UTC) #26
Kai Ninomiya
On 2016/11/03 21:50:42, Ken Russell wrote: > Note: I'm not an OWNER of all of ...
4 years, 1 month ago (2016-11-03 22:11:01 UTC) #27
piman
LGTM after https://codereview.chromium.org/2475793002 lands
4 years, 1 month ago (2016-11-03 22:26:55 UTC) #29
Kai Ninomiya
haraken, PTAL: * tools/metrics/histograms/histograms.xml Thanks!
4 years, 1 month ago (2016-11-03 22:30:11 UTC) #31
Zhenyao Mo
On 2016/11/03 22:30:11, Kai Ninomiya wrote: > haraken, PTAL: > * tools/metrics/histograms/histograms.xml > > Thanks! ...
4 years, 1 month ago (2016-11-03 23:02:52 UTC) #35
haraken
LGTM
4 years, 1 month ago (2016-11-03 23:14:59 UTC) #36
commit-bot: I haz the power
COMMIT=false detected. CQ is abandoning the patch.
4 years, 1 month ago (2016-11-04 02:59:43 UTC) #48
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/2473933002/100001
4 years, 1 month ago (2016-11-04 03:03:10 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/311002)
4 years, 1 month ago (2016-11-04 06:17:55 UTC) #53
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/2473933002/100001
4 years, 1 month ago (2016-11-04 13:57:29 UTC) #55
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-04 14:59:45 UTC) #57
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 15:01:59 UTC) #59
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/61a4859d1d5a2f5082d486843c58a5b3f8795144
Cr-Commit-Position: refs/heads/master@{#429885}

Powered by Google App Engine
This is Rietveld 408576698