Macros | Functions
egl_context.c File Reference
#include "internal.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
Include dependency graph for egl_context.c:

Go to the source code of this file.

Macros

#define setAttrib(a, v)
 

Functions

GLFWbool _glfwChooseVisualEGL (const _GLFWwndconfig *wndconfig, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig, Visual **visual, int *depth)
 
GLFWbool _glfwCreateContextEGL (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
GLFWbool _glfwInitEGL (void)
 
void _glfwTerminateEGL (void)
 
static GLFWbool chooseEGLConfig (const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *desired, EGLConfig *result)
 
static void destroyContextEGL (_GLFWwindow *window)
 
static int extensionSupportedEGL (const char *extension)
 
static int getEGLConfigAttrib (EGLConfig config, int attrib)
 
static const char * getEGLErrorString (EGLint error)
 
static GLFWglproc getProcAddressEGL (const char *procname)
 
GLFWAPI EGLContext glfwGetEGLContext (GLFWwindow *handle)
 
GLFWAPI EGLDisplay glfwGetEGLDisplay (void)
 
GLFWAPI EGLSurface glfwGetEGLSurface (GLFWwindow *handle)
 
static void makeContextCurrentEGL (_GLFWwindow *window)
 
static void swapBuffersEGL (_GLFWwindow *window)
 
static void swapIntervalEGL (int interval)
 

Macro Definition Documentation

◆ setAttrib

#define setAttrib (   a,
 
)
Value:
{ \
assert((size_t) (index + 1) < sizeof(attribs) / sizeof(attribs[0])); \
attribs[index++] = a; \
attribs[index++] = v; \
}

Definition at line 447 of file egl_context.c.

Function Documentation

◆ _glfwChooseVisualEGL()

GLFWbool _glfwChooseVisualEGL ( const _GLFWwndconfig wndconfig,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig,
Visual **  visual,
int *  depth 
)

Definition at line 708 of file egl_context.c.

◆ _glfwCreateContextEGL()

GLFWbool _glfwCreateContextEGL ( _GLFWwindow window,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig 
)

Definition at line 456 of file egl_context.c.

◆ _glfwInitEGL()

GLFWbool _glfwInitEGL ( void  )

Definition at line 300 of file egl_context.c.

◆ _glfwTerminateEGL()

void _glfwTerminateEGL ( void  )

Definition at line 432 of file egl_context.c.

◆ chooseEGLConfig()

static GLFWbool chooseEGLConfig ( const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig desired,
EGLConfig result 
)
static

Definition at line 88 of file egl_context.c.

◆ destroyContextEGL()

static void destroyContextEGL ( _GLFWwindow window)
static

Definition at line 265 of file egl_context.c.

◆ extensionSupportedEGL()

static int extensionSupportedEGL ( const char *  extension)
static

Definition at line 238 of file egl_context.c.

◆ getEGLConfigAttrib()

static int getEGLConfigAttrib ( EGLConfig  config,
int  attrib 
)
static

Definition at line 79 of file egl_context.c.

◆ getEGLErrorString()

static const char* getEGLErrorString ( EGLint  error)
static

Definition at line 38 of file egl_context.c.

◆ getProcAddressEGL()

static GLFWglproc getProcAddressEGL ( const char *  procname)
static

Definition at line 250 of file egl_context.c.

◆ glfwGetEGLContext()

GLFWAPI EGLContext glfwGetEGLContext ( GLFWwindow handle)

Definition at line 759 of file egl_context.c.

◆ glfwGetEGLDisplay()

GLFWAPI EGLDisplay glfwGetEGLDisplay ( void  )

Definition at line 753 of file egl_context.c.

◆ glfwGetEGLSurface()

GLFWAPI EGLSurface glfwGetEGLSurface ( GLFWwindow handle)

Definition at line 773 of file egl_context.c.

◆ makeContextCurrentEGL()

static void makeContextCurrentEGL ( _GLFWwindow window)
static

Definition at line 189 of file egl_context.c.

◆ swapBuffersEGL()

static void swapBuffersEGL ( _GLFWwindow window)
static

Definition at line 221 of file egl_context.c.

◆ swapIntervalEGL()

static void swapIntervalEGL ( int  interval)
static

Definition at line 233 of file egl_context.c.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22