• Pekka Paalanen's avatar
    renderer/native: Debug print chosen secondary FB format · a62dbc66
    Pekka Paalanen authored
    Print the pixel format chosen for an output on a secondary GPU for
    debugging. Knowing the format can aid in debugging e.g. red/blue channel
    swaps and CPU copy performance issues.
    
    This adds a DRM format printing helper in meta-crtc-kms.h. This header
    is included in most native backend files making it widely available,
    while DRM formats are specific to the native backend. It could be shared
    with Wayland bits, DRM format codes are used there too.
    
    The helper makes the pixel format much more readable than a "%x".
    
    GNOME/mutter!341
    a62dbc66
Name
Last commit
Last update
.gitlab-ci Loading commit data...
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
config.h.meson Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mutter.doap Loading commit data...