OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |