[webkit-changes] [WebKit/WebKit] ed51da: [GTK][WPE] Default again to BGRA format for the te...

Nikolas Zimmermann noreply at github.com
Wed Sep 25 00:20:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ed51da02113adbc857c7191eed3c50ae8b6a7ffd
      https://github.com/WebKit/WebKit/commit/ed51da02113adbc857c7191eed3c50ae8b6a7ffd
  Author: Nikolas Zimmermann <nzimmermann at igalia.com>
  Date:   2024-09-25 (Wed, 25 Sep 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/nicosia/NicosiaBuffer.cpp

  Log Message:
  -----------
  [GTK][WPE] Default again to BGRA format for the temporary buffers used for CPU rendering
https://bugs.webkit.org/show_bug.cgi?id=280259

Reviewed by Carlos Garcia Campos.

We only need to ensure RGBA buffers, when using hybrid mode rendering
(not yet landed), but not for CPU-only rendering. There are various
sources that produce BGRA data, and this way we can avoid pixel
conversions when rendering into the RAM-baked buffers.

Covered by existing tests.

* Source/WebCore/platform/graphics/nicosia/NicosiaBuffer.cpp:
(Nicosia::UnacceleratedBuffer::pixelFormat const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list