| 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 <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 void* GLSurface::GetConfig() { | 127 void* GLSurface::GetConfig() { |
| 128 NOTIMPLEMENTED(); | 128 NOTIMPLEMENTED(); |
| 129 return NULL; | 129 return NULL; |
| 130 } | 130 } |
| 131 | 131 |
| 132 unsigned long GLSurface::GetCompatibilityKey() { | 132 unsigned long GLSurface::GetCompatibilityKey() { |
| 133 return 0; | 133 return 0; |
| 134 } | 134 } |
| 135 | 135 |
| 136 GLSurfaceFormat GLSurface::GetFormat() { | |
| 137 NOTIMPLEMENTED(); | |
| 138 return GLSurfaceFormat(); | |
| 139 } | |
| 140 | |
| 141 gfx::VSyncProvider* GLSurface::GetVSyncProvider() { | 136 gfx::VSyncProvider* GLSurface::GetVSyncProvider() { |
| 142 return NULL; | 137 return NULL; |
| 143 } | 138 } |
| 144 | 139 |
| 145 bool GLSurface::ScheduleOverlayPlane(int z_order, | 140 bool GLSurface::ScheduleOverlayPlane(int z_order, |
| 146 gfx::OverlayTransform transform, | 141 gfx::OverlayTransform transform, |
| 147 GLImage* image, | 142 GLImage* image, |
| 148 const gfx::Rect& bounds_rect, | 143 const gfx::Rect& bounds_rect, |
| 149 const gfx::RectF& crop_rect) { | 144 const gfx::RectF& crop_rect) { |
| 150 NOTIMPLEMENTED(); | 145 NOTIMPLEMENTED(); |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 scoped_refptr<GLSurface> InitializeGLSurface(scoped_refptr<GLSurface> surface) { | 365 scoped_refptr<GLSurface> InitializeGLSurface(scoped_refptr<GLSurface> surface) { |
| 371 return InitializeGLSurfaceWithFormat(surface, GLSurfaceFormat()); | 366 return InitializeGLSurfaceWithFormat(surface, GLSurfaceFormat()); |
| 372 } | 367 } |
| 373 | 368 |
| 374 GLSurface::CALayerInUseQuery::CALayerInUseQuery() = default; | 369 GLSurface::CALayerInUseQuery::CALayerInUseQuery() = default; |
| 375 GLSurface::CALayerInUseQuery::CALayerInUseQuery(const CALayerInUseQuery&) = | 370 GLSurface::CALayerInUseQuery::CALayerInUseQuery(const CALayerInUseQuery&) = |
| 376 default; | 371 default; |
| 377 GLSurface::CALayerInUseQuery::~CALayerInUseQuery() = default; | 372 GLSurface::CALayerInUseQuery::~CALayerInUseQuery() = default; |
| 378 | 373 |
| 379 } // namespace gl | 374 } // namespace gl |
| OLD | NEW |