diff options
author | emersion <contact@emersion.fr> | 2017-10-07 19:01:11 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-10-07 19:01:11 +0200 |
commit | a87f0160174487a1bbb1280597b73d36755542de (patch) | |
tree | cc29188720df37ac0166b7cdedea190a65393e36 /include | |
parent | b27b6cd69c25284541b8ec585ddbc5f0294f52e6 (diff) |
Remove cairo dependency, write raw pixels
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_output.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h index 7fab1cf6..ab3be5c7 100644 --- a/include/wlr/types/wlr_output.h +++ b/include/wlr/types/wlr_output.h @@ -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 |