OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_image_io_surface.h" | 5 #include "ui/gl/gl_image_io_surface.h" |
6 | 6 |
7 #include "ui/gl/gl_bindings.h" | 7 #include "ui/gl/gl_bindings.h" |
8 #include "ui/gl/gl_context.h" | 8 #include "ui/gl/gl_context.h" |
9 | 9 |
10 // Note that this must be included after gl_bindings.h to avoid conflicts. | 10 // Note that this must be included after gl_bindings.h to avoid conflicts. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 io_surface_.get(), | 57 io_surface_.get(), |
58 0); | 58 0); |
59 if (cgl_error != kCGLNoError) { | 59 if (cgl_error != kCGLNoError) { |
60 LOG(ERROR) << "Error in CGLTexImageIOSurface2D"; | 60 LOG(ERROR) << "Error in CGLTexImageIOSurface2D"; |
61 return false; | 61 return false; |
62 } | 62 } |
63 | 63 |
64 return true; | 64 return true; |
65 } | 65 } |
66 | 66 |
| 67 bool GLImageIOSurface::CopyTexImage(unsigned target) { |
| 68 return false; |
| 69 } |
| 70 |
67 bool GLImageIOSurface::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 71 bool GLImageIOSurface::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
68 int z_order, | 72 int z_order, |
69 OverlayTransform transform, | 73 OverlayTransform transform, |
70 const Rect& bounds_rect, | 74 const Rect& bounds_rect, |
71 const RectF& crop_rect) { | 75 const RectF& crop_rect) { |
72 return false; | 76 return false; |
73 } | 77 } |
74 | 78 |
75 } // namespace gfx | 79 } // namespace gfx |
OLD | NEW |