-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TextureMapper] Remove TextureMapperContextAttributes
https://bugs.webkit.org/show_bug.cgi?id=264153 Reviewed by Alejandro G. Castro. It's used to cache the presence two gl extensions that could be cached and provided by the GLContext which also makes easier to create bitmap textures. * Source/WebCore/platform/TextureMapper.cmake: * Source/WebCore/platform/graphics/egl/GLContext.cpp: (WebCore::GLContext::glExtensions const): * Source/WebCore/platform/graphics/egl/GLContext.h: * Source/WebCore/platform/graphics/gstreamer/GStreamerVideoFrameHolder.cpp: * Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::MediaPlayerPrivateGStreamer::pushTextureToCompositor): * Source/WebCore/platform/graphics/nicosia/NicosiaImageBufferPipe.cpp: (Nicosia::NicosiaImageBufferPipeSource::handle): * Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp: (WebCore::BitmapTexture::BitmapTexture): (WebCore::BitmapTexture::updateContents): * Source/WebCore/platform/graphics/texmap/BitmapTexture.h: * Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp: (WebCore::BitmapTexturePool::BitmapTexturePool): (WebCore::BitmapTexturePool::acquireTexture): (WebCore::BitmapTexturePool::createTexture): Deleted. * Source/WebCore/platform/graphics/texmap/BitmapTexturePool.h: * Source/WebCore/platform/graphics/texmap/TextureMapper.cpp: (WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData): (WebCore::TextureMapper::TextureMapper): (WebCore::TextureMapper::drawTexture): (WebCore::TextureMapper::drawTexturePlanarYUV): (WebCore::TextureMapper::drawTextureSemiPlanarYUV): (WebCore::TextureMapper::drawTexturePackedYUV): (WebCore::TextureMapper::drawTexturedQuadWithProgram): (WebCore::TextureMapper::createTexture): Deleted. * Source/WebCore/platform/graphics/texmap/TextureMapper.h: (WebCore::TextureMapper::maxTextureSize const): * Source/WebCore/platform/graphics/texmap/TextureMapperContextAttributes.cpp: Removed. * Source/WebCore/platform/graphics/texmap/TextureMapperContextAttributes.h: Removed. * Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp: (WebCore::TextureMapperPlatformLayerBuffer::clone): * Source/WebCore/platform/graphics/texmap/TextureMapperSparseBackingStore.cpp: (WebCore::TextureMapperSparseBackingStore::updateContents): * Source/WebCore/platform/graphics/texmap/TextureMapperSparseBackingStore.h: * Source/WebCore/platform/graphics/texmap/TextureMapperTile.cpp: (WebCore::TextureMapperTile::updateContents): * Source/WebCore/platform/graphics/texmap/TextureMapperTile.h: * Source/WebCore/platform/graphics/texmap/TextureMapperTiledBackingStore.cpp: (WebCore::TextureMapperTiledBackingStore::updateContents): * Source/WebKit/GPUProcess/graphics/wc/WCScene.cpp: (WebKit::WCScene::update): Canonical link: https://commits.webkit.org/270173@main
- Loading branch information
1 parent
32763a5
commit b01c2d6
Showing
21 changed files
with
56 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.