diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2020-03-13 09:40:00 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2020-03-13 09:40:00 +0000 |
commit | 074009c945cc68a322e2a4bc11a6f982bc720011 (patch) | |
tree | 1c67356e9f5d127a8e483d1ac9e3aa265cdceb62 /devel/electron7/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc | |
parent | 25848d5eaeca95ac82dd50142129de08ec6fb0f5 (diff) | |
download | ports-074009c945cc68a322e2a4bc11a6f982bc720011.tar.gz ports-074009c945cc68a322e2a4bc11a6f982bc720011.zip |
Add electron7 7.1.14, build cross-platform desktop apps with JavaScript,
HTML, and CSS.
Notes
Notes:
svn path=/head/; revision=528341
Diffstat (limited to 'devel/electron7/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc')
-rw-r--r-- | devel/electron7/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc b/devel/electron7/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc new file mode 100644 index 000000000000..8640c7e64d50 --- /dev/null +++ b/devel/electron7/files/patch-media_video_gpu__memory__buffer__video__frame__pool.cc @@ -0,0 +1,11 @@ +--- media/video/gpu_memory_buffer_video_frame_pool.cc.orig 2019-12-12 12:39:51 UTC ++++ media/video/gpu_memory_buffer_video_frame_pool.cc +@@ -555,7 +555,7 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::CreateHa + } + + bool is_software_backed_video_frame = !video_frame->HasTextures(); +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + is_software_backed_video_frame &= !video_frame->HasDmaBufs(); + #endif + |