diff options
author | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-27 04:59:30 +0000 |
---|---|---|
committer | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-27 04:59:30 +0000 |
commit | 706b69f5a4bdaf9a4204117a8bb9d3d61f7a4475 (patch) | |
tree | b12f93344422fdee94772c06065f5accf42bdbae /ui/gl/gl_context_glx.cc | |
parent | bb0bdeb6cd05396316d1a026481e86997253f762 (diff) | |
download | chromium_src-706b69f5a4bdaf9a4204117a8bb9d3d61f7a4475.zip chromium_src-706b69f5a4bdaf9a4204117a8bb9d3d61f7a4475.tar.gz chromium_src-706b69f5a4bdaf9a4204117a8bb9d3d61f7a4475.tar.bz2 |
Use EXT_robustness where available on GLES2 platforms to detect and respond to resets of the graphics card.
BUG=138162
TEST=ran https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/conformance-suites/1.0.1/extra/slow-shader-example.html on Windows with ANGLE and verified that new code path was taken
Review URL: https://chromiumcodereview.appspot.com/10822029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148721 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl/gl_context_glx.cc')
-rw-r--r-- | ui/gl/gl_context_glx.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gl/gl_context_glx.cc b/ui/gl/gl_context_glx.cc index db5534b..d052644 100644 --- a/ui/gl/gl_context_glx.cc +++ b/ui/gl/gl_context_glx.cc @@ -244,7 +244,7 @@ std::string GLContextGLX::GetExtensions() { return GLContext::GetExtensions(); } -bool GLContextGLX::WasAllocatedUsingARBRobustness() { +bool GLContextGLX::WasAllocatedUsingRobustnessExtension() { return GLSurfaceGLX::IsCreateContextRobustnessSupported(); } |