wlvncc/include/renderer-egl.h

17 lines
453 B
C
Raw Normal View History

2022-04-09 15:21:24 +00:00
#pragma once
struct buffer;
struct image;
struct vnc_av_frame;
2022-04-09 15:21:24 +00:00
int egl_init(void);
void egl_finish(void);
void render_image_egl(struct buffer* dst, const struct image* src, double scale,
int pos_x, int pos_y);
void render_av_frames_egl(struct buffer* dst, struct vnc_av_frame** src,
int n_av_frames, double scale, int x_pos, int y_pos);
void render_buffer_egl(struct buffer* dst, const struct buffer* src,
double scale, int x_pos, int y_pos);
2022-04-09 15:21:24 +00:00