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

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
« no previous file with comments | « ui/gfx/native_pixmap_handle_ozone.h ('k') | ui/gl/gl_image_ozone_native_pixmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8bd17bcb6ac62f8c6480ccea73fe40c584061d4c 100644
--- a/ui/gfx/native_pixmap_handle_ozone.cc
+++ b/ui/gfx/native_pixmap_handle_ozone.cc
@@ -6,6 +6,15 @@
namespace gfx {
+NativePixmapPlane::NativePixmapPlane() : stride(0), offset(0), modifier(0) {}
+
+NativePixmapPlane::NativePixmapPlane(int stride, int offset, uint64_t modifier)
+ : stride(stride), offset(offset), modifier(modifier) {}
+
+NativePixmapPlane::NativePixmapPlane(const NativePixmapPlane& other) = default;
+
+NativePixmapPlane::~NativePixmapPlane() {}
+
NativePixmapHandle::NativePixmapHandle() {}
NativePixmapHandle::NativePixmapHandle(const NativePixmapHandle& other) =
default;
« no previous file with comments | « ui/gfx/native_pixmap_handle_ozone.h ('k') | ui/gl/gl_image_ozone_native_pixmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698