From 6c7784e360750efb63ac20bab6e40d2ab76d05c3 Mon Sep 17 00:00:00 2001 From: "skyostil@chromium.org" Date: Thu, 1 Aug 2013 22:41:28 +0000 Subject: android: Enable WebGL if context robustess extension is supported If the GL implementation supports the context robustness extension (GL_{ARB,EXT}_robustness) and promises to tell us about GPU resets, turn on support for WebGL. This patch also removes the Android-only --enable-webgl command line flag. From now on, WebGL support can be forced on with the --ignore-gpu-blacklist flag. BUG=112928 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/21564006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215135 0039d316-1c4b-4281-b951-d872f2087c98 --- gpu/config/gpu_info.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gpu/config/gpu_info.h') diff --git a/gpu/config/gpu_info.h b/gpu/config/gpu_info.h index 2489850..98ab80c 100644 --- a/gpu/config/gpu_info.h +++ b/gpu/config/gpu_info.h @@ -120,6 +120,10 @@ struct GPU_EXPORT GPUInfo { // GL window system binding extensions. "" if not available. std::string gl_ws_extensions; + // GL reset notification strategy as defined by GL_ARB_robustness. 0 if GPU + // reset detection or notification not available. + uint32 gl_reset_notification_strategy; + // The device semantics, i.e. whether the Vista and Windows 7 specific // semantics are available. bool can_lose_context; -- cgit v1.1