#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "internal.h"
Go to the source code of this file.
|
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) |
|
◆ setAttrib
#define setAttrib |
( |
|
a, |
|
|
|
v |
|
) |
| |
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.
◆ _glfwCreateContextOSMesa()
◆ _glfwInitOSMesa()
◆ _glfwTerminateOSMesa()
void _glfwTerminateOSMesa |
( |
void |
| ) |
|
◆ glfwGetOSMesaColorBuffer()
GLFWAPI int glfwGetOSMesaColorBuffer |
( |
GLFWwindow * |
handle, |
|
|
int * |
width, |
|
|
int * |
height, |
|
|
int * |
format, |
|
|
void ** |
buffer |
|
) |
| |
◆ glfwGetOSMesaContext()
◆ glfwGetOSMesaDepthBuffer()
GLFWAPI int glfwGetOSMesaDepthBuffer |
( |
GLFWwindow * |
handle, |
|
|
int * |
width, |
|
|
int * |
height, |
|
|
int * |
bytesPerValue, |
|
|
void ** |
buffer |
|
) |
| |