| 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 | 172 |
| 173 bool GLSurface::Recreate() { | 173 bool GLSurface::Recreate() { |
| 174 NOTIMPLEMENTED(); | 174 NOTIMPLEMENTED(); |
| 175 return false; | 175 return false; |
| 176 } | 176 } |
| 177 | 177 |
| 178 bool GLSurface::DeferDraws() { | 178 bool GLSurface::DeferDraws() { |
| 179 return false; | 179 return false; |
| 180 } | 180 } |
| 181 | 181 |
| 182 bool GLSurface::RepresentsNonOwnedSurface() { |
| 183 return false; |
| 184 } |
| 185 |
| 182 bool GLSurface::SupportsPostSubBuffer() { | 186 bool GLSurface::SupportsPostSubBuffer() { |
| 183 return false; | 187 return false; |
| 184 } | 188 } |
| 185 | 189 |
| 186 unsigned int GLSurface::GetBackingFrameBufferObject() { | 190 unsigned int GLSurface::GetBackingFrameBufferObject() { |
| 187 return 0; | 191 return 0; |
| 188 } | 192 } |
| 189 | 193 |
| 190 bool GLSurface::PostSubBuffer(int x, int y, int width, int height) { | 194 bool GLSurface::PostSubBuffer(int x, int y, int width, int height) { |
| 191 return false; | 195 return false; |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 return surface_->GetFormat(); | 334 return surface_->GetFormat(); |
| 331 } | 335 } |
| 332 | 336 |
| 333 VSyncProvider* GLSurfaceAdapter::GetVSyncProvider() { | 337 VSyncProvider* GLSurfaceAdapter::GetVSyncProvider() { |
| 334 return surface_->GetVSyncProvider(); | 338 return surface_->GetVSyncProvider(); |
| 335 } | 339 } |
| 336 | 340 |
| 337 GLSurfaceAdapter::~GLSurfaceAdapter() {} | 341 GLSurfaceAdapter::~GLSurfaceAdapter() {} |
| 338 | 342 |
| 339 } // namespace gfx | 343 } // namespace gfx |
| OLD | NEW |