[webkit-changes] [WebKit/WebKit] 2d7df2: [TextureMapper] Make WrapMode an enum class

Carlos Garcia Campos noreply at github.com
Fri Nov 3 05:28:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2d7df2a047705353b33d3d87fc273e2dfba8fa4b
      https://github.com/WebKit/WebKit/commit/2d7df2a047705353b33d3d87fc273e2dfba8fa4b
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-11-03 (Fri, 03 Nov 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/texmap/TextureMapper.cpp
    M Source/WebCore/platform/graphics/texmap/TextureMapper.h
    M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp

  Log Message:
  -----------
  [TextureMapper] Make WrapMode an enum class
https://bugs.webkit.org/show_bug.cgi?id=264147

Reviewed by Fujii Hironori.

* Source/WebCore/platform/graphics/texmap/TextureMapper.cpp:
(WebCore::TextureMapper::drawTexture):
(WebCore::TextureMapper::drawTexturePlanarYUV):
(WebCore::TextureMapper::drawTextureSemiPlanarYUV):
(WebCore::TextureMapper::drawTexturePackedYUV):
(WebCore::TextureMapper::drawTexturedQuadWithProgram):
* Source/WebCore/platform/graphics/texmap/TextureMapper.h:
(WebCore::TextureMapper::isInMaskMode const):
(WebCore::TextureMapper::wrapMode const): Deleted.
* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::paintSelf):

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




More information about the webkit-changes mailing list