[webkit-changes] [WebKit/WebKit] 3894e0: OffscreenCanvas WebGL tests in webgl/2.0.y/conform...

mattwoodrow noreply at github.com
Tue May 9 14:26:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3894e0d4567012240c6cf8a29d13127531d94770
      https://github.com/WebKit/WebKit/commit/3894e0d4567012240c6cf8a29d13127531d94770
  Author: Matt Woodrow <mattwoodrow at apple.com>
  Date:   2023-05-09 (Tue, 09 May 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/html/OffscreenCanvas.cpp

  Log Message:
  -----------
  OffscreenCanvas WebGL tests in webgl/2.0.y/conformance/textures/webgl_canvas fail.
https://bugs.webkit.org/show_bug.cgi?id=256479
<rdar://problem/109051251>

Reviewed by Dan Glastonbury.

Resizing the OffscreenCanvas object wasn't communicating this through to WebGL, which needs
to know about the new size for its framebuffer.
This code matches what HTMLCanvasElement does when resized.

* LayoutTests/TestExpectations:
* Source/WebCore/html/OffscreenCanvas.cpp:
(WebCore::OffscreenCanvas::setSize):

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




More information about the webkit-changes mailing list