Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: ui/gfx/native_pixmap_handle.cc

Issue 2361023003: Revert of Add ClientNativePixmap multi-planar support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client-native-pixmap-dmabug-multiple-planes
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gfx/native_pixmap_handle.h ('k') | ui/ozone/gl/gl_image_ozone_native_pixmap_drm_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stdint.h>
6
7 #include "ui/gfx/native_pixmap_handle.h" 5 #include "ui/gfx/native_pixmap_handle.h"
8 6
9 namespace gfx { 7 namespace gfx {
10 8
11 NativePixmapPlane::NativePixmapPlane() 9 NativePixmapPlane::NativePixmapPlane() : stride(0), offset(0), modifier(0) {}
12 : stride(0), offset(0), size(0), modifier(0) {}
13 10
14 NativePixmapPlane::NativePixmapPlane(int stride, 11 NativePixmapPlane::NativePixmapPlane(int stride, int offset, uint64_t modifier)
15 int offset, 12 : stride(stride), offset(offset), modifier(modifier) {}
16 size_t size,
17 uint64_t modifier)
18 : stride(stride), offset(offset), size(size), modifier(modifier) {}
19 13
20 NativePixmapPlane::NativePixmapPlane(const NativePixmapPlane& other) = default; 14 NativePixmapPlane::NativePixmapPlane(const NativePixmapPlane& other) = default;
21 15
22 NativePixmapPlane::~NativePixmapPlane() {} 16 NativePixmapPlane::~NativePixmapPlane() {}
23 17
24 NativePixmapHandle::NativePixmapHandle() {} 18 NativePixmapHandle::NativePixmapHandle() {}
25 NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) = 19 NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) =
26 default; 20 default;
27 21
28 NativePixmapHandle::~NativePixmapHandle() {} 22 NativePixmapHandle::~NativePixmapHandle() {}
29 23
30 } // namespace gfx 24 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/native_pixmap_handle.h ('k') | ui/ozone/gl/gl_image_ozone_native_pixmap_drm_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698