| Index: ui/gl/gl_surface_mac.cc
|
| ===================================================================
|
| --- ui/gl/gl_surface_mac.cc (revision 206508)
|
| +++ ui/gl/gl_surface_mac.cc (working copy)
|
| @@ -36,13 +36,9 @@
|
| }
|
|
|
| scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
|
| - bool software,
|
| gfx::AcceleratedWidget window) {
|
| TRACE_EVENT0("gpu", "GLSurface::CreateViewGLSurface");
|
| #if defined(USE_AURA)
|
| - if (software)
|
| - return NULL;
|
| -
|
| switch (GetGLImplementation()) {
|
| case kGLImplementationDesktopGL:
|
| case kGLImplementationAppleGL: {
|
| @@ -59,17 +55,13 @@
|
| return NULL;
|
| }
|
| #else
|
| - return CreateOffscreenGLSurface(software, gfx::Size(1,1));
|
| + return CreateOffscreenGLSurface(gfx::Size(1, 1));
|
| #endif
|
| }
|
|
|
| scoped_refptr<GLSurface> GLSurface::CreateOffscreenGLSurface(
|
| - bool software,
|
| const gfx::Size& size) {
|
| TRACE_EVENT0("gpu", "GLSurface::CreateOffscreenGLSurface");
|
| - if (software)
|
| - return NULL;
|
| -
|
| switch (GetGLImplementation()) {
|
| case kGLImplementationOSMesaGL: {
|
| scoped_refptr<GLSurface> surface(new GLSurfaceOSMesa(OSMESA_RGBA,
|
|
|