00001 /*************************************************************************** 00002 *cr 00003 *cr (C) Copyright 1995-2019 The Board of Trustees of the 00004 *cr University of Illinois 00005 *cr All Rights Reserved 00006 *cr 00007 *cr VRJuggler patches contributed by Martijn Kragtwijk: m.kragtwijk@rug.nl 00008 *cr 00009 ***************************************************************************/ 00010 00011 /*************************************************************************** 00012 * RCS INFORMATION: 00013 * 00014 * $RCSfile: VRJugglerRoutines.h,v $ 00015 * $Author: johns $ $Locker: $ $State: Exp $ 00016 * $Revision: 1.4 $ $Date: 2019/01/17 21:21:02 $ 00017 * 00018 *************************************************************************** 00019 * DESCRIPTION: 00020 * 00021 * routines to get memory from and return memory to the 00022 * VRJuggler shared memory arena 00023 ***************************************************************************/ 00024 #ifndef VRJugglerROUTINES_H 00025 #define VRJugglerROUTINES_H 00026 00027 //#include <malloc.h> 00028 00029 class VRJugglerScene; 00030 class VRJugglerDisplayDevice; 00031 00032 // check and set when the VRJuggler routines are available 00033 int vmd_vrjuggler_is_initialized(void); 00034 void vmd_set_vrjuggler_is_initialized(void); 00035 00037 //void *malloc_from_VRJuggler_memory(size_t size); 00038 00040 //void free_to_VRJuggler_memory(void *data); 00041 00043 //void grab_VRJuggler_memory(int megs); 00044 00045 // global routines which call the Scene from the VRJuggler 00046 // set up the graphics, called from VRJugglerInitApplication 00047 void vrjuggler_gl_init_fn(void); 00048 00050 void set_vrjuggler_pointers(VRJugglerScene *, VRJugglerDisplayDevice *); 00051 00052 // call the renderer, on the first call this just counts the number of 00053 // drawing processes which were started 00054 void vrjuggler_renderer(void); 00055 #endif 00056