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

#define GLXBadProfileARB   13

Definition at line 35 of file glx_context.c.

#define setAttrib (   a,
  v 
)
Value:
{ \
assert((size_t) (index + 1) < sizeof(attribs) / sizeof(attribs[0])); \
attribs[index++] = v; \
}
const GLint * attribs
Definition: glext.h:11230
GLuint index
GLboolean GLboolean GLboolean GLboolean a
GLdouble v

Definition at line 436 of file glx_context.c.

Function Documentation

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

Definition at line 636 of file glx_context.c.

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

Definition at line 445 of file glx_context.c.

GLFWbool _glfwInitGLX ( void  )

Definition at line 253 of file glx_context.c.

void _glfwTerminateGLX ( void  )

Definition at line 424 of file glx_context.c.

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

Definition at line 50 of file glx_context.c.

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

Definition at line 145 of file glx_context.c.

static void destroyContextGLX ( _GLFWwindow window)
static

Definition at line 231 of file glx_context.c.

static int extensionSupportedGLX ( const char *  extension)
static

Definition at line 206 of file glx_context.c.

static int getGLXFBConfigAttrib ( GLXFBConfig  fbconfig,
int  attrib 
)
static

Definition at line 41 of file glx_context.c.

static GLFWglproc getProcAddressGLX ( const char *  procname)
static

Definition at line 219 of file glx_context.c.

GLFWAPI GLXContext glfwGetGLXContext ( GLFWwindow handle)

Definition at line 671 of file glx_context.c.

GLFWAPI GLXWindow glfwGetGLXWindow ( GLFWwindow handle)

Definition at line 685 of file glx_context.c.

static void makeContextCurrentGLX ( _GLFWwindow window)
static

Definition at line 156 of file glx_context.c.

static void swapBuffersGLX ( _GLFWwindow window)
static

Definition at line 182 of file glx_context.c.

static void swapIntervalGLX ( int  interval)
static

Definition at line 187 of file glx_context.c.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:26