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

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..6250a53849647a9d7bec4bd9a5c768387ec1e49a 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() : stride(0), offset(0), modifier(0) {}
+
+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