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

Unified Diff: components/exo/display.h

Issue 2046743002: exo: Add support for importing YVU_420 buffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@yv12-test
Patch Set: Avoid vector aggregate initialization in exo test. 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 | « no previous file | components/exo/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/display.h
diff --git a/components/exo/display.h b/components/exo/display.h
index 4b3ac9966aa70693db065054f7a5b19d49b0356c..2d33a2e217cf567307af91d9e87bc3d35628c4f9 100644
--- a/components/exo/display.h
+++ b/components/exo/display.h
@@ -51,10 +51,12 @@ class Display {
#if defined(USE_OZONE)
// Creates a buffer for a Linux DMA-buf file descriptor.
- std::unique_ptr<Buffer> CreateLinuxDMABufBuffer(base::ScopedFD fd,
- const gfx::Size& size,
- gfx::BufferFormat format,
- int stride);
+ std::unique_ptr<Buffer> CreateLinuxDMABufBuffer(
+ const gfx::Size& size,
+ gfx::BufferFormat format,
+ const std::vector<int>& strides,
+ const std::vector<int>& offsets,
+ std::vector<base::ScopedFD>&& fds);
#endif
// Creates a shell surface for an existing surface.
« no previous file with comments | « no previous file | components/exo/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698