Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6368ef08acb38d89c96530658fc01c911b6c1f25
      
https://github.com/WebKit/WebKit/commit/6368ef08acb38d89c96530658fc01c911b6c1f25
  Author: Georges Basile Stavracas Neto <feane...@igalia.com>
  Date:   2024-04-25 (Thu, 25 Apr 2024)

  Changed paths:
    M Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp
    M Source/WebKit/WPEPlatform/wpe/WPEView.cpp

  Log Message:
  -----------
  [GTK][WPE] Improve parsing of WEBKIT_DMABUF_RENDERER_BUFFER_FORMAT env var
https://bugs.webkit.org/show_bug.cgi?id=273209

Reviewed by Carlos Garcia Campos.

Usually modifiers are shared, discussed, and referred to as hex numbers,
not boring base-10 numbers. Parse them as such. This allows us to take
modifiers from tools like 'wayland-info' or GTK debug prints and stuff
it directly into the env var.

Also improve validation so that invalid modifiers aren't used.

Apply a similar change to WPE_DMABUF_BUFFER_FORMAT which follows the
same env var format.

* Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:
(WebKit::AcceleratedBackingStoreDMABuf::preferredBufferFormats):
* Source/WebKit/WPEPlatform/wpe/WPEView.cpp:
(wpe_view_get_preferred_dma_buf_formats):

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



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

Reply via email to