Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-23 | Fix wl_shm_format passed to wlr_texture_from_pixels | Simon Ser | |
Fixes: 27fba3df4347 ("render: use DRM formats in wlr_texture_from_pixels") | |||
2020-12-30 | Remove wlr_create_renderer_func_t | Simon Ser | |
This callback allowed compositors to customize the EGL config used by the renderer. However with renderer v6 EGL configs aren't used anymore. Instead, buffers are allocated via GBM and GL FBOs are rendered to. So customizing the EGL config is a no-op. | |||
2020-11-11 | Replace wlr_key_state with wl_keyboard_key_state | Isaac Freund | |
There's no reason to have duplicate enums | |||
2020-02-08 | examples: Fix compositor-examples | Scott Anderson | |
Due to the way the wlr_output API was changed, these examples would never get a frame event to start the rendering loop. We now commit the outputs to start it. | |||
2019-11-20 | Add -Wmissing-prototypes | Simon Ser | |
This requires functions without a prototype definition to be static. This allows to detect dead code, export less symbols and put shared functions in headers. | |||
2019-07-27 | Remove all wayland-server.h includes | Simon Ser | |
The documentation for wayland-server.h says: > Use of this header file is discouraged. Prefer including > wayland-server-core.h instead, which does not include the server protocol > header and as such only defines the library PI, excluding the deprecated API > below. Replacing wayland-server.h with wayland-server-core.h allows us to drop the WL_HIDE_DEPRECATED declaration. | |||
2019-04-23 | output: refactor frame submission API | Simon Ser | |
This is necessary for direct scan-out and other upcoming features. This patch changes the output API to look like the wl_surface API. Outputs now have some double-buffered state: the frame to be submitted (currently only wlr_renderer frames are supported) and the damaged region. To attach a pending frame, use wlr_output_attach_render. To set the pending damaged region, use wlr_output_set_damage. To submit the pending state, call wlr_output_commit. This will submit the pending frame to the backend. To migrate from the old API to the new one: - Replace wlr_output_make_current calls by wlr_output_attach_render - Replace wlr_output_swap_buffers calls by wlr_output_set_damage and wlr_output_commit | |||
2018-09-03 | Handle setting keymap in examples more securely | random human | |
2018-08-16 | Fix build on FreeBSD | emersion | |
2018-07-09 | util: add wlr_ prefix to log symbols | emersion | |
2018-05-30 | Fix double-free in the rotation.c example. | Tobias Blass | |
The wl_display_destroy function already destroys the backend's renderer. Freeing it by hand causes a segmentation fault. | |||
2018-05-25 | backends: implement custom EGL and renderer initialization | Ilia Bozhinov | |
Compositors now have more control over how the backend creates its renderer. Currently all backends create an EGL/GLES2 renderer, so the necessary attributes for creating the context are passed to a user-provided callback function. It is responsible for initializing provided wlr_egl and to return a renderer. On fail, return 0. Fixes #987 | |||
2018-05-10 | Fixed emersion's issues | Timidger | |
2018-05-10 | Fixed style issues | Timidger | |
2018-05-10 | Remvoed unnecessary wayland socket in examples | Timidger | |
2018-05-10 | Made rotation example standalone | Timidger | |
2018-05-10 | Moved cat out of support, removed support | Timidger | |
2018-04-01 | examples: get wlr_renderer from the backend | emersion | |
2018-03-31 | Untie wlr_backend from wlr_renderer | emersion | |
2018-03-24 | Redesign wlr_texture | emersion | |
- Textures are now immutable (apart from those created from raw pixels), no more invalid textures - Move all wl_drm stuff in wlr_renderer - Most of wlr_texture fields are now private - Remove some duplicated DMA-BUF code in the DRM backend - Add more assertions - Stride is now always given as bytes rather than pixels - Drop wl_shm functions Fun fact: this patch has been written 10,000 meters up in the air. | |||
2018-03-21 | render/gles2: make wlr_renderer_begin take viewport size | emersion | |
This allows raw GL calls outside wlr_renderer to be removed. | |||
2018-03-19 | render: split render.h into wlr_renderer.h and wlr_texture.h | emersion | |
2018-03-15 | renderer: replace wlr_texture_get_matrix by wlr_render_texture | emersion | |
2018-03-15 | matrix: use 2D matrices | emersion | |
2018-03-15 | matrix: unify API, don't use array pointers | emersion | |
2018-03-15 | matrix: move to types/ | emersion | |
2018-02-25 | Add alpha to wlr_render_with_matrix | Guido Günther | |
so we can use the alpha channel to e.g. blend in textures | |||
2018-02-03 | render: make wlr_renderer_clear take a float[4] for the color | emersion | |
2018-01-22 | render: add wlr_renderer_clear and wlr_renderer_scissor | emersion | |
2018-01-21 | Merge remote-tracking branch 'upstream/master' into output-damage | emersion | |
2018-01-21 | style: include brackets for if/while/for, even if it's a single statement | Johannes Schramm | |
2018-01-21 | output: add damage tracking via buffer age | emersion | |
2018-01-19 | output: fix software cursors damage tracking | emersion | |
2018-01-15 | Fixed logging for examples | Timidger | |
2017-12-12 | Update output layout when scale or transform changes | emersion | |
2017-11-01 | Move shared example code | Drew DeVault | |
2017-09-25 | Merge branch 'master' into rootston | Drew DeVault | |
2017-09-24 | Move keyboard logic to wlr_{keyboard,seat} | Drew DeVault | |
2017-09-22 | wlr-seat-keyboard: basic events | Tony Crisci | |
2017-08-26 | refactor example config and add ini.c | Tony Crisci | |
2017-08-19 | examples: separate compositor_fini from run | Dominique Martinet | |
compositor_fini destroys the display, but it is an error to destroy it before e.g. wlr_seat that references it. This lets us order destroy calls properly, following first-in-last-out logic. | |||
2017-08-19 | wlr renderer/texture: rename init to create when it does alloc | Dominique Martinet | |
2017-08-18 | Refactor example output config | Tony Crisci | |
Put all the config parsing into shared.h so it is shared among the examples. | |||
2017-08-17 | Fix wlr_seat; add to example compositor | nyorain | |
2017-08-15 | Prevent alloc errors from crashing | Calvin Lee | |
Resolves #76 | |||
2017-08-10 | Refactor EGL handling | Drew DeVault | |
2017-08-10 | Fix example for updated gles | nyorain | |
2017-08-10 | Implement drm (egl) buffer attaching | nyorain | |
2017-08-08 | Rename wlr_surface -> wlr_texture; attach -> upload | nyorain | |
2017-08-06 | Changed header paths. | Scott Anderson | |