| 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 | 210 |
| 211 bool GLSurface::ScheduleCALayer(gl::GLImage* contents_image, | 211 bool GLSurface::ScheduleCALayer(gl::GLImage* contents_image, |
| 212 const RectF& contents_rect, | 212 const RectF& contents_rect, |
| 213 float opacity, | 213 float opacity, |
| 214 unsigned background_color, | 214 unsigned background_color, |
| 215 unsigned edge_aa_mask, | 215 unsigned edge_aa_mask, |
| 216 const RectF& rect, | 216 const RectF& rect, |
| 217 bool is_clipped, | 217 bool is_clipped, |
| 218 const RectF& clip_rect, | 218 const RectF& clip_rect, |
| 219 const Transform& transform, | 219 const Transform& transform, |
| 220 int sorting_content_id) { | 220 int sorting_content_id, |
| 221 unsigned filter) { |
| 221 NOTIMPLEMENTED(); | 222 NOTIMPLEMENTED(); |
| 222 return false; | 223 return false; |
| 223 } | 224 } |
| 224 | 225 |
| 225 bool GLSurface::IsSurfaceless() const { | 226 bool GLSurface::IsSurfaceless() const { |
| 226 return false; | 227 return false; |
| 227 } | 228 } |
| 228 | 229 |
| 229 bool GLSurface::FlipsVertically() const { | 230 bool GLSurface::FlipsVertically() const { |
| 230 return false; | 231 return false; |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 return surface_->FlipsVertically(); | 399 return surface_->FlipsVertically(); |
| 399 } | 400 } |
| 400 | 401 |
| 401 bool GLSurfaceAdapter::BuffersFlipped() const { | 402 bool GLSurfaceAdapter::BuffersFlipped() const { |
| 402 return surface_->BuffersFlipped(); | 403 return surface_->BuffersFlipped(); |
| 403 } | 404 } |
| 404 | 405 |
| 405 GLSurfaceAdapter::~GLSurfaceAdapter() {} | 406 GLSurfaceAdapter::~GLSurfaceAdapter() {} |
| 406 | 407 |
| 407 } // namespace gfx | 408 } // namespace gfx |
| OLD | NEW |