Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-04 | render/gles2: check for GL_OES_EGL_image_external | emersion | |
2018-11-04 | render/gles2: remove assumptions about supported formats | emersion | |
We were assuming GL_BGRA_EXT was always supported. We now check that it's supported for rendering. We fail if it isn't because this format is specified as "always supported" by the Wayland protocol. We also check if it's supported for reading pixels. A new preferred_read_format function returns the preferred format that can be used to read pixels. This is used by the screencopy protocol. | |||
2018-10-28 | render: on Wayland, make eglSwapBuffers non-blocking | emersion | |
2018-10-16 | Use enum wl_shm_format for gles2 texture formats | nyorain | |
Also rephrase the write_pixels comment. | |||
2018-10-15 | Remove fmt parameter from wlr_texture_write_pixels | nyorain | |
It's not allowed to change the format of a texture so remove the confusing parameter. | |||
2018-10-15 | render: fix meson including libdrm | Cole Mickens | |
2018-10-15 | Fix libdrm includes | Scott Anderson | |
This removes any assumptions about how the libdrm headers are installed, and uses the pkg-config include directories as we're "supposed to". This only adds a partial dependency, since we don't actually need to link against libdrm. | |||
2018-10-14 | Merge pull request #1309 from swaywm/fix-headless-libinput | emersion | |
Fix headless backend | |||
2018-10-13 | Fix include path for (libdrm/)drm_fourcc.h | Cole Mickens | |
This PR broke a private nixpkgs definition I have for wlroots: https://github.com/swaywm/wlroots/pull/1304 It is fixed by changing `#include <drm_fourcc.h>` to `#include <libdrm/drm_fourcc.h>`, which follows what is already done in the dmabuf example. | |||
2018-10-13 | Fix headless backend | Drew DeVault | |
It was only working if you ran it underneath an already-working Wayland compositor. Running with the headless backend on the API would break. | |||
2018-10-12 | Support older wlr_linux_dmabuf_v1 clients | nyorain | |
If a client uses an older version of the dmabuf protocol, use the `formats` event instead of `modifiers` (since that didn't exist in older versions). With a bit of necessary guessing, support dmabuf importing even when EGL_EXT_image_dma_buf_import_modifiers isn't present instead of failing up front. | |||
2018-09-02 | Init dmabuf global in renderer | emersion | |
2018-08-24 | Change how glgen.sh outputs files | Scott Anderson | |
This fixes building wlroots as a subproject. | |||
2018-08-24 | Revert "Revert "Merge pull request #1194 from ascent12/meson_feature"" | Scott Anderson | |
This reverts commit 9c886f20b97b6ab1ac85b849f1fe7f16eb199ff0. | |||
2018-08-23 | Revert "Merge pull request #1194 from ascent12/meson_feature" | Drew DeVault | |
This breaks wlroots when used as a meson subproject. This reverts commit dea311992eb4ff3e343c3cf5b0603034223d2a42, reversing changes made to 6db9c4b74667c1d917d720f5e96985a2461569fb. | |||
2018-08-22 | Make style more consistent | Scott Anderson | |
2018-08-03 | gles2: change context when it is not current | Mariusz Bialonczyk | |
Texture functions, that create and manipulate textures should switch the current context if necessary. thanks to: @emersion Fixes #934 | |||
2018-07-13 | Revert "Move side-effect out of assert statement" | Drew DeVault | |
This reverts commit a0afedcd8fbeb2013252e629d524aa83cdd9326e. | |||
2018-07-13 | Move side-effect out of assert statement | Drew DeVault | |
2018-07-12 | render: add wlr_texture_is_opaque | emersion | |
2018-07-09 | util: add wlr_ prefix to log symbols | emersion | |
2018-06-30 | render/gles2: ditch extra parens | emersion | |
2018-06-30 | screencopy: add capture_output_region support | emersion | |
2018-06-30 | screencopy: add support for frame flags | emersion | |
2018-06-30 | wlr_renderer_destroy: fix renderer NULL check | Dominique Martinet | |
renderer is checked for NULL, but was dereferenced before that. Found through static analysis | |||
2018-06-17 | Merge branch 'master' into screencontent | emersion | |
2018-06-13 | Merge pull request #1047 from NotKit/gles2fix | emersion | |
Fix GLES2 renderer to use glGetUniformLocations locations | |||
2018-06-13 | gles2 renderer: introduce struct wlr_gles2_tex_shader | NeKit | |
2018-06-09 | Rename egl.exts to match the extension names | Vincent Vanlaer | |
2018-06-09 | Split eglSwapBuffersWithDamage feature detection | Vincent Vanlaer | |
Detecting whether eglSwapBuffersWithDamageEXT or eglSwapBuffersWithDamageKHR is used should be based on the extension string, not only on the availability of the function. | |||
2018-06-08 | Fix atti assert in wlr_egl_init | Brian Ashworth | |
2018-06-08 | render/egl: only request high priority context on DRM | emersion | |
2018-06-08 | render/egl: consistent extension checking | emersion | |
2018-06-08 | Request a high priority EGL context | emersion | |
2018-06-07 | Fix GLES2 renderer to use glGetUniformLocations locations | NeKit | |
This is needed as uniform locations are driver implementation-specific. | |||
2018-05-31 | Merge pull request #1020 from emersion/remove-check-dmabuf | emersion | |
render: remove wlr_renderer_check_import_dmabuf | |||
2018-05-31 | Merge branch 'master' into screencontent | emersion | |
2018-05-30 | cleanup: Use void for zero-parameter functions | Genki Sky | |
Signed-off-by: Genki Sky <sky@genki.is> | |||
2018-05-30 | render: remove wlr_renderer_check_import_dmabuf | emersion | |
It's possible to implement it outside the renderer, by creating a texture and destroying it right away. This reduces the API surface of the renderer. | |||
2018-05-30 | Only allow one modifier per DMA-BUF, split attributes struct in render/ | emersion | |
2018-05-29 | render: add wlr_texture_to_dmabuf | emersion | |
2018-05-25 | Merge pull request #993 from emersion/bind-wl-drm-in-renderer | emersion | |
render: bind wl_drm in renderer | |||
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-23 | fix server exit: eglMakeCurrent Invalid display | agr | |
2018-05-21 | render: bind wl_drm in renderer | emersion | |
2018-05-18 | gles2: pre-multiply alpha and fix blending function | Ilia Bozhinov | |
2018-05-15 | Fix alpha for src_rgba and src_rgbx | Brian Ashworth | |
2018-05-13 | fix check of EGL_WL_bind_wayland_display presence | Alain Greppin | |
2018-04-26 | Log required extension name if unavailable | emersion | |
2018-04-26 | Merge pull request #902 from emersion/various-memory-leaks | Drew DeVault | |
Various memory leaks |