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

Go to the source code of this file.

Macros

#define GLXBadProfileARB   13
 
#define setAttrib(a, v)
 

Functions

GLFWbool _glfwChooseVisualGLX (const _GLFWwndconfig *wndconfig, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig, Visual **visual, int *depth)
 
GLFWbool _glfwCreateContextGLX (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
GLFWbool _glfwInitGLX (void)
 
void _glfwTerminateGLX (void)
 
static GLFWbool chooseGLXFBConfig (const _GLFWfbconfig *desired, GLXFBConfig *result)
 
static GLXContext createLegacyContextGLX (_GLFWwindow *window, GLXFBConfig fbconfig, GLXContext share)
 
static void destroyContextGLX (_GLFWwindow *window)
 
static int extensionSupportedGLX (const char *extension)
 
static int getGLXFBConfigAttrib (GLXFBConfig fbconfig, int attrib)
 
static GLFWglproc getProcAddressGLX (const char *procname)
 
GLFWAPI GLXContext glfwGetGLXContext (GLFWwindow *handle)
 
GLFWAPI GLXWindow glfwGetGLXWindow (GLFWwindow *handle)
 
static void makeContextCurrentGLX (_GLFWwindow *window)
 
static void swapBuffersGLX (_GLFWwindow *window)
 
static void swapIntervalGLX (int interval)
 

Macro Definition Documentation

◆ GLXBadProfileARB

#define GLXBadProfileARB   13

Definition at line 35 of file glx_context.c.

◆ setAttrib

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

Definition at line 436 of file glx_context.c.

Function Documentation

◆ _glfwChooseVisualGLX()

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

Definition at line 636 of file glx_context.c.

◆ _glfwCreateContextGLX()

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

Definition at line 445 of file glx_context.c.

◆ _glfwInitGLX()

GLFWbool _glfwInitGLX ( void  )

Definition at line 253 of file glx_context.c.

◆ _glfwTerminateGLX()

void _glfwTerminateGLX ( void  )

Definition at line 424 of file glx_context.c.

◆ chooseGLXFBConfig()

static GLFWbool chooseGLXFBConfig ( const _GLFWfbconfig desired,
GLXFBConfig result 
)
static

Definition at line 50 of file glx_context.c.

◆ createLegacyContextGLX()

static GLXContext createLegacyContextGLX ( _GLFWwindow window,
GLXFBConfig  fbconfig,
GLXContext  share 
)
static

Definition at line 145 of file glx_context.c.

◆ destroyContextGLX()

static void destroyContextGLX ( _GLFWwindow window)
static

Definition at line 231 of file glx_context.c.

◆ extensionSupportedGLX()

static int extensionSupportedGLX ( const char *  extension)
static

Definition at line 206 of file glx_context.c.

◆ getGLXFBConfigAttrib()

static int getGLXFBConfigAttrib ( GLXFBConfig  fbconfig,
int  attrib 
)
static

Definition at line 41 of file glx_context.c.

◆ getProcAddressGLX()

static GLFWglproc getProcAddressGLX ( const char *  procname)
static

Definition at line 219 of file glx_context.c.

◆ glfwGetGLXContext()

GLFWAPI GLXContext glfwGetGLXContext ( GLFWwindow handle)

Definition at line 671 of file glx_context.c.

◆ glfwGetGLXWindow()

GLFWAPI GLXWindow glfwGetGLXWindow ( GLFWwindow handle)

Definition at line 685 of file glx_context.c.

◆ makeContextCurrentGLX()

static void makeContextCurrentGLX ( _GLFWwindow window)
static

Definition at line 156 of file glx_context.c.

◆ swapBuffersGLX()

static void swapBuffersGLX ( _GLFWwindow window)
static

Definition at line 182 of file glx_context.c.

◆ swapIntervalGLX()

static void swapIntervalGLX ( int  interval)
static

Definition at line 187 of file glx_context.c.



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