Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
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:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

GLFWbool _glfwIsValidContextConfig (const _GLFWctxconfig *ctxconfig)
 
const _GLFWfbconfig_glfwChooseFBConfig (const _GLFWfbconfig *desired, const _GLFWfbconfig *alternatives, unsigned int count)
 
GLFWbool _glfwRefreshContextAttribs (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig)
 
GLFWbool _glfwStringInExtensionString (const char *string, const char *extensions)
 
GLFWAPI void glfwMakeContextCurrent (GLFWwindow *handle)
 Makes the context of the specified window current for the calling thread. More...
 
GLFWAPI GLFWwindowglfwGetCurrentContext (void)
 Returns the window whose context is current on 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...
 
GLFWAPI int glfwExtensionSupported (const char *extension)
 Returns whether the specified extension is available. More...
 
GLFWAPI GLFWglproc glfwGetProcAddress (const char *procname)
 Returns the address of the specified function for the current context. More...
 

Function Documentation

◆ _glfwChooseFBConfig()

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

Definition at line 178 of file context.c.

◆ _glfwIsValidContextConfig()

GLFWbool _glfwIsValidContextConfig ( const _GLFWctxconfig ctxconfig)

Definition at line 49 of file context.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwRefreshContextAttribs()

GLFWbool _glfwRefreshContextAttribs ( _GLFWwindow window,
const _GLFWctxconfig ctxconfig 
)

Definition at line 340 of file context.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _glfwStringInExtensionString()

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

Definition at line 578 of file context.c.

+ Here is the caller graph for this function: