[webkit-changes] [WebKit/WebKit] baa2ed: [WebGPU] GPUCanvasContext backing creation will fa...

mwyrzykowski noreply at github.com
Wed Dec 6 10:18:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: baa2edb1774a345521499809469d648efda55024
      https://github.com/WebKit/WebKit/commit/baa2edb1774a345521499809469d648efda55024
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-12-06 (Wed, 06 Dec 2023)

  Changed paths:
    M Source/WebGPU/WebGPU/PresentationContextIOSurface.mm

  Log Message:
  -----------
  [WebGPU] GPUCanvasContext backing creation will fail if requested size exceeds max 2D texture size
https://bugs.webkit.org/show_bug.cgi?id=265885
<radar://119197653>

Reviewed by Tadeu Zagallo.

If the GPUCanvas size exceeds the max 2D texture size, render to a smaller
canvas and upscale.

* Source/WebGPU/WebGPU/PresentationContextIOSurface.mm:
(WebGPU::PresentationContextIOSurface::configure):

Canonical link: https://commits.webkit.org/271616@main




More information about the webkit-changes mailing list