1#pragma once
2
3#include "common/option.h"
4
5typedef enum FFOpenGLLibrary: uint8_t {
6 FF_OPENGL_LIBRARY_AUTO,
7 FF_OPENGL_LIBRARY_EGL,
8 FF_OPENGL_LIBRARY_GLX,
9} FFOpenGLLibrary;
10
11typedef struct FFOpenGLOptions {
12 FFModuleArgs moduleArgs;
13
14 FFOpenGLLibrary library;
15} FFOpenGLOptions;
16
17static_assert(sizeof(FFOpenGLOptions) <= FF_OPTION_MAX_SIZE, "FFOpenGLOptions size exceeds maximum allowed size");