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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: ui/gfx/native_pixmap_handle_ozone.cc
diff --git a/ui/gfx/native_pixmap_handle_ozone.cc b/ui/gfx/native_pixmap_handle_ozone.cc
index d48e36fd7600977a901c3a9c3c761595bdd3555d..46a0f95be5c645e221653bd1b13272c079c1b6d6 100644
--- a/ui/gfx/native_pixmap_handle_ozone.cc
+++ b/ui/gfx/native_pixmap_handle_ozone.cc
@@ -6,6 +6,15 @@
namespace gfx {
+GbmBufferPlane::GbmBufferPlane() {}
Daniele Castagna 2016/06/15 03:50:20 Is it ok not to initialize anything here?
vinceh 2016/06/15 04:35:18 I will initialize all the members as zero.
+
+GbmBufferPlane::GbmBufferPlane(int stride, int offset, uint64_t modifier)
+ : stride(stride), offset(offset), modifier(modifier) {}
+
+GbmBufferPlane::GbmBufferPlane(const GbmBufferPlane& other) = default;
+
+GbmBufferPlane::~GbmBufferPlane() {}
+
NativePixmapHandle::NativePixmapHandle() {}
NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) =
default;

Powered by Google App Engine
This is Rietveld 408576698