From fbdf8c337805b02385bf43b65aad93c20a2e3ad2 Mon Sep 17 00:00:00 2001
From: Gerard Ziemski <gerard.ziemski@sun.com>
Date: Sun, 12 Oct 2003 06:31:59 +0000
Subject: 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
---
 make/stub_includes/macosx/window-system.c | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 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 f49fd3d11..15506299b 100644
--- a/make/stub_includes/macosx/window-system.c
+++ b/make/stub_includes/macosx/window-system.c
@@ -3,11 +3,18 @@
 
 typedef int Bool;
 
-void* createContext(void* nsView, void* shareContext);
-Bool  makeCurrentContext(void* nsView, void* nsContext);
-Bool  clearCurrentContext(void* nsView, void* nsContext);
-void  updateContext(void* nsView, void* nsContext);
-Bool  deleteContext(void* nsView, void* nsContext);
-Bool  flushBuffer(void* nsView, void* nsContext);
+void* createContext(void* shareContext, void* nsView);
+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* updateContextRegister(void* nsContext, void* nsView);
+void  updateContextUnregister(void* nsContext, void* nsView, void* updater);
+
+void* createPBuffer(void* nsContext, int width, int height);
+Bool destroyPBuffer(void* nsContext, void* pBuffer);
+int bindPBuffer(void* nsContext, void* pBuffer);
+void unbindPBuffer(void* nsContext, void* pBuffer, int pBufferTextureName);
 
 void* getProcAddress(const char *procName);
-- 
cgit v1.2.3