| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 io_surface_.get(), | 53 io_surface_.get(), |
| 54 0); | 54 0); |
| 55 if (cgl_error != kCGLNoError) { | 55 if (cgl_error != kCGLNoError) { |
| 56 LOG(ERROR) << "Error in CGLTexImageIOSurface2D"; | 56 LOG(ERROR) << "Error in CGLTexImageIOSurface2D"; |
| 57 return false; | 57 return false; |
| 58 } | 58 } |
| 59 | 59 |
| 60 return true; | 60 return true; |
| 61 } | 61 } |
| 62 | 62 |
| 63 bool GLImageIOSurface::CopyTexImage(unsigned target) { | 63 bool GLImageIOSurface::CopyTexSubImage(unsigned target, |
| 64 int xoffset, |
| 65 int yoffset) { |
| 64 return false; | 66 return false; |
| 65 } | 67 } |
| 66 | 68 |
| 67 bool GLImageIOSurface::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, | 69 bool GLImageIOSurface::ScheduleOverlayPlane(gfx::AcceleratedWidget widget, |
| 68 int z_order, | 70 int z_order, |
| 69 OverlayTransform transform, | 71 OverlayTransform transform, |
| 70 const Rect& bounds_rect, | 72 const Rect& bounds_rect, |
| 71 const RectF& crop_rect) { | 73 const RectF& crop_rect) { |
| 72 return false; | 74 return false; |
| 73 } | 75 } |
| 74 | 76 |
| 75 } // namespace gfx | 77 } // namespace gfx |
| OLD | NEW |