| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 bool GLSurface::ScheduleOverlayPlane(int z_order, | 130 bool GLSurface::ScheduleOverlayPlane(int z_order, |
| 131 gfx::OverlayTransform transform, | 131 gfx::OverlayTransform transform, |
| 132 GLImage* image, | 132 GLImage* image, |
| 133 const gfx::Rect& bounds_rect, | 133 const gfx::Rect& bounds_rect, |
| 134 const gfx::RectF& crop_rect) { | 134 const gfx::RectF& crop_rect) { |
| 135 NOTIMPLEMENTED(); | 135 NOTIMPLEMENTED(); |
| 136 return false; | 136 return false; |
| 137 } | 137 } |
| 138 | 138 |
| 139 bool GLSurface::ScheduleCALayer(GLImage* contents_image, | 139 bool GLSurface::ScheduleCALayer(const ui::CARendererLayerParams& params) { |
| 140 const gfx::RectF& contents_rect, | |
| 141 float opacity, | |
| 142 unsigned background_color, | |
| 143 unsigned edge_aa_mask, | |
| 144 const gfx::RectF& rect, | |
| 145 bool is_clipped, | |
| 146 const gfx::RectF& clip_rect, | |
| 147 const gfx::Transform& transform, | |
| 148 int sorting_content_id, | |
| 149 unsigned filter) { | |
| 150 NOTIMPLEMENTED(); | 140 NOTIMPLEMENTED(); |
| 151 return false; | 141 return false; |
| 152 } | 142 } |
| 153 | 143 |
| 154 bool GLSurface::IsSurfaceless() const { | 144 bool GLSurface::IsSurfaceless() const { |
| 155 return false; | 145 return false; |
| 156 } | 146 } |
| 157 | 147 |
| 158 bool GLSurface::FlipsVertically() const { | 148 bool GLSurface::FlipsVertically() const { |
| 159 return false; | 149 return false; |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 return surface_->FlipsVertically(); | 317 return surface_->FlipsVertically(); |
| 328 } | 318 } |
| 329 | 319 |
| 330 bool GLSurfaceAdapter::BuffersFlipped() const { | 320 bool GLSurfaceAdapter::BuffersFlipped() const { |
| 331 return surface_->BuffersFlipped(); | 321 return surface_->BuffersFlipped(); |
| 332 } | 322 } |
| 333 | 323 |
| 334 GLSurfaceAdapter::~GLSurfaceAdapter() {} | 324 GLSurfaceAdapter::~GLSurfaceAdapter() {} |
| 335 | 325 |
| 336 } // namespace gl | 326 } // namespace gl |
| OLD | NEW |