From ae26492c30051eb7c6c883b3c6397390f91afcae Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sun, 22 Jan 2006 00:26:44 +0000 Subject: Cleaned up how declarations for Mac OS X window system wrapper functions are specified. Now have their own header (which unfortunately could not be placed in the macosx stub_includes subdirectory due to build problems) in make/stub_includes/opengl/macosx-window-system.h. Deleted manual declarations for these functions from cgl-macosx.cfg. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@556 232f8b59-042b-4e1e-8c03-345bb8c30851 --- make/stub_includes/macosx/window-system.c | 41 +------------------------------ 1 file changed, 1 insertion(+), 40 deletions(-) (limited to 'make/stub_includes/macosx/window-system.c') diff --git a/make/stub_includes/macosx/window-system.c b/make/stub_includes/macosx/window-system.c index e53300830..f2738b454 100644 --- a/make/stub_includes/macosx/window-system.c +++ b/make/stub_includes/macosx/window-system.c @@ -1,40 +1 @@ -/* C routines encapsulating small amounts of Objective C code to allow - nsContext creation and manipulation to occur from Java */ - -typedef int Bool; - -void* createContext(void* shareContext, void* nsView, - int doubleBuffer, - int stereo, - int redBits, - int greenBits, - int blueBits, - int alphaBits, - int depthBits, - int stencilBits, - int accumRedBits, - int accumGreenBits, - int accumBlueBits, - int accumAlphaBits, - int sampleBuffers, - int numSamples, - int pbuffer, - int floatingPoint, - int* viewNotReady); -Bool makeCurrentContext(void* nsContext, void* nsView); -Bool clearCurrentContext(void* nsContext, void* nsView); -Bool deleteContext(void* nsContext, void* nsView); -Bool flushBuffer(void* nsContext, void* nsView); -void updateContext(void* nsContext, void* nsView); - -void* updateContextRegister(void* nsContext, void* nsView); -void updateContextUnregister(void* nsContext, void* nsView, void* updater); - -void* createPBuffer(int renderTarget, int internalFormat, int width, int height); -Bool destroyPBuffer(void* nsContext, void* pBuffer); -void setContextPBuffer(void* nsContext, void* pBuffer); -void setContextTextureImageToPBuffer(void* nsContext, void* pBuffer, int colorBuffer); - -void* getProcAddress(const char *procName); - -void setSwapInterval(void* nsContext, int interval); +#include "macosx-window-system.h" -- cgit v1.2.3