Defines | 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.

Defines

#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)
GLFWglproc _glfwPlatformGetProcAddress (const char *procname)
void _glfwPlatformMakeContextCurrent (_GLFWwindow *window)
void _glfwPlatformSwapBuffers (_GLFWwindow *window)
void _glfwPlatformSwapInterval (int interval)
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)

Define Documentation

#define setWGLattrib (   attribName,
  attribValue 
)
Value:
{ \
    attribs[index++] = attribName; \
    attribs[index++] = attribValue; \
    assert((size_t) index < sizeof(attribs) / sizeof(attribs[0])); \
}

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.

Definition at line 480 of file wgl_context.c.

Definition at line 273 of file wgl_context.c.

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.

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 Tue Jun 25 2019 19:54:40