#include <stdio.h>
#include <stdlib.h>
#include "Inform.h"
#include "FreeVRRoutines.h"
#include "VMDApp.h"
#include "FreeVRDisplayDevice.h"
#include "FreeVRScene.h"
#include <freevr.h>
Go to the source code of this file.
Functions | |
void * | malloc_from_FreeVR_memory (size_t size) |
use the already alloced memory as the memory arena and amalloc from it. More... | |
void | free_to_FreeVR_memory (void *data) |
return shared memory to the arena. More... | |
void | grab_FreeVR_memory (size_t megs) |
get a large chunk of memory from FreeVR and remember it for future use. More... | |
void | freevr_gl_init_fn (void) |
void | set_freevr_pointers (Scene *scene, DisplayDevice *display) |
set static pointers to the Scene and DisplayDevice. More... | |
void | freevr_renderer (DisplayDevice *display, void *rendinfo) |
Variables | |
FreeVRScene * | freevrscene |
DisplayDevice * | freevrdisplay |
|
return shared memory to the arena.
Definition at line 37 of file FreeVRRoutines.C. References data. |
|
Definition at line 63 of file FreeVRRoutines.C. Referenced by FreeVRDisplayDevice::render. |
|
Definition at line 75 of file FreeVRRoutines.C. References FreeVRScene::draw. |
|
get a large chunk of memory from FreeVR and remember it for future use.
Definition at line 43 of file FreeVRRoutines.C. References size. |
|
use the already alloced memory as the memory arena and amalloc from it.
Definition at line 33 of file FreeVRRoutines.C. References size. |
|
set static pointers to the Scene and DisplayDevice.
Definition at line 69 of file FreeVRRoutines.C. |
|
Definition at line 67 of file FreeVRRoutines.C. |
|
Definition at line 66 of file FreeVRRoutines.C. |