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

◆ setAttrib

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

Definition at line 189 of file osmesa_context.c.

Function Documentation

◆ _glfwCreateContextOSMesa()

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

Definition at line 196 of file osmesa_context.c.

◆ _glfwInitOSMesa()

GLFWbool _glfwInitOSMesa ( void  )

Definition at line 111 of file osmesa_context.c.

◆ _glfwTerminateOSMesa()

void _glfwTerminateOSMesa ( void  )

Definition at line 180 of file osmesa_context.c.

◆ destroyContextOSMesa()

static void destroyContextOSMesa ( _GLFWwindow window)
static

Definition at line 74 of file osmesa_context.c.

◆ extensionSupportedOSMesa()

static int extensionSupportedOSMesa ( const char *  extension)
static

Definition at line 100 of file osmesa_context.c.

◆ getProcAddressOSMesa()

static GLFWglproc getProcAddressOSMesa ( const char *  procname)
static

Definition at line 69 of file osmesa_context.c.

◆ glfwGetOSMesaColorBuffer()

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

Definition at line 293 of file osmesa_context.c.

◆ glfwGetOSMesaContext()

GLFWAPI OSMesaContext glfwGetOSMesaContext ( GLFWwindow handle)

Definition at line 357 of file osmesa_context.c.

◆ glfwGetOSMesaDepthBuffer()

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

Definition at line 324 of file osmesa_context.c.

◆ makeContextCurrentOSMesa()

static void makeContextCurrentOSMesa ( _GLFWwindow window)
static

Definition at line 35 of file osmesa_context.c.

◆ swapBuffersOSMesa()

static void swapBuffersOSMesa ( _GLFWwindow window)
static

Definition at line 90 of file osmesa_context.c.

◆ swapIntervalOSMesa()

static void swapIntervalOSMesa ( int  interval)
static

Definition at line 95 of file osmesa_context.c.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22