2022-04-09 15:21:24 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct buffer;
|
|
|
|
struct image;
|
2022-04-10 13:49:57 +00:00
|
|
|
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);
|
2022-04-10 13:49:57 +00:00
|
|
|
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);
|
2023-10-01 17:29:51 +00:00
|
|
|
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
|
|
|
|