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

Unified Diff: components/exo/display.h

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: components/exo/display.h
diff --git a/components/exo/display.h b/components/exo/display.h
index 2d33a2e217cf567307af91d9e87bc3d35628c4f9..cea719a733b91ec6af0c885e8e20763f2b4d533e 100644
--- a/components/exo/display.h
+++ b/components/exo/display.h
@@ -16,6 +16,7 @@
#include "base/files/scoped_file.h"
#include "ui/gfx/buffer_types.h"
#include "ui/gfx/geometry/size.h"
+#include "ui/gfx/native_pixmap_handle_ozone.h"
#endif
namespace gfx {
@@ -54,8 +55,7 @@ class Display {
std::unique_ptr<Buffer> CreateLinuxDMABufBuffer(
const gfx::Size& size,
gfx::BufferFormat format,
- const std::vector<int>& strides,
- const std::vector<int>& offsets,
+ const std::vector<gfx::GbmBufferPlane>& planes,
std::vector<base::ScopedFD>&& fds);
#endif

Powered by Google App Engine
This is Rietveld 408576698