[webkit-changes] [WebKit/WebKit] c340b7: Video Texture set to repeat is clamped

Kimmo Kinnunen noreply at github.com
Sun Dec 4 23:48:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c340b7473bca7f6b64867669aeca7ebc169531a8
      https://github.com/WebKit/WebKit/commit/c340b7473bca7f6b64867669aeca7ebc169531a8
  Author: Kimmo Kinnunen <kkinnunen at apple.com>
  Date:   2022-12-04 (Sun, 04 Dec 2022)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    A LayoutTests/webgl/resources/pot-video.mp4
    A LayoutTests/webgl/tex-2d-video-no-change-wrap-expected.txt
    A LayoutTests/webgl/tex-2d-video-no-change-wrap.html
    M Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.cpp

  Log Message:
  -----------
  Video Texture set to repeat is clamped
https://bugs.webkit.org/show_bug.cgi?id=248543
rdar://problem/102912865

Reviewed by Kenneth Russell.

The texImage2D fast-path would change the target texture wrap and min/mag properties.
The FBO where the target texture will be bound is complete regardless
of the properties.

* LayoutTests/webgl/resources/pot-video.mp4: Added.
* LayoutTests/webgl/tex-2d-video-no-change-wrap-expected.txt: Added.
* LayoutTests/webgl/tex-2d-video-no-change-wrap.html: Added.
* Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.cpp:
(WebCore::GraphicsContextGLCVCocoa::copyVideoSampleToTexture):

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




More information about the webkit-changes mailing list