1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|