VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/XFree86-4.3/Xserver/shadowfb.h@ 97956

最後變更 在這個檔案從97956是 69098,由 vboxsync 提交於 7 年 前

Clean up XFree86 driver header files.
bugref:3810: X11 Guest Additions maintenance
Over the years we have cleaned up the layout in the tree of the X.Org
header files we use to build drivers. The XFree86 ones were still in their
original, rather sub-optimal layout. This change fixes that.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 KB
 
1/* $XFree86: xc/programs/Xserver/hw/xfree86/shadowfb/shadowfb.h,v 1.3 2002/10/16 22:12:54 alanh Exp $ */
2
3#ifndef _SHADOWFB_H
4#define _SHADOWFB_H
5
6#include "xf86str.h"
7
8/*
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
11 * in the array.
12 */
13typedef void (*RefreshAreaFuncPtr)(ScrnInfoPtr, int, BoxPtr);
14
15/*
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.
20 *
21 * Returns FALSE in the event of an error.
22 */
23Bool
24ShadowFBInit (
25 ScreenPtr pScreen,
26 RefreshAreaFuncPtr refreshArea
27);
28
29/*
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.
34 *
35 * Returns FALSE in the event of an error
36 */
37Bool
38ShadowFBInit2 (
39 ScreenPtr pScreen,
40 RefreshAreaFuncPtr preRefreshArea,
41 RefreshAreaFuncPtr postRefreshArea
42);
43
44#endif /* _SHADOWFB_H */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette