Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-24 | output: add wlr_output_preferred_read_format() | Ilia Bozhinov | |
The read format is dependent on the output, so we first need to make it current. This fixes a race condition in wlr-screencopy-v1 where a dmabuf client would cause EGL_NO_SURFACE to be bound at the time when screencopy needs to query for the preferred format, causing GL errors. | |||
2018-11-10 | render: correctly set EGL_RENDERABLE_TYPE | emersion | |
This should be set to EGL_OPENGL_ES2_BIT. Also fixes EGL config attributes in the headless and X11 backends. | |||
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-09-02 | Init dmabuf global in renderer | emersion | |
2018-07-09 | util: add wlr_ prefix to log symbols | 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-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-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-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-20 | Add wlr_renderer_init_wl_shm to advertize supported renderer formats | emersion | |
2018-04-08 | backend: remove wlr_backend_get_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-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 | matrix: use 2D matrices | emersion | |
2018-03-15 | matrix: unify API, don't use array pointers | 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-19 | Revert "ELF Visibility" | Drew DeVault | |
2018-02-19 | Explicitly export EFL symbols | Scott Anderson | |
2018-02-12 | Reformat all #include directives | emersion | |
2018-02-03 | render: make wlr_renderer_clear take a float[4] for the color | emersion | |
2018-01-29 | Merge remote-tracking branch 'upstream/master' into output-damage | emersion | |
2018-01-23 | Backport screenshooter fixes from the renderer redesign v1 | emersion | |
This backports some changes to #319 to fix the screenshooter data format. This also adds wlr_backend_get_renderer which will be useful to support multiple renderers. | |||
2018-01-22 | render: add wlr_renderer_clear and wlr_renderer_scissor | emersion | |
2017-10-08 | Move read_pixels from output to renderer | emersion | |
2017-08-19 | wlr renderer/texture: rename init to create when it does alloc | Dominique Martinet | |
2017-08-14 | impl->destroy cleanup: | Dominique Martinet | |
- remove trivial destroy() function - make sure we check impl and impl->destroy before calling - always call free if not implemented | |||
2017-08-14 | Fix software cursors | Drew DeVault | |
2017-08-14 | Refactor away wlr_renderer_state | Drew DeVault | |
2017-08-10 | Refactor EGL handling | Drew DeVault | |
2017-08-08 | Rename wlr_surface -> wlr_texture; attach -> upload | nyorain | |
2017-06-23 | Add wlcore/wl_shm (WIP) | Drew DeVault | |
2017-06-15 | Add colored quad and ellipse rendering primitives | Drew DeVault | |
2017-06-08 | Further improvements to rendering subsystem | Drew DeVault | |