emersion
c63d94483b
Redesign wlr_texture
...
- 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.
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
...
If there is no current mode, set outputs to dpms off in drm resume.
Sets current mode to null on disable to ensure this can be checked.
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
Drew DeVault
664d7bfe4e
Merge pull request #618 from VincentVanlaer/atomic-gamma
...
Add atomic gamma control
7 years ago
emersion
bf6d245400
Swap buffers with damage
7 years ago
Vincent Vanlaer
ab011406ad
Add atomic gamma lut size fetching
...
Legacy gamma lut size now uses the new legacy_crtc member of
wlr_drm_crtc. This was Previously doen using old_crtc in
wlr_drm_connector, but since this refers to the crtc that was connected to
the ouput, this could give the wrong result.
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
...
Signed-off-by: Heghedus Razvan <heghedus.razvan@gmail.com>
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
...
Everything always just included both anyway
8 years ago
Scott Anderson
63c3faa006
Fixed rendering bug: Delay calling gbm_surface_release_buffer until it
...
has been scanned out.
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