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

◆ setAttrib

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

Definition at line 469 of file wgl_context.c.

Function Documentation

◆ _glfwCreateContextWGL()

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

Definition at line 478 of file wgl_context.c.

◆ _glfwInitWGL()

GLFWbool _glfwInitWGL ( void  )

Definition at line 343 of file wgl_context.c.

◆ _glfwTerminateWGL()

void _glfwTerminateWGL ( void  )

Definition at line 463 of file wgl_context.c.

◆ choosePixelFormat()

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

Definition at line 57 of file wgl_context.c.

◆ destroyContextWGL()

static void destroyContextWGL ( _GLFWwindow window)
static

Definition at line 327 of file wgl_context.c.

◆ extensionSupportedWGL()

static int extensionSupportedWGL ( const char *  extension)
static

Definition at line 301 of file wgl_context.c.

◆ getPixelFormatAttrib()

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

Definition at line 37 of file wgl_context.c.

◆ getProcAddressWGL()

static GLFWglproc getProcAddressWGL ( const char *  procname)
static

Definition at line 316 of file wgl_context.c.

◆ glfwGetWGLContext()

GLFWAPI HGLRC glfwGetWGLContext ( GLFWwindow handle)

Definition at line 719 of file wgl_context.c.

◆ makeContextCurrentWGL()

static void makeContextCurrentWGL ( _GLFWwindow window)
static

Definition at line 232 of file wgl_context.c.

◆ swapBuffersWGL()

static void swapBuffersWGL ( _GLFWwindow window)
static

Definition at line 257 of file wgl_context.c.

◆ swapIntervalWGL()

static void swapIntervalWGL ( int  interval)
static

Definition at line 278 of file wgl_context.c.



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