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

Unified Diff: components/exo/display.cc

Issue 1745943003: exo: Add support for linux_dmabuf interface to wayland bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wayland-protocols-linux-dmabuf
Patch Set: Prime -> LinuxDMABuf Created 4 years, 10 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 | « components/exo/display.h ('k') | components/exo/display_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/display.cc
diff --git a/components/exo/display.cc b/components/exo/display.cc
index 0e12f960824539ae750410ca756761386769a9b4..4d3bafc1517929198a0b89e4a329ce9e4e99c30b 100644
--- a/components/exo/display.cc
+++ b/components/exo/display.cc
@@ -49,11 +49,12 @@ scoped_ptr<SharedMemory> Display::CreateSharedMemory(
}
#if defined(USE_OZONE)
-scoped_ptr<Buffer> Display::CreatePrimeBuffer(base::ScopedFD fd,
- const gfx::Size& size,
- gfx::BufferFormat format,
- int stride) {
- TRACE_EVENT1("exo", "Display::CreatePrimeBuffer", "size", size.ToString());
+scoped_ptr<Buffer> Display::CreateLinuxDMABufBuffer(base::ScopedFD fd,
+ const gfx::Size& size,
+ gfx::BufferFormat format,
+ int stride) {
+ TRACE_EVENT1("exo", "Display::CreateLinuxDMABufBuffer", "size",
+ size.ToString());
gfx::GpuMemoryBufferHandle handle;
handle.type = gfx::OZONE_NATIVE_PIXMAP;
« no previous file with comments | « components/exo/display.h ('k') | components/exo/display_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698