Wise&mystical  1.0
Project about Europe
Loading...
Searching...
No Matches
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 _glfwInitOSMesa (void)
 
void _glfwTerminateOSMesa (void)
 
GLFWbool _glfwCreateContextOSMesa (_GLFWwindow *window, const _GLFWctxconfig *ctxconfig, const _GLFWfbconfig *fbconfig)
 
GLFWAPI int glfwGetOSMesaColorBuffer (GLFWwindow *handle, int *width, int *height, int *format, void **buffer)
 
GLFWAPI int glfwGetOSMesaDepthBuffer (GLFWwindow *handle, int *width, int *height, int *bytesPerValue, void **buffer)
 
GLFWAPI OSMesaContext glfwGetOSMesaContext (GLFWwindow *handle)
 

Macro Definition Documentation

◆ setAttrib

#define setAttrib (   a,
 
)
Value:
{ \
assert(((size_t) index + 1) < sizeof(attribs) / sizeof(attribs[0])); \
attribs[index++] = a; \
attribs[index++] = v; \
}

Definition at line 191 of file osmesa_context.c.

Function Documentation

◆ _glfwCreateContextOSMesa()

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

Definition at line 198 of file osmesa_context.c.

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

◆ _glfwInitOSMesa()

GLFWbool _glfwInitOSMesa ( void  )

Definition at line 113 of file osmesa_context.c.

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

◆ _glfwTerminateOSMesa()

void _glfwTerminateOSMesa ( void  )

Definition at line 182 of file osmesa_context.c.

+ Here is the caller graph for this function:

◆ glfwGetOSMesaColorBuffer()

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

Definition at line 295 of file osmesa_context.c.

+ Here is the call graph for this function:

◆ glfwGetOSMesaContext()

GLFWAPI OSMesaContext glfwGetOSMesaContext ( GLFWwindow handle)

Definition at line 359 of file osmesa_context.c.

+ Here is the call graph for this function:

◆ glfwGetOSMesaDepthBuffer()

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

Definition at line 326 of file osmesa_context.c.

+ Here is the call graph for this function: