context.c File Reference
#include "internal.h"
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
Include dependency graph for context.c:

Go to the source code of this file.


const _GLFWfbconfig_glfwChooseFBConfig (const _GLFWfbconfig *desired, const _GLFWfbconfig *alternatives, unsigned int count)
GLFWbool _glfwIsValidContextConfig (const _GLFWctxconfig *ctxconfig)
GLFWbool _glfwRefreshContextAttribs (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig)
GLFWbool _glfwStringInExtensionString (const char *string, const char *extensions)
GLFWAPI int glfwExtensionSupported (const char *extension)
 Returns whether the specified extension is available. More...
GLFWAPI GLFWwindowglfwGetCurrentContext (void)
 Returns the window whose context is current on the calling thread. More...
GLFWAPI GLFWglproc glfwGetProcAddress (const char *procname)
 Returns the address of the specified function for the current context. More...
GLFWAPI void glfwMakeContextCurrent (GLFWwindow *handle)
 Makes the context of the specified window current for the calling thread. More...
GLFWAPI void glfwSwapBuffers (GLFWwindow *handle)
 Swaps the front and back buffers of the specified window. More...
GLFWAPI void glfwSwapInterval (int interval)
 Sets the swap interval for the current context. More...

Function Documentation

const _GLFWfbconfig* _glfwChooseFBConfig ( const _GLFWfbconfig desired,
const _GLFWfbconfig alternatives,
unsigned int  count 

Definition at line 176 of file context.c.

GLFWbool _glfwIsValidContextConfig ( const _GLFWctxconfig ctxconfig)

Definition at line 47 of file context.c.

GLFWbool _glfwRefreshContextAttribs ( _GLFWwindow window,
const _GLFWctxconfig ctxconfig 

Definition at line 344 of file context.c.

GLFWbool _glfwStringInExtensionString ( const char *  string,
const char *  extensions 

Definition at line 580 of file context.c.

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