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

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

Issue 2039813002: Add format modifier IDs for EGL_EXT_image_dma_buf_import extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add format modifier IDs for EGL_EXT_image_dma_buf_import extension Created 4 years, 6 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
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 "ui/gfx/native_pixmap_handle_ozone.h" 5 #include "ui/gfx/native_pixmap_handle_ozone.h"
6 6
7 namespace gfx { 7 namespace gfx {
8 8
9 GbmBufferPlane::GbmBufferPlane() : stride(0), offset(0), modifier(0) {}
10
11 GbmBufferPlane::GbmBufferPlane(int stride, int offset, uint64_t modifier)
12 : stride(stride), offset(offset), modifier(modifier) {}
13
14 GbmBufferPlane::GbmBufferPlane(const GbmBufferPlane& other) = default;
15
16 GbmBufferPlane::~GbmBufferPlane() {}
17
9 NativePixmapHandle::NativePixmapHandle() {} 18 NativePixmapHandle::NativePixmapHandle() {}
10 NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) = 19 NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) =
11 default; 20 default;
12 21
13 NativePixmapHandle::~NativePixmapHandle() {} 22 NativePixmapHandle::~NativePixmapHandle() {}
14 23
15 } // namespace gfx 24 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698