diff options
author | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 22:41:28 +0000 |
---|---|---|
committer | skyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 22:41:28 +0000 |
commit | 6c7784e360750efb63ac20bab6e40d2ab76d05c3 (patch) | |
tree | b5a6b84e70da5ac9613a142601b88a0beffb7a11 /gpu/config/gpu_info.h | |
parent | c584260c935d1e840732cd8f8683bcccb772414d (diff) | |
download | chromium_src-6c7784e360750efb63ac20bab6e40d2ab76d05c3.zip chromium_src-6c7784e360750efb63ac20bab6e40d2ab76d05c3.tar.gz chromium_src-6c7784e360750efb63ac20bab6e40d2ab76d05c3.tar.bz2 |
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
Diffstat (limited to 'gpu/config/gpu_info.h')
-rw-r--r-- | gpu/config/gpu_info.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |