#include "internal.h"
#include <string.h>
#include <stdlib.h>
#include <assert.h>
Go to the source code of this file.
|
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) |
|
◆ GLXBadProfileARB
#define GLXBadProfileARB 13 |
◆ setAttrib
#define setAttrib |
( |
|
a, |
|
|
|
v |
|
) |
| |
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.
◆ _glfwChooseVisualGLX()
◆ _glfwCreateContextGLX()
◆ _glfwInitGLX()
◆ _glfwTerminateGLX()
◆ chooseGLXFBConfig()
◆ createLegacyContextGLX()
◆ destroyContextGLX()
◆ extensionSupportedGLX()
static int extensionSupportedGLX |
( |
const char * |
extension | ) |
|
|
static |
◆ getGLXFBConfigAttrib()
static int getGLXFBConfigAttrib |
( |
GLXFBConfig |
fbconfig, |
|
|
int |
attrib |
|
) |
| |
|
static |
◆ getProcAddressGLX()
static GLFWglproc getProcAddressGLX |
( |
const char * |
procname | ) |
|
|
static |
◆ glfwGetGLXContext()
◆ glfwGetGLXWindow()
◆ makeContextCurrentGLX()
◆ swapBuffersGLX()
◆ swapIntervalGLX()
static void swapIntervalGLX |
( |
int |
interval | ) |
|
|
static |