Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f5fdd332636858b88559db5facdfcc6b46a78d64
      
https://github.com/WebKit/WebKit/commit/f5fdd332636858b88559db5facdfcc6b46a78d64
  Author: Nikolas Zimmermann <[email protected]>
  Date:   2025-05-14 (Wed, 14 May 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.h
    M 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp

  Log Message:
  -----------
  Remove confusing copyFromExternalTexture() variants from BitmapTexture
https://bugs.webkit.org/show_bug.cgi?id=292983

Reviewed by Miguel Gomez.

Remove two of the three copyFromExternalTexture() variants from
BitmapTexture that were only needed in one place,
CoordinatedPlatformLayerBufferVideo. Furthermore the used terminology
for the function arguments differed (sourceRect vs. targetRect) - fix
that, by adapting the single call-site that made use of the function in
question.

Covered by existing tests.

* Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp:
* Source/WebCore/platform/graphics/texmap/BitmapTexture.h:
* 
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp:
(WebCore::CoordinatedPlatformLayerBufferVideo::copyBuffer const):

Canonical link: https://commits.webkit.org/294898@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