PS2GL
OpenGL*-like API for the PS2
Loading...
Searching...
No Matches
gsmemory.cpp File Reference
#include "GL/ps2gl.h"
#include "ps2s/gsmem.h"
+ Include dependency graph for gsmemory.cpp:

Go to the source code of this file.

Functions

void pglPrintGsMemAllocation ()
 
int pglHasGsMemBeenInitted ()
 
pgl_slot_handle_t pglAddGsMemSlot (int startingPage, int pageLength, unsigned int pixelMode)
 
void pglLockGsMemSlot (pgl_slot_handle_t slot_handle)
 
void pglUnlockGsMemSlot (pgl_slot_handle_t slot_handle)
 
void pglRemoveAllGsMemSlots ()
 
pgl_area_handle_t pglCreateGsMemArea (int width, int height, unsigned int pix_format)
 
void pglDestroyGsMemArea (pgl_area_handle_t mem_area)
 
void pglAllocGsMemArea (pgl_area_handle_t mem_area)
 
void pglFreeGsMemArea (pgl_area_handle_t mem_area)
 
void pglSetGsMemAreaWordAddr (pgl_area_handle_t mem_area, unsigned int addr)
 
void pglBindGsMemAreaToSlot (pgl_area_handle_t mem_area, pgl_slot_handle_t mem_slot)
 
void pglUnbindGsMemArea (pgl_area_handle_t mem_area)
 
void pglLockGsMemArea (pgl_area_handle_t mem_area)
 
void pglUnlockGsMemArea (pgl_area_handle_t mem_area)
 
int pglGsMemAreaIsAllocated (pgl_area_handle_t mem_area)
 
unsigned int pglGetGsMemAreaWordAddr (pgl_area_handle_t mem_area)
 

Variables

static bool GsMemInitted = false
 

Detailed Description

pgl interface to gs memory manager

Definition in file gsmemory.cpp.

Variable Documentation

◆ GsMemInitted

bool GsMemInitted = false
static

Definition at line 16 of file gsmemory.cpp.