| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 bool GLSurface::ScheduleOverlayPlane(int z_order, | 131 bool GLSurface::ScheduleOverlayPlane(int z_order, |
| 132 gfx::OverlayTransform transform, | 132 gfx::OverlayTransform transform, |
| 133 GLImage* image, | 133 GLImage* image, |
| 134 const gfx::Rect& bounds_rect, | 134 const gfx::Rect& bounds_rect, |
| 135 const gfx::RectF& crop_rect) { | 135 const gfx::RectF& crop_rect) { |
| 136 NOTIMPLEMENTED(); | 136 NOTIMPLEMENTED(); |
| 137 return false; | 137 return false; |
| 138 } | 138 } |
| 139 | 139 |
| 140 bool GLSurface::ScheduleCALayer(const ui::CARendererLayerParams& params) { | 140 bool GLSurface::ScheduleCALayer(GLImage* contents_image, |
| 141 const gfx::RectF& contents_rect, |
| 142 float opacity, |
| 143 unsigned background_color, |
| 144 unsigned edge_aa_mask, |
| 145 const gfx::RectF& rect, |
| 146 bool is_clipped, |
| 147 const gfx::RectF& clip_rect, |
| 148 const gfx::Transform& transform, |
| 149 int sorting_content_id, |
| 150 unsigned filter) { |
| 141 NOTIMPLEMENTED(); | 151 NOTIMPLEMENTED(); |
| 142 return false; | 152 return false; |
| 143 } | 153 } |
| 144 | 154 |
| 145 void GLSurface::ScheduleCALayerInUseQuery( | 155 void GLSurface::ScheduleCALayerInUseQuery( |
| 146 std::vector<CALayerInUseQuery> queries) { | 156 std::vector<CALayerInUseQuery> queries) { |
| 147 NOTIMPLEMENTED(); | 157 NOTIMPLEMENTED(); |
| 148 } | 158 } |
| 149 | 159 |
| 150 bool GLSurface::IsSurfaceless() const { | 160 bool GLSurface::IsSurfaceless() const { |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 return nullptr; | 344 return nullptr; |
| 335 return surface; | 345 return surface; |
| 336 } | 346 } |
| 337 | 347 |
| 338 GLSurface::CALayerInUseQuery::CALayerInUseQuery() = default; | 348 GLSurface::CALayerInUseQuery::CALayerInUseQuery() = default; |
| 339 GLSurface::CALayerInUseQuery::CALayerInUseQuery(const CALayerInUseQuery&) = | 349 GLSurface::CALayerInUseQuery::CALayerInUseQuery(const CALayerInUseQuery&) = |
| 340 default; | 350 default; |
| 341 GLSurface::CALayerInUseQuery::~CALayerInUseQuery() = default; | 351 GLSurface::CALayerInUseQuery::~CALayerInUseQuery() = default; |
| 342 | 352 |
| 343 } // namespace gl | 353 } // namespace gl |
| OLD | NEW |