70 Commits (d4e311a1adeee7cfd2a4404d716f3e0237ead607)

Author SHA1 Message Date
Scott Anderson 37b8a096a9 Pass backend to render
7 years ago
Scott Anderson 822a9f65a4 Add pointer to backend inside wlr_output
7 years ago
Tony Crisci eaed6b6d29 wl-output: send layout position
7 years ago
emersion a7d7659a93
Fix render errors with gnome-terminal
7 years ago
Drew DeVault 62371a9974 Merge pull request #257 from emersion/fix-client-cursors
7 years ago
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
Greg V a5fe9aa736 Add FreeBSD compatibility
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
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
7 years ago
Dominique Martinet 4bbf718e7d impl->destroy cleanup:
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
7 years ago
Drew DeVault 6569c2b626 Merge pull request #53 from nyorain/drm_buffer
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