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

Side by Side Diff: content/common/gpu/gpu_channel_manager.cc

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/common/gpu/image_transport_surface_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/gpu/gpu_channel_manager.h" 5 #include "content/common/gpu/gpu_channel_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "content/child/child_thread.h" 9 #include "content/child/child_thread.h"
10 #include "content/common/gpu/gpu_channel.h" 10 #include "content/common/gpu/gpu_channel.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 weak_factory_.GetWeakPtr())); 284 weak_factory_.GetWeakPtr()));
285 } 285 }
286 286
287 void GpuChannelManager::OnLoseAllContexts() { 287 void GpuChannelManager::OnLoseAllContexts() {
288 gpu_channels_.clear(); 288 gpu_channels_.clear();
289 } 289 }
290 290
291 gfx::GLSurface* GpuChannelManager::GetDefaultOffscreenSurface() { 291 gfx::GLSurface* GpuChannelManager::GetDefaultOffscreenSurface() {
292 if (!default_offscreen_surface_.get()) { 292 if (!default_offscreen_surface_.get()) {
293 default_offscreen_surface_ = 293 default_offscreen_surface_ =
294 gfx::GLSurface::CreateOffscreenGLSurface(false, gfx::Size(1, 1)); 294 gfx::GLSurface::CreateOffscreenGLSurface(gfx::Size(1, 1));
295 } 295 }
296 return default_offscreen_surface_.get(); 296 return default_offscreen_surface_.get();
297 } 297 }
298 298
299 } // namespace content 299 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/image_transport_surface_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698