Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

FreeVRRoutines.C File Reference

#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

FreeVRScenefreevrscene
DisplayDevicefreevrdisplay


Function Documentation

void free_to_FreeVR_memory void *    data
 

return shared memory to the arena.

Definition at line 37 of file FreeVRRoutines.C.

References data.

void freevr_gl_init_fn void   
 

Definition at line 63 of file FreeVRRoutines.C.

Referenced by FreeVRDisplayDevice::render.

void freevr_renderer DisplayDevice   display,
void *    rendinfo
 

Definition at line 75 of file FreeVRRoutines.C.

References FreeVRScene::draw.

void grab_FreeVR_memory size_t    megs
 

get a large chunk of memory from FreeVR and remember it for future use.

Definition at line 43 of file FreeVRRoutines.C.

References size.

void* malloc_from_FreeVR_memory size_t    size
 

use the already alloced memory as the memory arena and amalloc from it.

Definition at line 33 of file FreeVRRoutines.C.

References size.

void set_freevr_pointers Scene   scene,
DisplayDevice   display
 

set static pointers to the Scene and DisplayDevice.

Definition at line 69 of file FreeVRRoutines.C.


Variable Documentation

DisplayDevice* freevrdisplay [static]
 

Definition at line 67 of file FreeVRRoutines.C.

FreeVRScene* freevrscene [static]
 

Definition at line 66 of file FreeVRRoutines.C.


Generated on Fri Nov 8 02:46:00 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002