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

Unified Diff: ui/ozone/platform/drm/gpu/drm_thread.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: ui/ozone/platform/drm/gpu/drm_thread.h
diff --git a/ui/ozone/platform/drm/gpu/drm_thread.h b/ui/ozone/platform/drm/gpu/drm_thread.h
index 56e566d3902b3e3c10321bf4b0a4f16f58b0385b..328acb17cba93902ac00a8d1e6600b102286577f 100644
--- a/ui/ozone/platform/drm/gpu/drm_thread.h
+++ b/ui/ozone/platform/drm/gpu/drm_thread.h
@@ -62,8 +62,7 @@ class DrmThread : public base::Thread {
void CreateBufferFromFds(const gfx::Size& size,
gfx::BufferFormat format,
std::vector<base::ScopedFD>&& fds,
- std::vector<int> strides,
- std::vector<int> offsets,
+ std::vector<gfx::GbmBufferPlane>&& planes,
Daniele Castagna 2016/06/15 03:50:20 just const ref is fine.
vinceh 2016/06/15 04:35:18 OK. Will fix.
scoped_refptr<GbmBuffer>* buffer);
void GetScanoutFormats(gfx::AcceleratedWidget widget,

Powered by Google App Engine
This is Rietveld 408576698