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

Unified Diff: components/exo/wayland/server.cc

Issue 2361023003: Revert of Add ClientNativePixmap multi-planar support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@client-native-pixmap-dmabug-multiple-planes
Patch Set: Created 4 years, 3 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/wayland/server.cc
diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc
index 8029c5acb26effe0e6b887f167136f34f918290c..22c57307e8a88d6d707fc001f3df7d521c4e9083 100644
--- a/components/exo/wayland/server.cc
+++ b/components/exo/wayland/server.cc
@@ -536,9 +536,9 @@
}
std::vector<gfx::NativePixmapPlane> planes;
- planes.emplace_back(stride0, offset0, 0, 0);
- planes.emplace_back(stride1, offset1, 0, 0);
- planes.emplace_back(stride2, offset2, 0, 0);
+ planes.emplace_back(stride0, offset0, 0);
+ planes.emplace_back(stride1, offset1, 0);
+ planes.emplace_back(stride2, offset2, 0);
std::vector<base::ScopedFD> fds;
size_t num_planes =
@@ -694,7 +694,7 @@
return;
}
LinuxBufferParams::Plane& plane = plane_it->second;
- planes.emplace_back(plane.stride, plane.offset, 0, 0);
+ planes.emplace_back(plane.stride, plane.offset, 0);
if (plane.fd.is_valid())
fds.push_back(std::move(plane.fd));
}
« no previous file with comments | « chrome/gpu/arc_gpu_video_decode_accelerator.cc ('k') | gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698