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:
@@ -11,15 +11,15 @@
|
||||
|
||||
#define OPENGL_RETRIEVE_DRIVER_DATA_AS(handle, cast) ((cast)handle->driver_data)
|
||||
|
||||
#include "EGL/EGLInstance.h"
|
||||
#include "OpenGLEnums.h"
|
||||
|
||||
typedef struct OpenGLDriverData
|
||||
{
|
||||
union
|
||||
{
|
||||
EGLInstance egl_instance;
|
||||
};
|
||||
} OpenGLDriverData;
|
||||
#define GL_GLES_PROTOTYPES 0
|
||||
#include <GLES3/gl31.h>
|
||||
|
||||
#define GL_STACK_UNDERFLOW 0x0504
|
||||
#define GL_STACK_OVERFLOW 0x0503
|
||||
|
||||
typedef void(*GLFunction)(void);
|
||||
|
||||
PulseBackendFlags OpenGLCheckSupport(PulseBackendFlags candidates, PulseShaderFormatsFlags shader_formats_used); // Return PULSE_BACKEND_OPENGL in case of success and PULSE_BACKEND_INVALID otherwise
|
||||
PulseBackendFlags OpenGLESCheckSupport(PulseBackendFlags candidates, PulseShaderFormatsFlags shader_formats_used); // Return PULSE_BACKEND_OPENGL_ES in case of success and PULSE_BACKEND_INVALID otherwise
|
||||
|
||||
Reference in New Issue
Block a user