[webkit-changes] [WebKit/WebKit] 983db6: [TextureMapper] Make ExposedEdges enum a boolean enum
Carlos Garcia Campos
noreply at github.com
Thu Nov 2 04:14:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 983db64d2b007d9ebea6dbadfeba9913610500e5
https://github.com/WebKit/WebKit/commit/983db64d2b007d9ebea6dbadfeba9913610500e5
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2023-11-02 (Thu, 02 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/TextureMapperBackingStore.cpp
M Source/WebCore/platform/graphics/texmap/TextureMapperBackingStore.h
M Source/WebCore/platform/graphics/texmap/TextureMapperSparseBackingStore.cpp
M Source/WebCore/platform/graphics/texmap/TextureMapperTile.cpp
M Source/WebCore/platform/graphics/texmap/TextureMapperTile.h
M Source/WebCore/platform/graphics/texmap/TextureMapperTiledBackingStore.cpp
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
Log Message:
-----------
[TextureMapper] Make ExposedEdges enum a boolean enum
https://bugs.webkit.org/show_bug.cgi?id=264035
Reviewed by Fujii Hironori.
The texture mapper doesn't really need to know what edges are exposed,
only whether all of them are or not, so we can simplify everything by
using a bool enum instead.
* Source/WebCore/platform/graphics/texmap/TextureMapper.cpp:
(WebCore::TextureMapper::drawNumber):
(WebCore::TextureMapper::drawTexture):
(WebCore::TextureMapper::drawTexturePlanarYUV):
(WebCore::TextureMapper::drawTextureSemiPlanarYUV):
(WebCore::TextureMapper::drawTexturePackedYUV):
* Source/WebCore/platform/graphics/texmap/TextureMapper.h:
* Source/WebCore/platform/graphics/texmap/TextureMapperBackingStore.cpp:
(WebCore::TextureMapperBackingStore::allTileEdgesExposed):
(WebCore::TextureMapperBackingStore::calculateExposedTileEdges): Deleted.
* Source/WebCore/platform/graphics/texmap/TextureMapperBackingStore.h:
* Source/WebCore/platform/graphics/texmap/TextureMapperSparseBackingStore.cpp:
(WebCore::TextureMapperSparseBackingStore::paintToTextureMapper):
* Source/WebCore/platform/graphics/texmap/TextureMapperTile.cpp:
(WebCore::TextureMapperTile::paint):
* Source/WebCore/platform/graphics/texmap/TextureMapperTile.h:
* Source/WebCore/platform/graphics/texmap/TextureMapperTiledBackingStore.cpp:
(WebCore::TextureMapperTiledBackingStore::paintToTextureMapper):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp:
(WebCore::CoordinatedBackingStore::paintTilesToTextureMapper):
Canonical link: https://commits.webkit.org/270105@main
More information about the webkit-changes
mailing list