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

Unified Diff: ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h

Issue 1841683003: ui/ozone: Flush CPU caches when mapping/unmapping prime pixmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ran git cl format Created 4 years, 8 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/common/client_native_pixmap_dmabuf.h
diff --git a/ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h b/ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h
index 9f9465ceca2c4d4645edfab6866618a724cae8a8..b00f34d21249b644dd06904743b10a80f560fe53 100644
--- a/ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h
+++ b/ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h
@@ -7,6 +7,7 @@
#include <stdint.h>
+#include "base/files/scoped_file.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "ui/gfx/geometry/size.h"
@@ -30,6 +31,7 @@ class ClientNativePixmapDmaBuf : public ClientNativePixmap {
private:
ClientNativePixmapDmaBuf(int dmabuf_fd, const gfx::Size& size, int stride);
+ base::ScopedFD dmabuf_fd_;
const gfx::Size size_;
const int stride_;
void* data_;

Powered by Google App Engine
This is Rietveld 408576698