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
3 // found in the LICENSE file.
4 // Note: ported from Chromium commit head: a9d98e6
5
6 #include "native_pixmap_handle.h"
7
8 namespace media {
9
NativePixmapPlane()10 NativePixmapPlane::NativePixmapPlane()
11 : stride(0), offset(0), size(0), modifier(0) {}
12
NativePixmapPlane(int stride,int offset,uint64_t size,uint64_t modifier)13 NativePixmapPlane::NativePixmapPlane(int stride,
14 int offset,
15 uint64_t size,
16 uint64_t modifier)
17 : stride(stride), offset(offset), size(size), modifier(modifier) {}
18
19 NativePixmapPlane::NativePixmapPlane(const NativePixmapPlane& other) = default;
20
~NativePixmapPlane()21 NativePixmapPlane::~NativePixmapPlane() {}
22
NativePixmapHandle()23 NativePixmapHandle::NativePixmapHandle() {}
24 NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) =
25 default;
26
~NativePixmapHandle()27 NativePixmapHandle::~NativePixmapHandle() {}
28
29 } // namespace media
30