[webkit-changes] [WebKit/WebKit] fc091a: [TextureMapper] Move applyFilters from BitmapTextu...

Carlos Garcia Campos noreply at github.com
Tue Nov 14 00:49:12 PST 2023


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

  Changed paths:
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.h
    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] Move applyFilters from BitmapTexture to TextureMapper
https://bugs.webkit.org/show_bug.cgi?id=264740

Reviewed by Fujii Hironori.

It's TextureMapper the one applying filters. Also remove FilterInfo and
use FilterOperation direclty instead.

* Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp:
(WebCore::BitmapTexture::reset):
(WebCore::BitmapTexture::applyFilters): Deleted.
* Source/WebCore/platform/graphics/texmap/BitmapTexture.h:
* Source/WebCore/platform/graphics/texmap/TextureMapper.cpp:
(WebCore::TextureMapper::drawTexture):
(WebCore::TextureMapper::drawTexturePlanarYUV):
(WebCore::TextureMapper::drawTextureSemiPlanarYUV):
(WebCore::TextureMapper::drawTexturePackedYUV):
(WebCore::TextureMapper::applyBlurFilter):
(WebCore::TextureMapper::applyDropShadowFilter):
(WebCore::TextureMapper::applySinglePassFilter):
(WebCore::TextureMapper::applyFilters):
(WebCore::TextureMapper::applyFilter):
* Source/WebCore/platform/graphics/texmap/TextureMapper.h:
* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::paintIntoSurface):

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




More information about the webkit-changes mailing list