diff options
author | Gerard Ziemski <[email protected]> | 2003-10-12 06:31:59 +0000 |
---|---|---|
committer | Gerard Ziemski <[email protected]> | 2003-10-12 06:31:59 +0000 |
commit | fbdf8c337805b02385bf43b65aad93c20a2e3ad2 (patch) | |
tree | ae1575e8291ee93c85a1c00e6cbb5e00a0c59255 /make/cgl-macosx.cfg | |
parent | 30664570919282ddef3d0496251a3bfb8558b298 (diff) |
Implemented PBuffers (available in >= Panther). Reimplemented window resizing using update listener
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@67 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/cgl-macosx.cfg')
-rw-r--r-- | make/cgl-macosx.cfg | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/make/cgl-macosx.cfg b/make/cgl-macosx.cfg index f3824f703..649fc7e30 100644 --- a/make/cgl-macosx.cfg +++ b/make/cgl-macosx.cfg @@ -12,11 +12,21 @@ Opaque long void * # FIXME: rather than put in a header file somewhere in the source tree, # this was the easiest way of sharing the prototypes between these files CustomCCode typedef int Bool; -CustomCCode extern void* createContext(void* nsView, void* shareContext); -CustomCCode extern Bool makeCurrentContext(void* nsView , void* nsContext); -CustomCCode extern Bool clearCurrentContext (void* nsView , void* nsContext); -CustomCCode extern Bool deleteContext (void* nsView , void* nsContext); -CustomCCode extern Bool flushBuffer (void* nsView , void* nsContext); + +CustomCCode extern void* createContext(void* shareContext, void* nsView); +CustomCCode extern Bool makeCurrentContext(void* nsContext, void* nsView); +CustomCCode extern Bool clearCurrentContext(void* nsContext, void* nsView); +CustomCCode extern Bool deleteContext(void* nsContext, void* nsView); +CustomCCode extern Bool flushBuffer(void* nsContext, void* nsView); + +CustomCCode extern void* updateContextRegister(void* nsContext, void* nsView); +CustomCCode extern void updateContextUnregister(void* nsContext, void* nsView, void* updater); + +CustomCCode extern void* createPBuffer(void* nsContext, int width, int height); +CustomCCode extern Bool destroyPBuffer(void* nsContext, void* pBuffer); +CustomCCode extern int bindPBuffer(void* nsContext, void* pBuffer); +CustomCCode extern void unbindPBuffer(void* nsContext, void* pBuffer, int pBufferTextureName); + CustomCCode extern void* getProcAddress(const char *procName); # Implement the first argument to getProcAddress as String instead |