Macros | Functions
osmesa_context.c File Reference
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "internal.h"
Include dependency graph for osmesa_context.c:

Go to the source code of this file.

Macros

#define setAttrib(a, v)
 

Functions

GLFWbool _glfwCreateContextOSMesa (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
GLFWbool _glfwInitOSMesa (void)
 
void _glfwTerminateOSMesa (void)
 
static void destroyContextOSMesa (_GLFWwindow *window)
 
static int extensionSupportedOSMesa (const char *extension)
 
static GLFWglproc getProcAddressOSMesa (const char *procname)
 
GLFWAPI int glfwGetOSMesaColorBuffer (GLFWwindow *handle, int *width, int *height, int *format, void **buffer)
 
GLFWAPI OSMesaContext glfwGetOSMesaContext (GLFWwindow *handle)
 
GLFWAPI int glfwGetOSMesaDepthBuffer (GLFWwindow *handle, int *width, int *height, int *bytesPerValue, void **buffer)
 
static void makeContextCurrentOSMesa (_GLFWwindow *window)
 
static void swapBuffersOSMesa (_GLFWwindow *window)
 
static void swapIntervalOSMesa (int interval)
 

Macro Definition Documentation

#define setAttrib (   a,
  v 
)
Value:
{ \
assert((size_t) (index + 1) < sizeof(attribs) / sizeof(attribs[0])); \
attribs[index++] = v; \
}
const GLint * attribs
Definition: glext.h:11230
GLuint index
GLboolean GLboolean GLboolean GLboolean a
GLdouble v

Definition at line 189 of file osmesa_context.c.

Function Documentation

GLFWbool _glfwCreateContextOSMesa ( _GLFWwindow window,
const _GLFWctxconfig ctxconfig,
const _GLFWfbconfig fbconfig 
)

Definition at line 196 of file osmesa_context.c.

GLFWbool _glfwInitOSMesa ( void  )

Definition at line 111 of file osmesa_context.c.

void _glfwTerminateOSMesa ( void  )

Definition at line 180 of file osmesa_context.c.

static void destroyContextOSMesa ( _GLFWwindow window)
static

Definition at line 74 of file osmesa_context.c.

static int extensionSupportedOSMesa ( const char *  extension)
static

Definition at line 100 of file osmesa_context.c.

static GLFWglproc getProcAddressOSMesa ( const char *  procname)
static

Definition at line 69 of file osmesa_context.c.

GLFWAPI int glfwGetOSMesaColorBuffer ( GLFWwindow handle,
int *  width,
int *  height,
int *  format,
void **  buffer 
)

Definition at line 293 of file osmesa_context.c.

GLFWAPI OSMesaContext glfwGetOSMesaContext ( GLFWwindow handle)

Definition at line 357 of file osmesa_context.c.

GLFWAPI int glfwGetOSMesaDepthBuffer ( GLFWwindow handle,
int *  width,
int *  height,
int *  bytesPerValue,
void **  buffer 
)

Definition at line 324 of file osmesa_context.c.

static void makeContextCurrentOSMesa ( _GLFWwindow window)
static

Definition at line 35 of file osmesa_context.c.

static void swapBuffersOSMesa ( _GLFWwindow window)
static

Definition at line 90 of file osmesa_context.c.

static void swapIntervalOSMesa ( int  interval)
static

Definition at line 95 of file osmesa_context.c.



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