| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/gfx/gl/gl_surface.h" | 5 #include "ui/gfx/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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 bool GLSurface::Resize(const gfx::Size& size) { | 88 bool GLSurface::Resize(const gfx::Size& size) { |
| 89 NOTIMPLEMENTED(); | 89 NOTIMPLEMENTED(); |
| 90 return false; | 90 return false; |
| 91 } | 91 } |
| 92 | 92 |
| 93 unsigned int GLSurface::GetBackingFrameBufferObject() { | 93 unsigned int GLSurface::GetBackingFrameBufferObject() { |
| 94 return 0; | 94 return 0; |
| 95 } | 95 } |
| 96 | 96 |
| 97 bool GLSurface::SupportsPostSubBuffer() { |
| 98 return false; |
| 99 } |
| 100 |
| 101 bool GLSurface::PostSubBuffer(int x, int y, int width, int height) { |
| 102 return false; |
| 103 } |
| 104 |
| 97 bool GLSurface::OnMakeCurrent(GLContext* context) { | 105 bool GLSurface::OnMakeCurrent(GLContext* context) { |
| 98 return true; | 106 return true; |
| 99 } | 107 } |
| 100 | 108 |
| 101 void GLSurface::SetVisible(bool visible) { | 109 void GLSurface::SetVisible(bool visible) { |
| 102 } | 110 } |
| 103 | 111 |
| 104 void* GLSurface::GetShareHandle() { | 112 void* GLSurface::GetShareHandle() { |
| 105 NOTIMPLEMENTED(); | 113 NOTIMPLEMENTED(); |
| 106 return NULL; | 114 return NULL; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 189 |
| 182 void* GLSurfaceAdapter::GetConfig() { | 190 void* GLSurfaceAdapter::GetConfig() { |
| 183 return surface_->GetConfig(); | 191 return surface_->GetConfig(); |
| 184 } | 192 } |
| 185 | 193 |
| 186 unsigned GLSurfaceAdapter::GetFormat() { | 194 unsigned GLSurfaceAdapter::GetFormat() { |
| 187 return surface_->GetFormat(); | 195 return surface_->GetFormat(); |
| 188 } | 196 } |
| 189 | 197 |
| 190 } // namespace gfx | 198 } // namespace gfx |
| OLD | NEW |