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

Go to the source code of this file.

Functions

const _GLFWfbconfig_glfwChooseFBConfig (const _GLFWfbconfig *desired, const _GLFWfbconfig *alternatives, unsigned int count)
 Chooses the framebuffer config that best matches the desired one.
GLboolean _glfwIsValidContext (const _GLFWctxconfig *ctxconfig)
 Checks whether the current context fulfils the specified hard constraints.
GLboolean _glfwIsValidContextConfig (const _GLFWctxconfig *ctxconfig)
 Checks whether the desired context attributes are valid.
GLboolean _glfwRefreshContextAttribs (const _GLFWctxconfig *ctxconfig)
 Retrieves the attributes of the current context.
int _glfwStringInExtensionString (const char *string, const char *extensions)
 Searches an extension string for the specified extension.
GLFWAPI int glfwExtensionSupported (const char *extension)
 Returns whether the specified extension is available.
GLFWAPI GLFWwindowglfwGetCurrentContext (void)
 Returns the window whose context is current on the calling thread.
GLFWAPI GLFWglproc glfwGetProcAddress (const char *procname)
 Returns the address of the specified function for the current context.
GLFWAPI void glfwMakeContextCurrent (GLFWwindow *handle)
 Makes the context of the specified window current for the calling thread.
GLFWAPI void glfwSwapBuffers (GLFWwindow *handle)
 Swaps the front and back buffers of the specified window.
GLFWAPI void glfwSwapInterval (int interval)
 Sets the swap interval for the current context.
static GLboolean parseVersionString (int *api, int *major, int *minor, int *rev)

Function Documentation

static GLboolean parseVersionString ( int api,
int major,
int minor,
int rev 
) [static]

Definition at line 38 of file context.c.



librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:40