Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
wlroots-0.13.0.tar.gz | 2021-04-07 | 503.6 kB | |
wlroots-0.13.0.tar.gz.sig | 2021-04-07 | 566 Bytes | |
README.md | 2021-04-07 | 31.2 kB | |
wlroots 0.13.0 source code.tar.gz | 2021-04-07 | 503.6 kB | |
wlroots 0.13.0 source code.zip | 2021-04-07 | 702.5 kB | |
Totals: 5 Items | 1.7 MB | 0 |
wlroots 0.13.0 includes the following breaking changes.
Breaking changes for compositors
These changes can affect most compositors.
- Replace wlr_key_state with wl_keyboard_key_state (#2446):
enum wlr_key_state
has been replaced withenum wl_keyboard_key_state
- Use
uint32_t
inwlr_renderer_begin
signature (#2433) - Remove unneeded includes from
wlr_input_device.h
(#2470) - Renderer v6, incremental version (#2240): some implicit assumptions about
wlr_renderer
's EGL context no longer hold true. Compositors not using EGL directly shouldn't be affected. - wlroots' framebuffer no longer is the EGL default framebuffer
- wlroots' framebuffer no longer has a depth attachment
- Remove
wlr_create_renderer_func_t
(#2561) wlr_backend_autocreate
,wlr_drm_backend_create
,wlr_headless_backend_create
,wlr_wl_backend_create
,wlr_x11_backend_create
no longer take awlr_renderer_create_func_t
parameter- The
wlr_renderer_create_func_t
type has been removed - backend/noop: listen to display destroy and destroy the backend (#2583):
the noop backend should no longer be manually destroyed after the
wl_display
- xdg shell: remove
wlr_xdg_surface_for_each_popup
(#2610)wlr_xdg_surface_for_each_popup
has been removed, usewlr_xdg_surface_for_each_popup_surface
instead. - layer shell: rename popup iterator for consistency (#2617):
wlr_layer_surface_v1_for_each_popup
has been renamed towlr_layer_surface_v1_for_each_popup_surface
. - Keyboard interactivity options (#2555):
wlr_layer_surface_v1_state.keyboard_interactivity
has now the typeenum zwlr_layer_surface_v1_keyboard_interactivity
to reflect protocol changes. - output: remove scale/transform events (#2631): the
scale
andtransform
output events have been removed, compositors should use thecommit
event instead. - output: send commit event after pending state is cleared (#2630):
compositors can no longer read the to-be-committed state from
wlr_output.pending
in an outputcommit
event handler. Instead, use the current state andwlr_output_event_commit
. - render/wlr_texture: clamp texture coordinates to edge by default (#2476):
the GLES2 renderer no longer wraps textures with
GL_REPEAT
. If you want to repeat a texture, manually change wlroots' default viaglTexParameteri
. - text_input_v3: correct typo in enum field (#2735):
WLR_TEXT_INPUT_v3_FEATURE_CONTENT_TYPE
has been renamed toWLR_TEXT_INPUT_V3_FEATURE_CONTENT_TYPE
. - Stop using
wl_shm_format
(#2744): the renderer functions takeDRM_FORMAT_*
values instead ofWL_SHM_FORMAT_*
. Make sure you don't have any remainingWL_SHM_FORMAT_*
enum values in your compositor. wlr_renderer_read_pixels
now takes a DRM format code instead of anenum wl_shm_format
wlr_renderer_get_shm_texture_formats
now returns DRM format codes instead of anenum wl_shm_format
wlr_renderer_read_pixels
now takes a DRM format code instead of anenum wl_shm_format
wlr_output_preferred_read_format
now returns a DRM format code instead of anenum wl_shm_format
Breaking changes for custom backends and renderers
These changes are unlikely to affect compositors that don't have a custom backend or renderer.
- render: add
wlr_renderer_get_dmabuf_render_formats
(#2483) wlr_egl_get_dmabuf_formats
has been renamed towlr_egl_get_dmabuf_texture_formats
wlr_renderer_get_formats
has been renamed towlr_renderer_get_shm_texture_formats
wlr_renderer_get_dmabuf_formats
has been renamed towlr_renderer_get_dmabuf_texture_formats
wlr_renderer_format_supported
has been removed (instead, usewlr_renderer_get_shm_texture_formats
)- backend/session: misc. refactoring, replace CanGraphical with udev (#2465)
wlr_drm_backend_create
takes awlr_device
instead of a DRM FDwlr_device.signal
has been replaced bywlr_device.events.change
wlr_session.session_signal
has been replaced bywlr_session.events.active
wlr_session_open_file
andwlr_session_close_file
now take awlr_device
instead of a FDwlr_session_find_gpus
now fills an array ofwlr_device
pointers instead of an array of FDs- backend/session: allow wlr_session_find_gpus to return an error (#2578):
wlr_session_find_gpus
now returns assize_t
instead of asize_t
- render/egl: remove unused features, introduce create/destroy (#2623)
- The
EGLint visual_id
parameter ofwlr_egl_init
has been removed. wlr_egl_swap_buffers
has been removed.wlr_egl_init
andwlr_egl_finish
have been replaced withwlr_egl_create
andwlr_egl_destroy
.wlr_egl_make_current
no longer takes the argumentsEGLSurface surface, int *buffer_age
.- Remove
wlr_egl
from backends (#2602):wlr_renderer_autocreate
no longer takes astruct wlr_egl *
as parameter. - Drop EGL from wlr_renderer_autocreate (#2639):
wlr_renderer_autocreate
no longer takes the argumentsEGLenum platform, void *remote_display
. Instead it takes astruct wlr_backend *
. - render/egl: remove
config_attribs
,wlr_egl.config
andwlr_egl_{create,destroy}_surface
(#2666) - region: make wlr_region_create private (#2662)
- surface: make wlr_surface_create private (#2814)
- Add static+const qualifiers (#2720):
wlr_tablet.impl
is nowconst
- Update output transform matrix calculation (#2770): the projection has been moved from
wlr_output.transform_matrix
to the GLES2 renderer. Compositors usingwlr_output.transform_matrix
only with the GLES2 renderer don't need an update.