Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-28 | render/texture: add width and height fields | Simon Ser | |
Instead of requiring compositors to call wlr_texture_get_size each time they want to access the texture's size, expose this information as wlr_texture fields. | |||
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-24 | render: unconditionally disable implicit X11 includes | Simon Ser | |
Even if the X11 backend or Xwayland is enabled, we don't rely on EGL/egl.h including Xlib headers. | |||
2019-10-16 | Add new define EGL_NO_X11 for newer mesa library | Danilo Spinella | |
Define both MESA_EGL_NO_X11_HEADERS and EGL_NO_X11 for backward combatibility. | |||
2019-04-01 | render: switch wlr_renderer to wlr_drm_format_set | emersion | |
2018-12-22 | Protect against redefining MESA_EGL_NO_X11_HEADERS | Jente Hidskes | |
2018-11-12 | Use #if instead of #ifdef for wlroots config data | emersion | |
This prevents some annoying issues when e.g. not including wlr/config.h or making a typo in the guard name. | |||
2018-11-09 | Tell Mesa not to attempt X11 headers | Cedric Sodhi | |
If no X11 related things are being built, tell Mesa's eglplatform.h not to attempt inclusion of associated X11 header. | |||
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-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-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-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-21 | render: bind wl_drm in renderer | emersion | |
2018-04-26 | Destroy wlr_surface with wlr_renderer | 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 | 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-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-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-10-01 | Multi-GPU DRM | Scott Anderson | |
2017-09-23 | Use more consistent include guard names | emersion | |
2017-08-19 | wlr renderer/texture: rename init to create when it does alloc | Dominique Martinet | |
2017-08-15 | implement texture get buffer size | Tony Crisci | |
2017-08-14 | Refactor away wlr_renderer_state | Drew DeVault | |
2017-08-14 | Refactor out wlr_texture_state | Drew DeVault | |
2017-08-10 | Refactor EGL handling | Drew DeVault | |
2017-08-10 | Implement drm (egl) buffer attaching | nyorain | |
2017-08-09 | Implement partial texture uploads | Drew DeVault | |
2017-08-08 | Rename wlr_surface -> wlr_texture; attach -> upload | nyorain | |
2017-06-29 | Merge branch 'wlcore' | Drew DeVault | |