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

Side by Side Diff: ui/gl/gl_surface.cc

Issue 1249313004: Remove GPU relinquish resources infrastructure and stop GPU process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove gpu_crash_recorded_. Created 5 years, 4 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
« no previous file with comments | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_egl.h » ('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 "ui/gl/gl_surface.h" 5 #include "ui/gl/gl_surface.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 92 }
93 return initialized; 93 return initialized;
94 } 94 }
95 95
96 GLSurface::GLSurface() {} 96 GLSurface::GLSurface() {}
97 97
98 bool GLSurface::Initialize() { 98 bool GLSurface::Initialize() {
99 return true; 99 return true;
100 } 100 }
101 101
102 void GLSurface::DestroyAndTerminateDisplay() {
103 Destroy();
104 }
105
106 bool GLSurface::Resize(const gfx::Size& size) { 102 bool GLSurface::Resize(const gfx::Size& size) {
107 NOTIMPLEMENTED(); 103 NOTIMPLEMENTED();
108 return false; 104 return false;
109 } 105 }
110 106
111 bool GLSurface::Recreate() { 107 bool GLSurface::Recreate() {
112 NOTIMPLEMENTED(); 108 NOTIMPLEMENTED();
113 return false; 109 return false;
114 } 110 }
115 111
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 z_order, transform, image, bounds_rect, crop_rect); 327 z_order, transform, image, bounds_rect, crop_rect);
332 } 328 }
333 329
334 bool GLSurfaceAdapter::IsSurfaceless() const { 330 bool GLSurfaceAdapter::IsSurfaceless() const {
335 return surface_->IsSurfaceless(); 331 return surface_->IsSurfaceless();
336 } 332 }
337 333
338 GLSurfaceAdapter::~GLSurfaceAdapter() {} 334 GLSurfaceAdapter::~GLSurfaceAdapter() {}
339 335
340 } // namespace gfx 336 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698