mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-07-16 10:03:35 -07:00
Fix Surface for EGL (Fix #71)
This commit is contained in:
parent
dbd91246af
commit
090c37fb0a
2 changed files with 8 additions and 1 deletions
|
@ -32,6 +32,7 @@ extern "C"
|
|||
|
||||
class VideoDecoder;
|
||||
class AVOpenGLFrameUploader;
|
||||
class QOffscreenSurface;
|
||||
|
||||
struct PlaneConfig
|
||||
{
|
||||
|
@ -76,6 +77,7 @@ class AVOpenGLWidget: public QOpenGLWidget
|
|||
AVOpenGLFrame frames[2];
|
||||
int frame_fg;
|
||||
QMutex frames_mutex;
|
||||
QOffscreenSurface *frame_uploader_surface;
|
||||
QOpenGLContext *frame_uploader_context;
|
||||
AVOpenGLFrameUploader *frame_uploader;
|
||||
QThread *frame_uploader_thread;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue