emersion
786f4bdd4d
Disable hardware cursors for now
7 years ago
emersion
08720db01d
Release buffer in wlr_surface_flush_damage
7 years ago
emersion
6dc0517bb1
Fix software cursor when setting committed cursor surface
7 years ago
emersion
dd5114a514
Fix client cursors when software cursors are used
7 years ago
emersion
8fd4ae5de8
Fix cursor role name, fix segfault when surface->resource is NULL
7 years ago
emersion
19860c03f7
Better handling of hidden cursors in wayland backend, add TODOs
7 years ago
emersion
92daa790bb
Allow to update the cursor hotspot without its pixels
7 years ago
emersion
5c6a933890
Do not call wlr_surface_state_release_buffer anymore
7 years ago
emersion
b1cba36aeb
Call frame_callback_list after rendering the cursor
7 years ago
emersion
8f7962ed44
Do not commit surface on set_cursor, breaks GTK+ apps
7 years ago
emersion
b76e64e7bf
Fix cleanup old cursor surface in wlr_output_set_cursor_surface
7 years ago
emersion
c4c948c5d9
Use attach x,y when computing hotspot, set sx,sy in surface_attach
7 years ago
emersion
008e1d596d
Fix cursor stride
7 years ago
emersion
c7a4346bfc
Hide cursor when surface == NULL
7 years ago
emersion
bceaee6eb7
Stop listening to cursor surface when manually setting cursor data
7 years ago
emersion
cebb202f7d
Set and check cursor surface role
7 years ago
emersion
8a77d1b6a2
Listen to cursor surface commit & destroy events
7 years ago
emersion
17354b630a
Read surface buffer to set output cursor
7 years ago
emersion
9b83caa658
Add wlr_output_set_cursor_surface
7 years ago
emersion
0ce3135304
Move read_pixels from output to renderer
7 years ago
emersion
a87f016017
Remove cairo dependency, write raw pixels
7 years ago
emersion
d4cc82f11a
Call glReadPixels right before swapping buffers
7 years ago
emersion
d0db6a80ab
Add post_frame event to wlr_output, use wlr_drm_plane_make_current in wlr_drm_output_read_pixels
7 years ago
emersion
35f9700251
First attempt to implement screenshooter
7 years ago
emersion
2ffa4f3fce
When output has no modes, send one anyway
7 years ago
Versus Void
641d08ce7e
Transform hotspot with cursor
...
Fix #188
7 years ago
emersion
6f98b5a337
Add set_gamma and get_gamma_size to wlr_output_impl
7 years ago
emersion
cd125377fc
Add wlr_output_{set_gamma,get_gamma_size}
7 years ago
Tony Crisci
d84deb0742
add wlr_output destroy event
7 years ago
Dominique Martinet
f24b3df980
wlr renderer/texture: rename init to create when it does alloc
7 years ago
Dominique Martinet
978f935947
output: default scale to 1
...
This prevents us from telling application our scale is 0, when it has no
reason to be.
7 years ago
Dominique Martinet
4bbf718e7d
impl->destroy cleanup:
...
- remove trivial destroy() function
- make sure we check impl and impl->destroy before calling
- always call free if not implemented
7 years ago
Dominique Martinet
db77530a35
Fix output destory: impl->destroy must be called last + obvious double-free
7 years ago
Drew DeVault
2facf1df65
Fix software cursors
7 years ago
Drew DeVault
0de5eed048
Fix double free on wlr_outputs
7 years ago
Drew DeVault
41e735242d
Remove wlr_output_state, update backends
7 years ago
Dominique Martinet
0354aaeff2
Complete a few destroy functions
...
This adds missing free calls for:
- drm outputs
- libinput backend in general
- final udev free
- output mode state
7 years ago
Drew DeVault
6569c2b626
Merge pull request #53 from nyorain/drm_buffer
...
Implement drm (egl) buffer attaching
7 years ago
Scott Anderson
5465621d0a
Update rotation matrix correctly. Fixes #60 .
7 years ago
nyorain
67369173aa
Implement drm (egl) buffer attaching
7 years ago
nyorain
e167f41fde
Rename wlr_surface -> wlr_texture; attach -> upload
7 years ago
Scott Anderson
afd058b754
Fix software cursor. Fixes #45
7 years ago
Scott Anderson
1db97a9af9
Updated DRM cursor rendering
7 years ago
Scott Anderson
aedfa27d3a
Clean up resources when plane is reassigned
7 years ago
nyorain
fdab81e1c9
Use meson build system
7 years ago
Tony Crisci
a43016b8e2
bugfix: fix cursor software rendering fallback
...
wlr_surface_attach_pixels() expects a wl_shm_format but a GL format was
given. This caused a bug where software rendering of the cursor would
fail when no pixel format can be found.
7 years ago
Drew DeVault
8920b5d607
Merge branch 'wlcore'
8 years ago
Drew DeVault
f5b7bc033e
Add wlr_wl_compositor and remove wlr_wl_shm
8 years ago
Scott Anderson
0cd94f0cf0
Added software cursor fallback
8 years ago
Drew DeVault
168f0955ab
Add wl_output globals for wlr_outputs
8 years ago