Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-01-29 | Require libdrm >= 2.4.95 | emersion | |
2019-01-29 | backend/drm: fix GBM format mismatch | emersion | |
We create the EGL config with GBM_FORMAT_ARGB8888, but then initialize GBM BOs with GBM_FORMAT_XRGB8888. This mismatch confuses Mesa. Instead, we can always use GBM_FORMAT_ARGB8888, and use DRM_FORMAT_XRGB8888 when calling drmModeAddFB2. Fixes https://github.com/swaywm/wlroots/issues/1438 | |||
2018-11-04 | backend/drm: specify minimum config attributes | emersion | |
Since the format used by DRM is GBM_FORMAT_ARGB8888, we need at least a R, G, B and A channel. | |||
2018-08-04 | Remove unused data from gbm_bo userdata | Scott Anderson | |
These aren't used anymore and crashes when the gbm_bo tries to get destroyed (e.g. on hotplug). | |||
2018-08-03 | multi-gpu: do not flip screens on secondary GPU | Mariusz Bialonczyk | |
All screens on secondary GPU in multiple GPU configurations was flipped 180. The flipped screens was always on secondary card (the primary card was always correct). Tested on nouveau with: WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card2 WLR_DRM_DEVICES=/dev/dri/card2:/dev/dri/card1 The commit is fixing this problem. Now all screens are "normal". | |||
2018-07-09 | util: add wlr_ prefix to log symbols | emersion | |
2018-05-31 | Merge branch 'master' into screencontent | emersion | |
2018-05-30 | Only allow one modifier per DMA-BUF, split attributes struct in render/ | emersion | |
2018-05-29 | backend/drm: support multi-planar DMA-BUFs when exporting | emersion | |
2018-05-29 | output, backend/drm: add wlr_output_export_dmabuf | emersion | |
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-04-25 | Make sure we don't use others' prefixes | emersion | |
2018-04-25 | Remove wlr_ prefix from local symbols | emersion | |
2018-04-25 | render/egl: allow passing NULL to surface and image destructors | emersion | |
2018-04-24 | render/egl: add wlr_egl_destroy_surface | emersion | |
2018-03-31 | Untie wlr_backend from wlr_renderer | emersion | |
2018-03-26 | Use DRM_FORMAT_MOD_LINEAR instead of a hardcoded constant | 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-23 | Merge branch 'master' into gles2-renderer-redesign | emersion | |
2018-03-21 | render/egl: use EGL_KHR_debug | emersion | |
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-18 | backend/drm: don't hardcode matrix | 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-12 | Reformat all #include directives | emersion | |
2018-02-09 | Swap buffers with damage | emersion | |
2018-02-03 | Merge remote-tracking branch 'upstream/master' into output-damage | emersion | |
2018-01-29 | Clean up the gbm/egl as well | Markus Ongyerth | |
2018-01-29 | relases gbm buffers on init | Markus Ongyerth | |
The wlr_drm_surface_init function is called (upon others) when the drm mode is changed. When the surface was used previously this replaced the gbm_surface, but did not replace the gbm buffers (front/back). With this, wlr_drm_surface_get_from never set up the new buffers with the new glViewport because surf->front existed. This frees the buffers to get new buffers on the new surface with the new viewport. | |||
2018-01-21 | output: add damage tracking via buffer age | emersion | |
2017-12-17 | Refactor wlr_egl_init to accept config_attribs | emersion | |
2017-12-08 | Listen to display destroy in xwayland, rename wlr_egl_free | emersion | |
2017-11-30 | Use correct include path for glapi.h | Scott Anderson | |
2017-10-22 | Move egl.h to render/egl.h | Scott Anderson | |
2017-10-08 | Add GL/EGL extension loader generator | Scott Anderson | |
2017-10-01 | Minor fixes | Scott Anderson | |
2017-10-01 | Multi-GPU DRM | Scott Anderson | |
2017-10-01 | Add renderer pointer inside drm_surface | Scott Anderson | |
2017-09-30 | Split DRM rendering to its own file | Scott Anderson | |