Enable WebGL 2 by default! (on desktop)

Desktop / Chromium - kainino [chromium.org] - 4 November 2016 10:01 UTC

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

Review-Url: https://codereview.chromium.org/2473933002 Cr-Commit-Position: refs/heads/master@{#429885}

61a4859 Enable WebGL 2 by default! (on desktop)
chrome/app/generated_resources.grd | 4 ++--
chrome/browser/about_flags.cc | 10 ++++++++--
content/browser/gpu/compositor_util.cc | 2 +-
.../browser/gpu/gpu_data_manager_impl_private.cc | 12 +++++++++---
content/public/browser/gpu_utils.cc | 5 ++---
content/test/gpu/gpu_tests/pixel_expectations.py | 4 ----
.../test/gpu/gpu_tests/pixel_integration_test.py | 15 +--------------
content/test/gpu/gpu_tests/pixel_test_pages.py | 5 +----
.../webgl_conformance_integration_test.py | 2 +-
content/test/gpu/page_sets/pixel_tests.py | 4 ++--
gpu/command_buffer/service/gpu_preferences.h | 2 +-
gpu/command_buffer/tests/fuzzer_main.cc | 1 -
gpu/config/software_rendering_list_json.cc | 13 ++++++++++++-
tools/metrics/histograms/histograms.xml | 3 ++-
ui/gl/gl_context_wgl.cc | 4 ++--
ui/gl/gl_surface_egl.cc | 4 ++--
ui/gl/gl_switches.cc | 4 ++--
ui/gl/gl_switches.h | 2 +-
18 files changed, 49 insertions(+), 47 deletions(-)

Upstream: git.chromium.org


  • Share