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 setWGLattrib(attribName, attribValue)
 

Functions

int _glfwAnalyzeContext (const _GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
int _glfwCreateContext (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
void _glfwDestroyContext (_GLFWwindow *window)
 
int _glfwInitContextAPI (void)
 
int _glfwPlatformExtensionSupported (const char *extension)
 Returns whether the specified extension is available. More...
 
GLFWglproc _glfwPlatformGetProcAddress (const char *procname)
 Returns the address of the specified function for the current context. More...
 
void _glfwPlatformMakeContextCurrent (_GLFWwindow *window)
 Makes the context of the specified window current for the calling thread. More...
 
void _glfwPlatformSwapBuffers (_GLFWwindow *window)
 Swaps the front and back buffers of the specified window. More...
 
void _glfwPlatformSwapInterval (int interval)
 Sets the swap interval for the current context. More...
 
void _glfwTerminateContextAPI (void)
 
static GLboolean choosePixelFormat (_GLFWwindow *window, const _GLFWfbconfig *desired, int *result)
 
static int getPixelFormatAttrib (_GLFWwindow *window, int pixelFormat, int attrib)
 
GLFWAPI HGLRC glfwGetWGLContext (GLFWwindow *handle)
 
static void initWGLExtensions (_GLFWwindow *window)
 

Macro Definition Documentation

#define setWGLattrib (   attribName,
  attribValue 
)
Value:
{ \
attribs[index++] = attribName; \
attribs[index++] = attribValue; \
assert((size_t) index < sizeof(attribs) / sizeof(attribs[0])); \
}
const GLint * attribs
Definition: glext.h:10137
GLuint index
Definition: glext.h:655

Definition at line 320 of file wgl_context.c.

Function Documentation

int _glfwAnalyzeContext ( const _GLFWwindow window,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig 
)

Definition at line 497 of file wgl_context.c.

int _glfwCreateContext ( _GLFWwindow window,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig 
)

Definition at line 329 of file wgl_context.c.

void _glfwDestroyContext ( _GLFWwindow window)

Definition at line 480 of file wgl_context.c.

int _glfwInitContextAPI ( void  )

Definition at line 273 of file wgl_context.c.

void _glfwTerminateContextAPI ( void  )

Definition at line 312 of file wgl_context.c.

static GLboolean choosePixelFormat ( _GLFWwindow window,
const _GLFWfbconfig desired,
int result 
)
static

Definition at line 105 of file wgl_context.c.

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

Definition at line 84 of file wgl_context.c.

GLFWAPI HGLRC glfwGetWGLContext ( GLFWwindow handle)

Definition at line 671 of file wgl_context.c.

static void initWGLExtensions ( _GLFWwindow window)
static

Definition at line 37 of file wgl_context.c.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Fri Mar 13 2020 03:16:18