mirror of
https://github.com/Kbz-8/Pulse.git
synced 2026-01-11 15:33:34 +00:00
working on OpenGL loading
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#define EGL_EGL_PROTOTYPES 0
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
#include <Pulse.h>
|
||||
|
||||
typedef struct EGLInstance
|
||||
@@ -18,12 +19,16 @@ typedef struct EGLInstance
|
||||
EGLContext context;
|
||||
EGLConfig config;
|
||||
|
||||
EGLDeviceEXT device;
|
||||
|
||||
#define PULSE_EGL_FUNCTION(fn, T) T fn;
|
||||
#define PULSE_EGL_FUNCTION_EXT(fn, T) T fn;
|
||||
#include "EGLFunctions.h"
|
||||
#undef PULSE_EGL_FUNCTION
|
||||
#undef PULSE_EGL_FUNCTION_EXT
|
||||
} EGLInstance;
|
||||
|
||||
bool EGLLoadInstance(EGLInstance* instance, bool es_context);
|
||||
bool EGLLoadInstance(EGLInstance* instance, PulseDevice* forbiden_devices, uint32_t forbiden_devices_count, bool es_context);
|
||||
void EGLUnloadInstance(EGLInstance* instance);
|
||||
|
||||
#endif // PULSE_EGL_CONTEXT_H_
|
||||
|
||||
Reference in New Issue
Block a user