diff options
author | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-17 18:28:09 +0000 |
---|---|---|
committer | apatrick@chromium.org <apatrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-17 18:28:09 +0000 |
commit | 658f03f18b7bb5f475e8536d4689e153549e5ac9 (patch) | |
tree | 39f9f4117ac60ad7f7f7737215d1491bab994ffb /ui/gl/gl_surface_egl.h | |
parent | eacc2f41a8b08d2dea319e88759b3d27e22a1cf1 (diff) | |
download | chromium_src-658f03f18b7bb5f475e8536d4689e153549e5ac9.zip chromium_src-658f03f18b7bb5f475e8536d4689e153549e5ac9.tar.gz chromium_src-658f03f18b7bb5f475e8536d4689e153549e5ac9.tar.bz2 |
Delete usage and support for EGL_ANGLE_software_display extension.
We aren't using it anymore. It used to be used to switch to SwitchShader but the new version of SwiftShader exposes a EGL / GLES2 interface without ANGLE in between.
TBR=kbr@chromium.org, senorblanco@chromium.org
Review URL: https://codereview.chromium.org/17110007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206759 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl/gl_surface_egl.h')
-rw-r--r-- | ui/gl/gl_surface_egl.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/gl/gl_surface_egl.h b/ui/gl/gl_surface_egl.h index 04db3a9..e6a13cb 100644 --- a/ui/gl/gl_surface_egl.h +++ b/ui/gl/gl_surface_egl.h @@ -31,7 +31,6 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface { static bool InitializeOneOff(); static EGLDisplay GetHardwareDisplay(); - static EGLDisplay GetSoftwareDisplay(); static EGLNativeDisplayType GetNativeDisplay(); // These aren't particularly tied to surfaces, but since we already @@ -44,8 +43,6 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface { protected: virtual ~GLSurfaceEGL(); - bool software_; - private: DISALLOW_COPY_AND_ASSIGN(GLSurfaceEGL); }; @@ -53,7 +50,7 @@ class GL_EXPORT GLSurfaceEGL : public GLSurface { // Encapsulates an EGL surface bound to a view. class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL { public: - NativeViewGLSurfaceEGL(bool software, gfx::AcceleratedWidget window); + explicit NativeViewGLSurfaceEGL(gfx::AcceleratedWidget window); // Implement GLSurface. virtual EGLConfig GetConfig() OVERRIDE; @@ -90,7 +87,7 @@ class GL_EXPORT NativeViewGLSurfaceEGL : public GLSurfaceEGL { // Encapsulates a pbuffer EGL surface. class GL_EXPORT PbufferGLSurfaceEGL : public GLSurfaceEGL { public: - PbufferGLSurfaceEGL(bool software, const gfx::Size& size); + explicit PbufferGLSurfaceEGL(const gfx::Size& size); // Implement GLSurface. virtual EGLConfig GetConfig() OVERRIDE; |