Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
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 _glfwInitGLX (void)
 
void _glfwTerminateGLX (void)
 
GLFWbool _glfwCreateContextGLX (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
GLFWbool _glfwChooseVisualGLX (const _GLFWwndconfig *wndconfig, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig, Visual **visual, int *depth)
 
GLFWAPI GLXContext glfwGetGLXContext (GLFWwindow *handle)
 
GLFWAPI GLXWindow glfwGetGLXWindow (GLFWwindow *handle)
 

Macro Definition Documentation

◆ GLXBadProfileARB

#define GLXBadProfileARB   13

Definition at line 37 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 437 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 637 of file glx_context.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwCreateContextGLX()

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

Definition at line 446 of file glx_context.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwInitGLX()

GLFWbool _glfwInitGLX ( void  )

Definition at line 254 of file glx_context.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwTerminateGLX()

void _glfwTerminateGLX ( void  )

Definition at line 425 of file glx_context.c.

+ Here is the caller graph for this function:

◆ glfwGetGLXContext()

GLFWAPI GLXContext glfwGetGLXContext ( GLFWwindow handle)

Definition at line 672 of file glx_context.c.

+ Here is the call graph for this function:

◆ glfwGetGLXWindow()

GLFWAPI GLXWindow glfwGetGLXWindow ( GLFWwindow handle)

Definition at line 686 of file glx_context.c.

+ Here is the call graph for this function: