Simon Ser
20690346c7
output: rename needs_commit to needs_frame
...
This new name makes more sense, since it is a request from the backend to get
a new frame. In the future a commit may not convey a new frame.
6 years ago
Simon Ser
31dcecbfa9
output: rename swap_buffers event to precommit
...
Also remove damage from the event data since it's no longer tied to commits.
6 years ago
Simon Ser
9a0f8a194c
output: refactor backend API
...
This updates the backend part of the output API. This is mostly renaming:
make_current becomes attach_render and swap_buffers becomes commit.
This also fixes the RDP backend to support NULL damage.
6 years ago
Alexander Bakker
221d412824
Init the new destroy signals added by #1200
6 years ago
Alexander Bakker
20db29779e
Add destroy signals to types that are destroyed by wl_display_destroy
6 years ago
emersion
7cbef15206
util: add wlr_ prefix to log symbols
7 years ago
emersion
deeca53e33
Rename wl_resources to resource, wl_global to global
7 years ago
emersion
2b9cbaddf3
screencopy: add support for frame flags
7 years ago
emersion
c41de2d1be
render: split render.h into wlr_renderer.h and wlr_texture.h
7 years ago
Drew DeVault
1d9be89e2d
Revert "ELF Visibility"
7 years ago
Scott Anderson
86269052eb
Explicitly export EFL symbols
7 years ago
emersion
392d54a35d
Wrap wl_resource_get_user_data into safer helper functions
...
This ensures we're not incorrectly casting a resource.
Fixes #628
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
51c22d39a4
Merge remote-tracking branch 'upstream/master' into output-damage
7 years ago
emersion
a011a1cb07
screenshooter: request a buffer swap
7 years ago
emersion
4fa90b0511
Backport screenshooter fixes from the renderer redesign v1
...
This backports some changes to #319 to fix the screenshooter data
format. This also adds wlr_backend_get_renderer which will be
useful to support multiple renderers.
7 years ago
emersion
0365b587f0
output: add damage tracking via buffer age
7 years ago
emersion
bdb6e0b84c
Remove destroy event in screenshooter for now
7 years ago
emersion
e6d2e72401
Remove display destroy listeners, add compositor listener
7 years ago
emersion
32591d66d6
Add display destroy listener in server decoration
7 years ago
emersion
dfe11a2b0e
Add display destroy listener in screenshooter, destroy display in rootston
7 years ago
emersion
bb79ada49f
Fix a bunch of mistakes detected with scan-build
7 years ago
emersion
f8de7aa0fd
Add checks for wl_resource_create
7 years ago
emersion
4952a633ca
Remove interface version checks
7 years ago
emersion
0ce3135304
Move read_pixels from output to renderer
7 years ago
emersion
b27b6cd69c
Check wl_shm_buffer format
7 years ago
emersion
4374c52135
Free screenshot state
7 years ago
emersion
ecd5263d4d
Flip screenshots
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
1c8b72e0cd
Add screenshooter skeleton
7 years ago