mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-05 13:29:47 -05:00
Call glReadPixels right before swapping buffers
This commit is contained in:
parent
05096ab458
commit
d4cc82f11a
6 changed files with 11 additions and 18 deletions
|
|
@ -19,7 +19,6 @@ struct wlr_output_impl {
|
|||
void (*set_gamma)(struct wlr_output *output,
|
||||
uint16_t size, uint16_t *r, uint16_t *g, uint16_t *b);
|
||||
uint16_t (*get_gamma_size)(struct wlr_output *output);
|
||||
void (*read_pixels)(struct wlr_output *_output, void *out_data);
|
||||
};
|
||||
|
||||
void wlr_output_init(struct wlr_output *output, const struct wlr_output_impl *impl);
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ struct wlr_output {
|
|||
|
||||
struct {
|
||||
struct wl_signal frame;
|
||||
struct wl_signal post_frame;
|
||||
struct wl_signal swap_buffers;
|
||||
struct wl_signal resolution;
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue