| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_ozone_native_pixmap.h" | 5 #include "ui/gl/gl_image_ozone_native_pixmap.h" |
| 6 | 6 |
| 7 #define FOURCC(a, b, c, d) \ | 7 #define FOURCC(a, b, c, d) \ |
| 8 ((static_cast<uint32>(a)) | (static_cast<uint32>(b) << 8) | \ | 8 ((static_cast<uint32>(a)) | (static_cast<uint32>(b) << 8) | \ |
| 9 (static_cast<uint32>(c) << 16) | (static_cast<uint32>(d) << 24)) | 9 (static_cast<uint32>(c) << 16) | (static_cast<uint32>(d) << 24)) |
| 10 | 10 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 bool GLImageOzoneNativePixmap::ScheduleOverlayPlane(AcceleratedWidget widget, | 134 bool GLImageOzoneNativePixmap::ScheduleOverlayPlane(AcceleratedWidget widget, |
| 135 int z_order, | 135 int z_order, |
| 136 OverlayTransform transform, | 136 OverlayTransform transform, |
| 137 const Rect& bounds_rect, | 137 const Rect& bounds_rect, |
| 138 const RectF& crop_rect) { | 138 const RectF& crop_rect) { |
| 139 DCHECK(pixmap_); | 139 DCHECK(pixmap_); |
| 140 return pixmap_->ScheduleOverlayPlane(widget, z_order, transform, bounds_rect, | 140 return pixmap_->ScheduleOverlayPlane(widget, z_order, transform, bounds_rect, |
| 141 crop_rect); | 141 crop_rect); |
| 142 } | 142 } |
| 143 | 143 |
| 144 void GLImageOzoneNativePixmap::OnMemoryDump( |
| 145 base::trace_event::ProcessMemoryDump* pmd, |
| 146 uint64_t process_tracing_id, |
| 147 const std::string& dump_name) { |
| 148 // TODO(ericrk): Implement GLImage OnMemoryDump. crbug.com/514914 |
| 149 } |
| 150 |
| 144 } // namespace gfx | 151 } // namespace gfx |
| OLD | NEW |