From cc2fd43f84527fac2cb1e54fa8cc7c3ac4be7e73 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 27 Feb 2017 09:37:48 +0000 Subject: Initial revision --- .../build/patches/chromium_gpu_sharedmemorylimits.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 chromium/build/patches/chromium_gpu_sharedmemorylimits.patch (limited to 'chromium/build/patches/chromium_gpu_sharedmemorylimits.patch') 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; -- cgit v1.2.3-65-gdbad