Skip to content

Commit

Permalink
Testing different config attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorWalter committed Feb 28, 2024
1 parent c68bf48 commit 515f310
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions include/compute_lib/compute_lib.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
#include "compute_lib.h"


static const EGLint egl_config_attribs_gbm[] = { EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT_KHR, EGL_NONE };
static const EGLint egl_config_attribs_surfaceless[] = { EGL_SURFACE_TYPE, EGL_PBUFFER_BIT, EGL_BLUE_SIZE, 8, EGL_GREEN_SIZE, 8, EGL_RED_SIZE, 8, EGL_DEPTH_SIZE, 8, EGL_RENDERABLE_TYPE, EGL_OPENGL_BIT, EGL_NONE };
static const EGLint egl_ctx_attribs[] = { EGL_CONTEXT_CLIENT_VERSION, 3, EGL_NONE };
static const EGLint egl_config_attribs_gbm[] = {
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT_KHR,
EGL_NONE };
static const EGLint egl_config_attribs_surfaceless[] = {
EGL_SURFACE_TYPE, EGL_OPENGL_ES3_BIT_KHR,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES3_BIT_KHR,
GL_NONE };
static const EGLint egl_ctx_attribs[] = {
EGL_CONTEXT_CLIENT_VERSION, 3,
EGL_NONE };


static void compute_lib_gl_callback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* inst)
Expand Down

0 comments on commit 515f310

Please sign in to comment.