143 Commits (2926acf60d80961597fa55ab68c3d15d7bf1980d)

Author SHA1 Message Date
Simon Zeni 6becc69ec9 render/egl: fail to create wlr_egl on software renderer
4 years ago
Simon Ser 7c995b78b2 Revert "render: add wlr_egl_create_from_drm_fd function"
4 years ago
Simon Ser 54e5ef39c0 Revert "render/egl: remove unused gbm_device member"
4 years ago
Simon Zeni 306cf11d87 render/egl: remove unused gbm_device member
4 years ago
Simon Zeni ee31be167b render: add wlr_egl_create_from_drm_fd function
4 years ago
Simon Ser 32c30481d3
render/egl: fix gbm_device use-after-free
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 1d461687d2 render/egl: replace init/finish with create/destroy
4 years ago
Simon Ser 50b120927d render/egl: remove wlr_egl_swap_buffers
4 years ago
Simon Ser 76ed2255ef render/egl: remove support for EGL_NATIVE_VISUAL_ID
4 years ago
Ilia Bozhinov 12ede67c62 egl: fix memory leak
4 years ago
Simon Ser 037710b1d4 render/egl: support config-less wlr_egl
4 years ago
Simon Ser 83a5d03bf3 render/egl: remove wlr_egl.external_only_dmabuf_formats
4 years ago
Simon Ser 49115e9d5d render: rename wlr_renderer_get_dmabuf_formats
4 years ago
Simon Ser 5d008d9030 render: introduce wlr_renderer_get_dmabuf_render_formats
4 years ago
Simon Ser 44cea53e72 render/egl: don't rely on being able to open primary node
4 years ago
Ronan Pigott dc7c6c4860 render/egl: recognize EGL_BAD_DEVICE_EXT error
4 years ago
Simon Ser c8d95acc37 render/egl: introduce wlr_egl_dup_drm_fd
4 years ago
Andri Yngvason 6ef5d18757 render: egl: Use current display to restore NULL context
4 years ago
Simon Ser 58df3eda9f render/egl: print error name
5 years ago
Simon Ser 7f9bbaaa17 render/egl: explicit client extension handling
5 years ago
Andri Yngvason 11b598fe33 render: egl: Add utility functions for saving/restoring context
5 years ago
Simon Ser a3ba82885c render: choose DMA-BUF texture target via eglQueryDmaBufModifiersEXT
5 years ago
Simon Ser e91417ea8d render: stop making EGL context current in wlr_egl_init
5 years ago
Simon Ser af2f69e6c1 render/egl: unset current context after swapping buffers
5 years ago
Simon Ser 1edc42157b render/egl: introduce wlr_egl_unset_current
5 years ago
Simon Ser 6787ff521b render/egl: make config attribs const
5 years ago
Simon Ser 2b04857343 render/egl: remove SURFACELESS_MESA special case
5 years ago
Simon Ser 01818ad2c8 render: fix EGL extensions not loaded
5 years ago
Simon Ser 515679e4fe Refactor EGL/GL API loading
5 years ago
Simon Ser 51416738ea render/egl: prevent use-after-free when destroying current surface
5 years ago
Simon Ser 11bf87d678 render/egl: support formats with zero modifiers
5 years ago
Scott Anderson 06644575da render/egl: Change KHR_debug log to include error code
5 years ago
Simon Ser d6e250b389 render/egl: fix swapping with no damage
6 years ago
Simon Ser f42816ce3f render/egl: fix zero-length VLA
6 years ago
Alyssa Ross 95b22619e0 Fix missing headers when building without X11
6 years ago
emersion e42178d03f
render: switch wlr_renderer to wlr_drm_format_set
6 years ago
emersion 1b9ebcf645
output: make wlr_egl flip the damage
6 years ago
emersion b42fc4f2b1
render: on Wayland, make eglSwapBuffers non-blocking
6 years ago
Scott Anderson 7ca3bc1d6f Fix libdrm includes
6 years ago
emersion 7daca85bcf
Merge pull request #1309 from swaywm/fix-headless-libinput
6 years ago
Cole Mickens 43d0ebfdac
Fix include path for (libdrm/)drm_fourcc.h
6 years ago
Drew DeVault 63c69cee6e Fix headless backend
6 years ago
nyorain affbfb6a28 Support older wlr_linux_dmabuf_v1 clients
6 years ago
emersion 7cbef15206
util: add wlr_ prefix to log symbols
6 years ago
emersion 57548b557a
Merge branch 'master' into screencontent
7 years ago
Vincent Vanlaer f1a62a3200 Rename egl.exts to match the extension names
7 years ago
Vincent Vanlaer 5ec6d8230d Split eglSwapBuffersWithDamage feature detection
7 years ago
Brian Ashworth 18bbe2d897 Fix atti assert in wlr_egl_init
7 years ago
emersion 457bfcab19
render/egl: only request high priority context on DRM
7 years ago
emersion d425edc96c
render/egl: consistent extension checking
7 years ago
emersion cbfe0e834a
Request a high priority EGL context
7 years ago
emersion 21928cbe61
Merge branch 'master' into screencontent
7 years ago
emersion 135721118a
render: remove wlr_renderer_check_import_dmabuf
7 years ago
emersion 28020ff577
Only allow one modifier per DMA-BUF, split attributes struct in render/
7 years ago
emersion 5ba1a9af56
render: add wlr_texture_to_dmabuf
7 years ago
agr 4e89e0fc6c fix server exit: eglMakeCurrent Invalid display
7 years ago
Alain Greppin b2f8f00ae3 fix check of EGL_WL_bind_wayland_display presence
7 years ago
emersion 5a87712ca8
Log required extension name if unavailable
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 1588094b99
Remove a few local prefixed symbols
7 years ago
Guido Günther 6a05bd3886 egl: silence dmabuf error when extension is not present
7 years ago
emersion f3f61bed3e
Untie wlr_gles2_renderer and wlr_gles2_texture
7 years ago
emersion a7bb48b404
render/egl: add wlr_egl_create_image_from_wl_drm
7 years ago
Tony Crisci 330ee08126
Merge pull request #744 from emersion/texture-redesign
7 years ago
Drew DeVault 13edb19a6c Fix issue starting up client EGL on X11 backend
7 years ago
Drew DeVault f444a0d14c Implement layer surface damage
7 years ago
Drew DeVault 4bf936360d Arrange & render layer surfaces
7 years ago
emersion c42fd1018b
render: remove GL calls from wlr_egl
7 years ago
emersion c63d94483b
Redesign wlr_texture
7 years ago
Guido Günther b1852096c5 linux-dmabuf: Support multi plane formats like NV12
7 years ago
emersion b1f93bc5cc
render/egl: use EGL_KHR_debug
7 years ago
Guido Günther 7fd7dff26f egl: print supported dmabuf formats
7 years ago
Guido Günther 14cdb6153f Add initial linux_dmabuf protocol support
7 years ago
Guido Günther d9f2e90df6 Avoid false positives on egl extension matching
7 years ago
Guido Günther d928ddc36c wlr_egl_create_image: return NULL when function is missing
7 years ago
Drew DeVault 1d9be89e2d
Revert "ELF Visibility"
7 years ago
Scott Anderson 86269052eb Explicitly export EFL symbols
7 years ago
Guido Günther 4d496802dd Log GL and EGL vendor
7 years ago
emersion c2e1474010
Reformat all #include directives
7 years ago
emersion bf6d245400
Swap buffers with damage
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 517ba0bc16 Change egl_get_config to always use visual id
7 years ago
Tony Crisci 00f1686ce5 unset egl current before terminating display
7 years ago
Drew DeVault 9fa822c666 Fix minor typos
7 years ago
Drew DeVault c24351681f Refactor EGL handling
7 years ago