| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 const Rect& bounds_rect, | 197 const Rect& bounds_rect, |
| 198 const RectF& crop_rect) { | 198 const RectF& crop_rect) { |
| 199 NOTIMPLEMENTED(); | 199 NOTIMPLEMENTED(); |
| 200 return false; | 200 return false; |
| 201 } | 201 } |
| 202 | 202 |
| 203 bool GLSurface::ScheduleCALayer(gl::GLImage* contents_image, | 203 bool GLSurface::ScheduleCALayer(gl::GLImage* contents_image, |
| 204 const RectF& contents_rect, | 204 const RectF& contents_rect, |
| 205 float opacity, | 205 float opacity, |
| 206 unsigned background_color, | 206 unsigned background_color, |
| 207 const SizeF& bounds_size, | 207 unsigned edge_aa_mask, |
| 208 const gfx::Transform& transform) { | 208 const RectF& bounds_rect, |
| 209 bool is_clipped, |
| 210 const RectF& clip_rect, |
| 211 const Transform& transform) { |
| 209 NOTIMPLEMENTED(); | 212 NOTIMPLEMENTED(); |
| 210 return false; | 213 return false; |
| 211 } | 214 } |
| 212 | 215 |
| 213 bool GLSurface::IsSurfaceless() const { | 216 bool GLSurface::IsSurfaceless() const { |
| 214 return false; | 217 return false; |
| 215 } | 218 } |
| 216 | 219 |
| 217 GLSurface* GLSurface::GetCurrent() { | 220 GLSurface* GLSurface::GetCurrent() { |
| 218 return current_surface_.Pointer()->Get(); | 221 return current_surface_.Pointer()->Get(); |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 z_order, transform, image, bounds_rect, crop_rect); | 371 z_order, transform, image, bounds_rect, crop_rect); |
| 369 } | 372 } |
| 370 | 373 |
| 371 bool GLSurfaceAdapter::IsSurfaceless() const { | 374 bool GLSurfaceAdapter::IsSurfaceless() const { |
| 372 return surface_->IsSurfaceless(); | 375 return surface_->IsSurfaceless(); |
| 373 } | 376 } |
| 374 | 377 |
| 375 GLSurfaceAdapter::~GLSurfaceAdapter() {} | 378 GLSurfaceAdapter::~GLSurfaceAdapter() {} |
| 376 | 379 |
| 377 } // namespace gfx | 380 } // namespace gfx |
| OLD | NEW |