1
/* $XFree86: xc/programs/Xserver/hw/xfree86/shadowfb/shadowfb.h,v 1.3 2002/10/16 22:12:54 alanh Exp $ */
9
* User defined callback function. Passed a pointer to the ScrnInfo struct,
10
* the number of dirty rectangles, and a pointer to the first dirty rectangle
13
typedef void (*RefreshAreaFuncPtr)(ScrnInfoPtr, int, BoxPtr);
16
* ShadowFBInit initializes the shadowfb subsystem. refreshArea is a pointer
17
* to a user supplied callback function. This function will be called after
18
* any operation that modifies the framebuffer. The newly dirtied rectangles
19
* are passed to the callback.
21
* Returns FALSE in the event of an error.
26
RefreshAreaFuncPtr refreshArea
30
* ShadowFBInit2 is a more featureful refinement of the original shadowfb.
31
* ShadowFBInit2 allows you to specify two callbacks, one to be called
32
* immediately before an operation that modifies the framebuffer, and another
33
* to be called immediately after.
35
* Returns FALSE in the event of an error
40
RefreshAreaFuncPtr preRefreshArea,
41
RefreshAreaFuncPtr postRefreshArea
44
#endif /* _SHADOWFB_H */