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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h

Issue 1837703002: gpu: Export/import buffers created by Ozone GMB factory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move dup() to ShareGpuMemoryBufferToGpuProcess 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 | « gpu/ipc/client/gpu_channel_host.cc ('k') | gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
diff --git a/gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h b/gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
index 44b53df5a7b0bdee967b6048e0d16fed1ab47517..6278db8d8c92f05ca657653f1e5118bc9266e06f 100644
--- a/gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.h
@@ -53,9 +53,13 @@ class GPU_EXPORT GpuMemoryBufferImplOzoneNativePixmap
const gfx::Size& size,
gfx::BufferFormat format,
const DestructionCallback& callback,
- std::unique_ptr<ui::ClientNativePixmap> native_pixmap);
+ std::unique_ptr<ui::ClientNativePixmap> native_pixmap,
+ const std::vector<std::pair<int, int>>& strides_and_offsets,
+ base::ScopedFD fd);
std::unique_ptr<ui::ClientNativePixmap> pixmap_;
+ std::vector<std::pair<int, int>> strides_and_offsets_;
+ base::ScopedFD fd_;
void* data_;
DISALLOW_COPY_AND_ASSIGN(GpuMemoryBufferImplOzoneNativePixmap);
« no previous file with comments | « gpu/ipc/client/gpu_channel_host.cc ('k') | gpu/ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698