OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/gfx/native_pixmap_handle_ozone.h" | 5 #include "ui/gfx/native_pixmap_handle.h" |
6 | 6 |
7 namespace gfx { | 7 namespace gfx { |
8 | 8 |
9 NativePixmapPlane::NativePixmapPlane() : stride(0), offset(0), modifier(0) {} | 9 NativePixmapPlane::NativePixmapPlane() : stride(0), offset(0), modifier(0) {} |
10 | 10 |
11 NativePixmapPlane::NativePixmapPlane(int stride, int offset, uint64_t modifier) | 11 NativePixmapPlane::NativePixmapPlane(int stride, int offset, uint64_t modifier) |
12 : stride(stride), offset(offset), modifier(modifier) {} | 12 : stride(stride), offset(offset), modifier(modifier) {} |
13 | 13 |
14 NativePixmapPlane::NativePixmapPlane(const NativePixmapPlane& other) = default; | 14 NativePixmapPlane::NativePixmapPlane(const NativePixmapPlane& other) = default; |
15 | 15 |
16 NativePixmapPlane::~NativePixmapPlane() {} | 16 NativePixmapPlane::~NativePixmapPlane() {} |
17 | 17 |
18 NativePixmapHandle::NativePixmapHandle() {} | 18 NativePixmapHandle::NativePixmapHandle() {} |
19 NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) = | 19 NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) = |
20 default; | 20 default; |
21 | 21 |
22 NativePixmapHandle::~NativePixmapHandle() {} | 22 NativePixmapHandle::~NativePixmapHandle() {} |
23 | 23 |
24 } // namespace gfx | 24 } // namespace gfx |
OLD | NEW |