summaryrefslogtreecommitdiffstats
path: root/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-02-27 09:37:48 +0000
committer Eric Hameleers <alien@slackware.com>2017-02-27 09:37:48 +0000
commitcc2fd43f84527fac2cb1e54fa8cc7c3ac4be7e73 (patch)
tree5f107e94ffab6d67814b238269efb059da4d6aa6 /chromium/build/patches/chromium_gpu_sharedmemorylimits.patch
parentab94b8893c8efc34172d390f7352e0a1ff33b1cd (diff)
downloadasb-cc2fd43f84527fac2cb1e54fa8cc7c3ac4be7e73.tar.gz
asb-cc2fd43f84527fac2cb1e54fa8cc7c3ac4be7e73.tar.xz
Initial revision
Diffstat (limited to 'chromium/build/patches/chromium_gpu_sharedmemorylimits.patch')
-rw-r--r--chromium/build/patches/chromium_gpu_sharedmemorylimits.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch b/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch
new file mode 100644
index 00000000..2f23c18b
--- /dev/null
+++ b/chromium/build/patches/chromium_gpu_sharedmemorylimits.patch
@@ -0,0 +1,14 @@
+Taken from:
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207298
+
+--- chromium-56.0.2924.87/services/ui/public/cpp/gles2_context.cc.orig 2017-02-02 02:02:57 UTC
++++ chromium-56.0.2924.87/services/ui/public/cpp/gles2_context.cc
+@@ -46,7 +46,7 @@ bool GLES2Context::Initialize(
+ gpu::CommandBuffer* command_buffer = command_buffer_proxy_impl_.get();
+ gpu::GpuControl* gpu_control = command_buffer_proxy_impl_.get();
+
+- constexpr gpu::SharedMemoryLimits default_limits;
++ constexpr gpu::SharedMemoryLimits default_limits = gpu::SharedMemoryLimits();
+ gles2_helper_.reset(new gpu::gles2::GLES2CmdHelper(command_buffer));
+ if (!gles2_helper_->Initialize(default_limits.command_buffer_size))
+ return false;