summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/macosx')
-rw-r--r--make/stub_includes/macosx/window-system.c19
1 files changed, 13 insertions, 6 deletions
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);