Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2cac601421e467d250af342c55ff42351a69564e
      
https://github.com/WebKit/WebKit/commit/2cac601421e467d250af342c55ff42351a69564e
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    M Source/WebCore/platform/TextureMapper.cmake
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.h
    A 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreTile.cpp
    A 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreTile.h
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp

  Log Message:
  -----------
  [CoordinatedGraphics] Move CoordinatedGraphicsBackingStoreTile to its own file
https://bugs.webkit.org/show_bug.cgi?id=281488

Reviewed by Miguel Gomez.

And simplify it. We don't really need to inherit from
TextureMapperTile, since we are using it just as a wrapper of a
BitmapTexture.

* Source/WebCore/platform/TextureMapper.cmake:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp:
(WebCore::CoordinatedBackingStore::processPendingUpdates):
(WebCore::CoordinatedBackingStore::resize):
(WebCore::CoordinatedBackingStore::paintToTextureMapper):
(WebCore::CoordinatedBackingStore::drawBorder):
(WebCore::CoordinatedBackingStore::drawRepaintCounter):
(WebCore::CoordinatedBackingStoreTile::addUpdate): Deleted.
(WebCore::CoordinatedBackingStoreTile::swapBuffers): Deleted.
(WebCore::CoordinatedBackingStore::paintTilesToTextureMapper): Deleted.
(WebCore::CoordinatedBackingStore::adjustedTransformForRect): Deleted.
(WebCore::CoordinatedBackingStore::swapBuffers): Deleted.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreTile.cpp:
 Added.
(WebCore::CoordinatedBackingStoreTile::CoordinatedBackingStoreTile):
(WebCore::CoordinatedBackingStoreTile::addUpdate):
(WebCore::CoordinatedBackingStoreTile::processPendingUpdates):
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreTile.h:
 Added.
(WebCore::CoordinatedBackingStoreTile::texture):
(WebCore::CoordinatedBackingStoreTile::scale const):
(WebCore::CoordinatedBackingStoreTile::rect):
(WebCore::CoordinatedBackingStoreTile::canBePainted const):
* 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::CoordinatedGraphicsScene::updateSceneState):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to