Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-11-30 | render: introduce wlr_renderer_get_dmabuf_render_formats | Simon Ser | |
It describes which DMA-BUF formats can be used to render. | |||
2020-11-30 | render: remove wlr_renderer_format_supported | Simon Ser | |
Instead, callers can just use wlr_renderer_get_formats and iterate over the list. This function was unused in wlroots. | |||
2020-11-15 | render: introduce wlr_renderer_get_drm_fd | Simon Ser | |
2020-11-15 | render/gles2: fix y-inverted output when rendering to buffer | Simon Ser | |
2020-11-15 | render/gles2: implement wlr_renderer_bind_buffer | Simon Ser | |
2020-07-28 | render/gles2: remove gles2_procs | Simon Ser | |
Move the global into wlr_gles2_renderer. This removes global state and allows us to have multiple renderers with different GL loaders. | |||
2020-07-28 | render/gles2: make push/pop debug functions take a wlr_renderer | Simon Ser | |
2020-07-28 | render/gles2: make wlr_gles2_texture_from_* private | Simon Ser | |
These functions are unused by compositors (see e.g. [1]) and prevent wlr_gles2_texture from accessing wlr_gles2_renderer state. This is an issue for proper teardown [2] and for accessing GLES2 extensions. [1]: https://github.com/swaywm/wlroots/pull/1962#issuecomment-569511830 [2]: https://github.com/swaywm/wlroots/pull/1962 | |||
2020-07-01 | render: gles2: Fix y-inversion in gles2_blit_dmabuf() | Andri Yngvason | |
2020-06-24 | render/gles2: use glGetAttribLocation instead of hardcoded indices | Simon Zeni | |
2020-06-17 | render: add wlr_render_subtexture_with_matrix | Simon Ser | |
This renders only a subset of the texture, instead of the full texture. | |||
2020-06-08 | render: Fix blit_dmabuf() breakage due to API change | Andri Yngvason | |
2020-06-08 | render: Add wlr_renderer_blit_dmabuf() | Andri Yngvason | |
2020-06-02 | render: stop making EGL context current in wlr_egl_init | Simon Ser | |
This leaves an EGL context current behind. wlr_gles2_renderer_create was assuming the EGL context was already current because of this (because it called a GL function right off the bat). | |||
2020-05-19 | render/egl: introduce wlr_egl_unset_current | Simon Ser | |
This function can be called after wlr_egl_make_current to cleanup the EGL context. This avoids having lingering EGL contexts that make things work by chance. Closes: https://github.com/swaywm/wlroots/issues/2197 | |||
2020-04-22 | render/gles2: add wlr_gles2_renderer_check_ext | Simon Ser | |
2020-04-09 | render: only expose linux-dmabuf if EGL extension is supported | Simon Ser | |
Only expose linux-dmabuf extension if EGL_EXT_image_dmabuf_import_ext is supported. Closes: https://github.com/swaywm/wlroots/issues/2076 | |||
2020-04-09 | render/gles2: only call wlr_egl_bind_display if supported | Simon Ser | |
This allows us to hard-fail if the extension is advertised but we fail to enable it. | |||
2020-03-23 | Return failure of wlr_renderer_init_wl_display() | Isaac Freund | |
This makes it easier for the user of this library to properly handle failure of this function. The signature of wlr_renderer_impl.init_wl_display was also modified to allow for proper error propagation. | |||
2020-01-13 | render/gles2: unbind textures after use | Simon Ser | |
Keeping textures bound results in hard-to-debug situations where some GL operations incorrectly affect the texture. | |||
2019-12-20 | Refactor EGL/GL API loading | Simon Ser | |
Remove glapi.sh code generation, replace it with hand-written loading code that checks extension strings before calling eglGetProcAddress. The GLES2 renderer still uses global state because of: - {PUSH,POP}_GLES2_DEBUG macros - wlr_gles2_texture_from_* taking a wlr_egl instead of the renderer | |||
2019-11-26 | render/gles2: do not set GL_TEXTURE_MAG_FILTER | Ronan Pigott | |
2019-11-11 | Introduce wlr_renderer_get_egl | Drew DeVault | |
2019-11-06 | render/gles: Simplify textures a bit | Scott Anderson | |
We don't need our own enum for types. Instead we just use GL_TEXTURE_{2D,EXTERNAL_OES}, which already describes usage. Also fixes a situation where we were using GL_TEXTURE_2D in a situation we should not have. wl_drm buffers are always GL_TEXTURE_EXTERNAL_OES, no matter if they're RGB or any other format. | |||
2019-08-31 | render/gles2: fix calculation for partial gles2 pixel read (#1809) | Filip Sandborg | |
2019-05-07 | render/gles2: print GL_RENDERER | Simon Ser | |
This is often the name of the GPU and can help debugging graphics issues. | |||
2019-04-01 | render: switch wlr_renderer to wlr_drm_format_set | emersion | |
2019-03-01 | meson: enable more compiler warnings | emersion | |
2018-12-21 | Standardize the wlr_box input paramaters | Timidger | |
Fixes #1094 | |||
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-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-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-13 | gles2 renderer: introduce struct wlr_gles2_tex_shader | NeKit | |
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-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-21 | render: bind wl_drm in renderer | emersion | |
2018-05-18 | gles2: pre-multiply alpha and fix blending function | Ilia Bozhinov | |
2018-04-25 | Make sure we don't use others' prefixes | emersion | |
2018-04-12 | Make wlr_renderer_scissor take normal coords instead of upside-down ones | emersion | |
2018-04-08 | backend: remove wlr_backend_get_egl | emersion | |
2018-04-01 | Untie wlr_gles2_renderer and wlr_gles2_texture | emersion | |