mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-27 06:59:46 -05:00
Remove cairo dependency, write raw pixels
This commit is contained in:
parent
b27b6cd69c
commit
a87f016017
4 changed files with 37 additions and 14 deletions
|
|
@ -71,6 +71,10 @@ void wlr_output_swap_buffers(struct wlr_output *output);
|
|||
void wlr_output_set_gamma(struct wlr_output *output,
|
||||
uint16_t size, uint16_t *r, uint16_t *g, uint16_t *b);
|
||||
uint16_t wlr_output_get_gamma_size(struct wlr_output *output);
|
||||
|
||||
/**
|
||||
* Reads all pixels from the output and stores them as ARGB.
|
||||
*/
|
||||
void wlr_output_read_pixels(struct wlr_output *output, void *out_data);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue