251 Commits (324e894bf0d0e54e2dda0a84980a11acd224d2bb)

Author SHA1 Message Date
zccrs e76583f1ad Use absolute paths in include in header files
4 years ago
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 44a3d6e74d backend/drm: document wlr_drm_plane surface fields
4 years ago
Simon Ser cb6f584496 backend/drm: add support for the subconnector property
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 adfb7cd35a backend/drm: stash pending page-flip CRTC
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 c5f239f411
backend/drm: make listener names more idiomatic
4 years ago
Simon Ser 54ec17ff64
backend/drm: use plural form for possible_crtcs
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 352fdd1bb0
backend/drm: remove unused wlr_drm_plane.drm_format
4 years ago
Simon Ser 248c7787c7 backend/drm: refactor wlr_output destruction
4 years ago
Simon Ser 019ffe8a5b backend/drm: introduce wlr_drm_connector.name
4 years ago
Simon Ser c89b131f29 backend/drm: introduce wlr_drm_conn_log
4 years ago
Simon Ser 9cd3f03f65
backend/drm: add wlr_drm_backend.name
4 years ago
Simon Ser da2a216934
backend/drm: add wlr_drm_connector.backend
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 863acb26c0 backend/drm: stop tracking overlay planes
4 years ago
Simon Ser de9ff46629
backend/drm: "scaling mode" is a connector property
4 years ago
Simon Ser 2649600fa1
backend/drm: rotation is a plane property
4 years ago
Simon Ser 44a4792fd8 backend/session: operate on wlr_device
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 ef846a8839 backend/drm: use wlr_swapchain
4 years ago
Antonin Décimo 9686895b4e Fix typos
4 years ago
Simon Ser 70f3a0bb27 backend/drm: make adaptive_sync atomic
5 years ago
Simon Ser e7a8ea84c3 backend/drm: don't set cursor if off-screen
5 years ago
Simon Ser 15d8f1806e backend/drm: introduce pending and current CRTC state
5 years ago
Simon Ser d6cc718472 backend/drm: nuke retry_pageflip
5 years ago
Simon Ser 61095f4a12 backend/drm: make drm_connector_set_mode take a wlr_drm_connector
5 years ago
Simon Ser 445750aa9a backend/drm: remove enable_drm_connector
5 years ago
Simon Ser 347bdb6d9a output: make wlr_output_set_gamma atomic
5 years ago
Simon Ser 2ca3bdc35e backend/drm: simplify atomic commit logic
5 years ago
Simon Ser 06d5aa5780 backend/drm: GAMMA_LUT_SIZE isn't atomic
5 years ago
Simon Ser da63d11d34 backend/drm: remove crtc_set_cursor from interface
5 years ago
Simon Ser f8e02db4bc backend/drm: remove conn_enable from interface
5 years ago
Simon Ser c608fc89d8 backend/drm: rename crtc_pageflip to crtc_commit
5 years ago
Simon Ser 70883fd10b backend/drm: apply gamma LUT on page-flip
5 years ago
Simon Ser 69b2279092 backend/drm: remove mode argument to crtc_pageflip
5 years ago
Simon Ser 7a149fe5ba backend/drm: remove unused fields
5 years ago
Simon Ser c9d6b18eef backend/drm: remove wlr_drm_interface.crtc_move_cursor
5 years ago
Scott Anderson 52281cb8ba backend/drm: move atomic cursor code into pageflip code
5 years ago
Scott Anderson 8da9d9679e backend/drm: introduce wlr_drm_fb
5 years ago
Simon Ser 6977f3a843 output: check buffer in wlr_output_test
5 years ago
Simon Ser 52c67284e2 backend/drm: add support for adaptive_sync_enabled
5 years ago
Simon Ser 8681e4ab8a backend/drm, backend/libinput: listen to session destroy
5 years ago
Simon Ser 16e5e9541b Add -Wmissing-prototypes
5 years ago
Simon Ser 0e57effd38 backend/drm: add support for custom modes
5 years ago
Simon Ser e97c2c3639 backend/drm: retry without modifiers for the primary plane
5 years ago
Simon Ser fd25e2ca11 backend/drm: track gbm_bo during direct scan-out
5 years ago
Simon Ser 2bdd1d0896 backend/drm: use modifiers for our GBM buffers
5 years ago
Rouven Czerwinski 4d36cc86eb backend/drm: destroy output immediately
5 years ago
Simon Ser ca45f4490c Remove all wayland-server.h includes
5 years ago
Scott Anderson b3f42548d0 backend/drm: Simplify object matching code
6 years ago
Simon Ser e8057bb60c backend/drm: fallback to drmModeAddFB2
6 years ago
Simon Ser 44ba603c0e backend/drm: hold buffers while scanning out
6 years ago
Simon Ser afe7b207d5 output: fix attach_buffer semantics
6 years ago
Simon Ser e516ea4c79 backend/drm: check format when scanning out DMA-BUF
6 years ago
emersion 96d6fde5dc backend/drm: add basic support for direct scan-out
6 years ago
Brian Ashworth 50011e7170 backend/drm: fix modeset on drm fd resume
6 years ago
Vincent Vanlaer 7bc43413ed Allow cursor render surface to be used as fb
6 years ago
emersion ee293fab58
backend/drm: fix GBM format mismatch
6 years ago
emersion ff6c4f80b2
backend/drm: don't insert duplicate custom modes, fix refresh rate
6 years ago
Scott Anderson efdd4d6ea2 backend/drm: Improve encoder logic
6 years ago
Scott Anderson 885586a831
Merge pull request #1280 from emersion/drm-link-status
6 years ago
emersion 54e1287f30 backend: add get_present_clock
6 years ago
emersion f5a147b739 backend/drm: add support for the link-status property
6 years ago
emersion e88db9a3fb backend/drm: reset gamma table on VT switch
6 years ago
emersion 2beb68007e output: make gamma size a size_t and gamma table const
6 years ago
emersion 79dd9ba151 backend/drm: don't free connector immediately
6 years ago
emersion 139a905924 backend/drm: add assertions
6 years ago
emersion f8a50e4fe7 backend/drm: steal CRTCs from disabled outputs
6 years ago
emersion cb293f09e7 output: make wlr_output_enable return a bool
6 years ago
emersion b877daded1 backend/drm: better hotplug handling
6 years ago
Ilia Bozhinov 4486b52aa8 move wlr_drm_connector_add_mode to wlr/backend/drm.h
6 years ago
Guido Günther 8d72090afe drm: Allow to add additional modes
6 years ago
emersion 21928cbe61
Merge branch 'master' into screencontent
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
morganamilo 6305e6327f
Fix typos in comments and strings
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 c63d94483b
Redesign wlr_texture
7 years ago
emersion c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
emersion 824a95ad19
matrix: use 2D matrices
7 years ago
Markus Ongyerth a65ef8ea86 restore dpms state on drm resume
7 years ago
emersion c2e1474010
Reformat all #include directives
7 years ago
Drew DeVault 664d7bfe4e
Merge pull request #618 from VincentVanlaer/atomic-gamma
7 years ago
emersion bf6d245400
Swap buffers with damage
7 years ago
Vincent Vanlaer ab011406ad Add atomic gamma lut size fetching
7 years ago
Vincent Vanlaer cc1229e75e Add atomic gamma setting
7 years ago
emersion bb4aeb3b2f
backend/drm: support updating cursor when session is paused
7 years ago
emersion 0365b587f0
output: add damage tracking via buffer age
7 years ago
emersion 53ba9b4eec
Fix output enable in DRM backend
7 years ago
Tony Crisci a937016e38 remove session from multibackend
7 years ago
Dominique Martinet be95147385 drm backend: add wlr_output_is_drm
7 years ago
emersion 9d43adaafa
Listen to display destroy in backends
7 years ago
emersion 016744ef4d
Refactor wlr_list inside wlroots
7 years ago
emersion c3b09f73da
Fix cursor hotspot with rotated outputs on DRM backend
7 years ago
emersion 9d587d759f
Do not set hw cursor if disabled when switching VT
7 years ago
Drew DeVault 16f35ecbea Merge branch 'master' into heghe/wl_list
7 years ago
Scott Anderson bdeffad7e5 Remove drm field from wlr_drm_connector
7 years ago
Scott Anderson 4ea84c5765 Remove unnecesary wlr_renderers
7 years ago
Scott Anderson 9b984253e2 Move egl.h to render/egl.h
7 years ago
Heghedus Razvan c03e774636 Replace list_t with wl_list in wlr_drm_backend
7 years ago
Scott Anderson f193623ca1 Change iface prefix to suffix
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 4101b89700 Rename wlr_drm_output to wlr_drm_connector
7 years ago
Scott Anderson 22e77d9195 Rename backend to drm
7 years ago
Scott Anderson ec5b95e08f Add pointer to backend from DRM outputs
7 years ago
Scott Anderson 096249a2a1 Split DRM rendering to its own file
7 years ago
Scott Anderson d0708b1a3a Split DRM internal interface to its own header
7 years ago
Scott Anderson 610b0493ac Rename files to remove pointless drm prefix
7 years ago
Drew DeVault 2b06f88f0b Combine internal DRM headers into one
8 years ago
Scott Anderson 63c3faa006 Fixed rendering bug: Delay calling gbm_surface_release_buffer until it
8 years ago
Scott Anderson 632a7acb03 Filled out more wlr_output fields.
8 years ago
Drew DeVault 40b85d992a Refactor udev and drm initialization
8 years ago
ascent12 62d612a01e Merge branch 'master' into session
8 years ago
Drew DeVault fee409bd0a Generalize DPMS, remove DRM refs from example
8 years ago
Scott Anderson f9d363fece Added device matching
8 years ago
Scott Anderson 7efdd3c9fc Refactored renderer startup to function.
8 years ago
Scott Anderson 058b8bdf27 Working commit
8 years ago
Scott Anderson 599d1bcbdc DPMS support
8 years ago
Drew DeVault 00931f2f8f Generalize output handling
8 years ago
Drew DeVault 15b1ce9e6c Refactor backend state management
8 years ago
Scott Anderson 4285b0c218 Removed unused fields.
8 years ago
Scott Anderson ef9768858e Changed modesetting interface.
8 years ago
Scott Anderson d196a79b6c Changed backend to accept wl_display.
8 years ago
Scott Anderson 18387468bb Renamed 'wlr_drm_display' to 'wlr_drm_output'
8 years ago
Scott Anderson 15d247bf34 Changed drm to use new EGL interface.
8 years ago
Scott Anderson 81998fdc98 Removed old session code from DRM backend.
8 years ago
Scott Anderson e446a5300b Added example.
8 years ago
Scott Anderson e9d716fc0c Changed display to use list_t.
8 years ago
Scott Anderson 115d4ae637 Changed events to use wayland functions.
8 years ago
Scott Anderson 562d43a5ec Changed logging.
8 years ago
Scott Anderson 41a82fd2fc Renaming.
8 years ago