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

Go to the source code of this file.

Macros

#define setAttrib(a, v)
 

Functions

GLFWbool _glfwCreateContextWGL (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
GLFWbool _glfwInitWGL (void)
 
void _glfwTerminateWGL (void)
 
static int choosePixelFormat (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
static void destroyContextWGL (_GLFWwindow *window)
 
static int extensionSupportedWGL (const char *extension)
 
static int getPixelFormatAttrib (_GLFWwindow *window, int pixelFormat, int attrib)
 
static GLFWglproc getProcAddressWGL (const char *procname)
 
GLFWAPI HGLRC glfwGetWGLContext (GLFWwindow *handle)
 
static void makeContextCurrentWGL (_GLFWwindow *window)
 
static void swapBuffersWGL (_GLFWwindow *window)
 
static void swapIntervalWGL (int interval)
 

Macro Definition Documentation

#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 469 of file wgl_context.c.

Function Documentation

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

Definition at line 478 of file wgl_context.c.

GLFWbool _glfwInitWGL ( void  )

Definition at line 343 of file wgl_context.c.

void _glfwTerminateWGL ( void  )

Definition at line 463 of file wgl_context.c.

static int choosePixelFormat ( _GLFWwindow window,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig 
)
static

Definition at line 57 of file wgl_context.c.

static void destroyContextWGL ( _GLFWwindow window)
static

Definition at line 327 of file wgl_context.c.

static int extensionSupportedWGL ( const char *  extension)
static

Definition at line 301 of file wgl_context.c.

static int getPixelFormatAttrib ( _GLFWwindow window,
int  pixelFormat,
int  attrib 
)
static

Definition at line 37 of file wgl_context.c.

static GLFWglproc getProcAddressWGL ( const char *  procname)
static

Definition at line 316 of file wgl_context.c.

GLFWAPI HGLRC glfwGetWGLContext ( GLFWwindow handle)

Definition at line 719 of file wgl_context.c.

static void makeContextCurrentWGL ( _GLFWwindow window)
static

Definition at line 232 of file wgl_context.c.

static void swapBuffersWGL ( _GLFWwindow window)
static

Definition at line 257 of file wgl_context.c.

static void swapIntervalWGL ( int  interval)
static

Definition at line 278 of file wgl_context.c.



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