Chromium Code Reviews| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 73 return initialized; | 73 return initialized; |
| 74 } | 74 } |
| 75 | 75 |
| 76 GLSurface::GLSurface() {} | 76 GLSurface::GLSurface() {} |
| 77 | 77 |
| 78 bool GLSurface::Initialize() { | 78 bool GLSurface::Initialize() { |
| 79 return true; | 79 return true; |
| 80 } | 80 } |
| 81 | 81 |
| 82 bool GLSurface::Resize(const gfx::Size& size) { | 82 bool GLSurface::Resize(const gfx::Size& size) { |
| 83 NOTIMPLEMENTED(); | 83 // NOTIMPLEMENTED(); |
|
no sievers
2012/08/16 21:55:14
I will fix this issue properly.
| |
| 84 return false; | 84 return false; |
| 85 } | 85 } |
| 86 | 86 |
| 87 bool GLSurface::DeferDraws() { | 87 bool GLSurface::DeferDraws() { |
| 88 return false; | 88 return false; |
| 89 } | 89 } |
| 90 | 90 |
| 91 bool GLSurface::DeferSwapBuffers() { | 91 bool GLSurface::DeferSwapBuffers() { |
| 92 return false; | 92 return false; |
| 93 } | 93 } |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 247 return surface_->GetConfig(); | 247 return surface_->GetConfig(); |
| 248 } | 248 } |
| 249 | 249 |
| 250 unsigned GLSurfaceAdapter::GetFormat() { | 250 unsigned GLSurfaceAdapter::GetFormat() { |
| 251 return surface_->GetFormat(); | 251 return surface_->GetFormat(); |
| 252 } | 252 } |
| 253 | 253 |
| 254 GLSurfaceAdapter::~GLSurfaceAdapter() {} | 254 GLSurfaceAdapter::~GLSurfaceAdapter() {} |
| 255 | 255 |
| 256 } // namespace gfx | 256 } // namespace gfx |
| OLD | NEW |