144 Commits (3048fb3fc62ab771550654f4191f92f87b9065b2)

Author SHA1 Message Date
Simon Ser 73ffab70b0 backend/drm: don't blit in drm_fb_import
4 years ago
Simon Ser 4af85f4c19 backend/drm: simplify drm_fb_lock_surface
4 years ago
Simon Ser 9e98f497af backend/drm: use local DRM FD for wlr_rend
4 years ago
Simon Ser afdf4dc890 render/gles2: make EGL context current in bind_buffer
4 years ago
Simon Zeni 08a4c62aac render: remove egl include from wlr_renderer
4 years ago
Simon Zeni e128e6c08d render: drop egl parameters from wlr_renderer_autocreate
4 years ago
Simon Ser 3f7e0cf5f0 render/egl: remove surface and buffer age args from make_current
4 years ago
Simon Ser d9bbc416a6 backend/drm: re-use FBs
4 years ago
Simon Ser 91cb0fc443 backend/drm: only keep track of local buffer
4 years ago
Simon Ser 5bd86b94f9 backend/drm: add wlr_drm_buf.local_wlr_buf
4 years ago
Simon Ser cd64610c66 backend/drm: introduce drm_fb_create
4 years ago
Simon Ser 5b1b43c68c backend/drm: make wlr_drm_plane.{pending,queued,current}_fb pointers
4 years ago
Simon Zeni 9192c0480a remove unnecessary egl includes
4 years ago
Simon Zeni b899a412e3 backend: remove wlr_egl from all backends
4 years ago
Simon Ser 07d75c99db render: remove EGL config and visual from wlr_renderer_autocreate
4 years ago
Simon Ser 4b03bdc3ab Remove wlr_create_renderer_func_t
4 years ago
Simon Ser bec1e6b149 backend/drm: remove special linear case for cursor plane
4 years ago
Simon Ser 92a0fc0435 backend/drm: extract linear format creation into function
4 years ago
Simon Ser ad4dae0844 backend/drm: error on size mismatch in drm_surface_blit
4 years ago
Simon Ser d3bcd63a40 backend/drm: remove drm_fb_acquire
4 years ago
Simon Ser 5ee8b12dc3 backend/drm: make drm_fb_acquire return a FB ID
4 years ago
Simon Ser d09abe86c1 backend/drm: drop export_drm_bo
4 years ago
Simon Ser 83925f04c3 backend/drm: don't save texture in gbm_bo user data
4 years ago
Simon Ser 1e2c7fce86 backend/drm: use wlr_drm_format_{create,add}
4 years ago
Simon Ser 1ca4d6b029
backend/drm: dup FD before wlr_gbm_allocator_create
4 years ago
Simon Ser 93cd3a79b2 backend/drm: stop using GBM flags
4 years ago
Simon Ser 6ff478632a backend/drm: remove EGL config
4 years ago
Simon Ser 06ab41a160
backend/drm: fix missing wlr_drm_format.cap
4 years ago
Simon Ser e69bbfd0d6 backend/drm: unset current surface before importing
4 years ago
Simon Ser 325cba6414
backend/drm: use EGL_PLATFORM_GBM_KHR
4 years ago
Simon Ser 0e927533b0 backend/drm: query render formats
4 years ago
Simon Ser 237c2cf2fb backend/drm: take a wlr_drm_format in init_drm_surface
4 years ago
Simon Ser c881008e1c backend/drm: add support for wlr_swapchain multi-GPU
4 years ago
Simon Ser 8058e338ea backend/drm: get rid of wlr_drm_fb_type
4 years ago
Simon Ser 68a8d99055 backend/drm: add support for wlr_swapchain buffer age
4 years ago
Simon Ser ef846a8839 backend/drm: use wlr_swapchain
4 years ago
Simon Ser cccca368c5
backend/drm: fix typo in drm_surface_make_current arg
4 years ago
Andri Yngvason a6a5a19356 backend: drm: Fix dmabuf resource leak
5 years ago
Simon Ser af2f69e6c1 render/egl: unset current context after swapping buffers
5 years ago
Simon Ser d28a7da95d backend/drm: add missing wlr_egl_unset_current
5 years ago
Simon Ser cfed5766b7 backend/drm: fix current EGL context on multi-GPU
5 years ago
Simon Ser 98d949718c backend/drm: strip alpha channel if necessary
5 years ago
Scott Anderson 8da9d9679e backend/drm: introduce wlr_drm_fb
5 years ago
Simon Ser 9acca4fc73 backend: set EGL_RENDERABLE_TYPE and EGL_SURFACE_TYPE
5 years ago
Simon Ser 515679e4fe Refactor EGL/GL API loading
5 years ago
Simon Ser 6ca82087b1 backend/drm: fix segfault in init_drm_surface
5 years ago
Simon Ser e97c2c3639 backend/drm: retry without modifiers for the primary plane
5 years ago
Simon Ser 2bdd1d0896 backend/drm: use modifiers for our GBM buffers
5 years ago
Ivan Molodetskikh 5f78ea20fa drm: use IMPORT_FD for INVALID modifier
5 years ago
emersion 96d6fde5dc backend/drm: add basic support for direct scan-out
6 years ago
Alyssa Ross 95b22619e0 Fix missing headers when building without X11
6 years ago
Vincent Vanlaer bc048b22fb Copy cursor surface to secondary gpu if necessary
6 years ago
emersion 75371d2c88
Require libdrm >= 2.4.95
6 years ago
emersion ee293fab58
backend/drm: fix GBM format mismatch
6 years ago
emersion b5125ff328
backend/drm: specify minimum config attributes
6 years ago
Scott Anderson 1a2b3445dc Remove unused data from gbm_bo userdata
6 years ago
Mariusz Bialonczyk e547e55be0 multi-gpu: do not flip screens on secondary GPU
6 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
emersion 21928cbe61
Merge branch 'master' into screencontent
7 years ago
emersion 28020ff577
Only allow one modifier per DMA-BUF, split attributes struct in render/
7 years ago
emersion bd430b8620
backend/drm: support multi-planar DMA-BUFs when exporting
7 years ago
emersion 9e26808c28
output, backend/drm: add wlr_output_export_dmabuf
7 years ago
Ilia Bozhinov 24cf70ae96 backends: implement custom EGL and renderer initialization
7 years ago
emersion 71ca45e2c0
Make sure we don't use others' prefixes
7 years ago
emersion b0d99f5c67
Remove wlr_ prefix from local symbols
7 years ago
emersion 018b82c01e
render/egl: allow passing NULL to surface and image destructors
7 years ago
emersion eaed6bd03b
render/egl: add wlr_egl_destroy_surface
7 years ago
emersion 33a2eb4b77
Untie wlr_backend from wlr_renderer
7 years ago
emersion 3bda7e2ef8
Use DRM_FORMAT_MOD_LINEAR instead of a hardcoded constant
7 years ago
emersion c63d94483b
Redesign wlr_texture
7 years ago
emersion a854c2f246
Merge branch 'master' into gles2-renderer-redesign
7 years ago
emersion b1f93bc5cc
render/egl: use EGL_KHR_debug
7 years ago
emersion 3581573bdc
render/gles2: make wlr_renderer_begin take viewport size
7 years ago
emersion c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
emersion 6227da96b1
backend/drm: don't hardcode matrix
7 years ago
emersion 824a95ad19
matrix: use 2D matrices
7 years ago
emersion d26b67cb06
matrix: unify API, don't use array pointers
7 years ago
emersion b6a3f240c7
matrix: move to types/
7 years ago
Guido Günther d08792bfff Add alpha to wlr_render_with_matrix
7 years ago
emersion c2e1474010
Reformat all #include directives
7 years ago
emersion bf6d245400
Swap buffers with damage
7 years ago
emersion 3d3ea32137
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
Markus Ongyerth cde0f454b3 Clean up the gbm/egl as well
7 years ago
Markus Ongyerth 2cdb646531 relases gbm buffers on init
7 years ago
emersion 0365b587f0
output: add damage tracking via buffer age
7 years ago
emersion b99d1f4fcc
Refactor wlr_egl_init to accept config_attribs
7 years ago
emersion 18eb1eee3f
Listen to display destroy in xwayland, rename wlr_egl_free
7 years ago
Scott Anderson bc113c16aa Use correct include path for glapi.h
7 years ago
Scott Anderson 9b984253e2 Move egl.h to render/egl.h
7 years ago
Scott Anderson c0e5feea37 Add GL/EGL extension loader generator
7 years ago
Scott Anderson f6f9c40965 Minor fixes
7 years ago
Scott Anderson 009c3747a8 Multi-GPU DRM
7 years ago
Scott Anderson eaef028976 Add renderer pointer inside drm_surface
7 years ago
Scott Anderson 096249a2a1 Split DRM rendering to its own file
7 years ago