0005-qtwebengine-increase-tiles-buffer.patch 869 B

12345678910111213141516
  1. diff --git a/qtwebengine/src/3rdparty/chromium/content/renderer/gpu/compositor_output_surface.cc b/qtwebengine/src/3rdparty/chromium/content/renderer/gpu/compositor_output_surface.cc
  2. index 76998d6..0e80cef 100644
  3. --- a/qtwebengine/src/3rdparty/chromium/content/renderer/gpu/compositor_output_surface.cc
  4. +++ b/qtwebengine/src/3rdparty/chromium/content/renderer/gpu/compositor_output_surface.cc
  5. @@ -86,9 +86,9 @@ bool CompositorOutputSurface::BindToClient(
  6. if (!context_provider()) {
  7. // Without a GPU context, the memory policy otherwise wouldn't be set.
  8. client->SetMemoryPolicy(cc::ManagedMemoryPolicy(
  9. - 128 * 1024 * 1024,
  10. + 256 * 1024 * 1024,
  11. gpu::MemoryAllocation::CUTOFF_ALLOW_NICE_TO_HAVE,
  12. - base::SharedMemory::GetHandleLimit() / 3));
  13. + cc::ManagedMemoryPolicy::kDefaultNumResourcesLimit));
  14. }
  15. return true;