#ifndef BOINC_GRAPHICS_API_H #define BOINC_GRAPHICS_API_H #include #ifdef BOINC_APP_GRAPHICS #ifdef __APPLE_CC__ #include #endif #ifdef _WIN32 #include #include // Header File For The OpenGL32 Library #include // Header File For The GLu32 Library #include // Header File For The Glaux Library #endif #ifdef HAVE_GL_LIB #include #include "x_opengl.h" #endif #endif #include "app_ipc.h" struct APP_OUT_GRAPHICS { }; int boinc_init_opengl(); int boinc_finish_opengl(); #ifdef BOINC_APP_GRAPHICS GLvoid glPrint(GLuint font, const char *fmt, ...); GLenum InitGL(GLvoid); GLenum ReSizeGLScene(GLsizei width, GLsizei height); extern bool app_render(int xs, int ys, double time_of_day); extern void app_init_gl(void); #endif #endif