File chromium-dma-buf.patch of Package chromium-ffmpeg-extra (Revision edff4236ea405746ad02b23f8de36ff9)
Currently displaying revision edff4236ea405746ad02b23f8de36ff9 , Show latest
22
1
--- a/ui/gfx/linux/client_native_pixmap_dmabuf.cc.orig 2017-03-29 15:08:58.079790070 +0000
2
+++ b/ui/gfx/linux/client_native_pixmap_dmabuf.cc 2017-03-29 15:09:10.068039324 +0000
3
4
#include "base/strings/stringprintf.h"
5
#include "base/trace_event/trace_event.h"
6
7
-#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 6, 0)
8
#include <linux/types.h>
9
10
struct local_dma_buf_sync {
11
12
#define LOCAL_DMA_BUF_IOCTL_SYNC \
13
_IOW(LOCAL_DMA_BUF_BASE, 0, struct local_dma_buf_sync)
14
15
-#else
16
-#include <linux/dma-buf.h>
17
-#endif
18
-
19
namespace gfx {
20
21
namespace {
22