Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1112)

Unified Diff: ui/gl/gl_surface_egl.h

Issue 17110007: Delete usage and support for EGL_ANGLE_software_display extension. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_egl.h
===================================================================
--- ui/gl/gl_surface_egl.h (revision 206508)
+++ ui/gl/gl_surface_egl.h (working copy)
@@ -31,7 +31,6 @@
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 @@
protected:
virtual ~GLSurfaceEGL();
- bool software_;
-
private:
DISALLOW_COPY_AND_ASSIGN(GLSurfaceEGL);
};
@@ -53,7 +50,7 @@
// 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 @@
// 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;
« no previous file with comments | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698