Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-30 | cleanup: Use void for zero-parameter functions | Genki Sky | |
Signed-off-by: Genki Sky <sky@genki.is> | |||
2018-05-30 | Only allow one modifier per DMA-BUF, split attributes struct in render/ | 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 | |||
2018-04-26 | Destroy wlr_surface with wlr_renderer | emersion | |
2018-04-25 | Make sure we don't use others' prefixes | 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-21 | Do not advertize *RGB8888 as supported shm formats | Rostislav Pehlivanov | |
They're always available and supported, and are added automatically. Adding them again just duplicates them. | |||
2018-04-21 | Merge pull request #880 from emersion/advertize-renderer-formats | Drew DeVault | |
Advertize supported renderer formats | |||
2018-04-21 | Remove a few local prefixed symbols | emersion | |
2018-04-20 | Add wlr_renderer_init_wl_shm to advertize supported renderer formats | 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-04 | egl: silence dmabuf error when extension is not present | Guido Günther | |
This makes it match 4bf936360d42fb5b96a44fd17028ae66fc462362. | |||
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-31 | Downgrade gles2 messages to L_DEBUG | Drew DeVault | |
L_INFO is for stuff that's useful to the user | |||
2018-03-31 | Fix build error with -O2 | Orestis Floros | |
../render/gles2/renderer.c: In function ‘gles2_render_texture_with_matrix’: ../render/gles2/renderer.c:140:2: error: ‘target’ may be used uninitialized in this function [-Werror=maybe-uninitialized] glBindTexture(target, tex_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../render/gles2/renderer.c:145:2: error: ‘prog’ may be used uninitialized in this function [-Werror=maybe-uninitialized] glUseProgram(prog); | |||
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 | Implement layer surface damage | Drew DeVault | |
2018-03-27 | Arrange & render layer surfaces | 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 | linux-dmabuf: Support multi plane formats like NV12 | Guido Günther | |
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: use gles2_pixel_format::has_alpha for shader selection | emersion | |
2018-03-21 | render/gles2: move list of supported WL formats to pixel_format.c | 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-20 | gles2: Honor alpha in fragment_src_external | Guido Günther | |
By using the same vertex shader and adding alpha to the fragment shader for external textures we can: - use alpha blending - have wlr_gles2_render_texture_with_matrix work with the GL_TEXTURE_EXTERNAL_OES. So far this failed since we passed in alpha which was unknown by fragment_src_external | |||
2018-03-20 | gles2_texture_bind: use texture's target type | Guido Günther | |
Hardcoding GL_TEXTURE_2D leads to rendering errors when using GL_TEXTURE_EXTERNAL_OES textures. | |||
2018-03-20 | gles2: allow to specify texture target type | Guido Günther | |
Allow to set the texture target type when generating/binding the texture. This allows us to attach the texture type to the texture so we don't have to keep the logic elsewhere. | |||
2018-03-19 | render: split render.h into wlr_renderer.h and wlr_texture.h | emersion | |
2018-03-19 | render/gles2: transpose matrices before binding them | emersion | |
Setting glUniformMatrix3fv's transpose parameter to GL_TRUE is not allowed for OpenGL ES 2. This adds a wlr_matrix_transpose function. | |||
2018-03-17 | Merge pull request #722 from emersion/matrix-redesign | Drew DeVault | |
Matrix redesign | |||
2018-03-16 | egl: print supported dmabuf formats | Guido Günther | |
Useful for debugging dmabuf related problems e.g. when a client requests a certain and we fail to support it. | |||
2018-03-15 | render/gles2: remove matrix transposition in shaders | emersion | |