summaryrefslogtreecommitdiff
path: root/src/offscreen_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/offscreen_manager.h')
-rw-r--r--src/offscreen_manager.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/offscreen_manager.h b/src/offscreen_manager.h
new file mode 100644
index 0000000..e948da9
--- /dev/null
+++ b/src/offscreen_manager.h
@@ -0,0 +1,25 @@
+/* **********************************************************
+ * Copyright (C) 1998-2002 VMware, Inc.
+ * All Rights Reserved
+ * **********************************************************/
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/vmware/offscreen_manager.h,v 1.2 2002/12/11 17:07:58 dawes Exp $ */
+
+#ifndef OFFSCREEN_MANAGER_H
+#define OFFSCREEN_MANAGER_H
+
+struct _Heap;
+typedef struct _Heap Heap;
+
+extern Heap* vmwareHeap_Create(CARD8* ptr, CARD32 size, CARD32 maxSlots,
+ CARD32 startOffset, CARD32 sWidth, CARD32 sHeight,
+ CARD32 sBPP, CARD32 sPitch, CARD32 sFbOffset);
+extern void vmwareHeap_Destroy(Heap* heap);
+
+extern void vmwareHeap_Clear(Heap* heap);
+
+extern SVGASurface* vmwareHeap_GetFrontBuffer(Heap* heap);
+
+extern SVGASurface* vmwareHeap_AllocSurface(Heap* heap, CARD32 width, CARD32 height,
+ CARD32 pitch, CARD32 bpp);
+
+#endif