Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-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-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 | Install headers explicitly | Scott Anderson | |
2018-07-29 | Initial pass on API stability guarantees | Drew DeVault | |
This introduces -DWLR_USE_UNSTABLE and adds information regarding the stability status to all headers. I started with a conservative set of headers to mark as stable: - types/wlr_matrix.h - util/edges.h - util/log.h - util/region.h - xcursor.h | |||
2018-07-12 | render: add wlr_texture_is_opaque | emersion | |
2018-06-30 | screencopy: add support for frame flags | emersion | |
2018-06-17 | Merge branch 'master' into screencontent | emersion | |
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 | 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-05-31 | Merge branch 'master' into screencontent | emersion | |
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-21 | render: bind wl_drm in renderer | emersion | |
2018-04-26 | Destroy wlr_surface with wlr_renderer | 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-04-20 | Add wlr_renderer_init_wl_shm to advertize supported renderer formats | emersion | |
2018-04-08 | backend: remove wlr_backend_get_egl | emersion | |
2018-04-01 | Untie wlr_gles2_renderer and wlr_gles2_texture | emersion | |
2018-03-31 | render/egl: add wlr_egl_create_image_from_wl_drm | emersion | |
This allows external renderers and potential future GL-based renderers to re-use this function. | |||
2018-03-31 | Untie wlr_backend from wlr_renderer | emersion | |
2018-03-28 | Merge pull request #744 from emersion/texture-redesign | Tony Crisci | |
Redesign wlr_texture | |||
2018-03-27 | Fix issue starting up client EGL on X11 backend | Drew DeVault | |
2018-03-27 | render: remove GL calls from wlr_egl | emersion | |
2018-03-26 | Merge branch 'master' into texture-redesign | emersion | |
2018-03-26 | render: add simple functions to render rectangles and ellipses | 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-20 | render/gles2: remove global state, use OpenGL debug extension | emersion | |
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 | Merge branch 'master' into matrix-redesign | emersion | |
2018-03-15 | matrix: use 2D matrices | emersion | |
2018-03-15 | Add initial linux_dmabuf protocol support | Guido Günther | |
Tested with ./weston-simple-dmabuf-drm ./weston-simple-dmabuf-drm --import-immediate=1 ./weston-simple-dmabuf-drm --y-inverted=1 (and combinations) Supports only single plane XRGB dmabufs for now. | |||
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 |