VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.9.0/xf86xvpriv.h@ 66940

最後變更 在這個檔案從66940是 32163,由 vboxsync 提交於 14 年 前

Additions/x11/x11include: additional headers for building drivers for X.Org Server 1.9

  • 屬性 svn:eol-style 設為 native
檔案大小: 3.0 KB
 
1
2/*
3 * Copyright (c) 2003 by The XFree86 Project, Inc.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
19 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21 * OTHER DEALINGS IN THE SOFTWARE.
22 *
23 * Except as contained in this notice, the name of the copyright holder(s)
24 * and author(s) shall not be used in advertising or otherwise to promote
25 * the sale, use or other dealings in this Software without prior written
26 * authorization from the copyright holder(s) and author(s).
27 */
28
29#ifndef _XF86XVPRIV_H_
30#define _XF86XVPRIV_H_
31
32#include "xf86xv.h"
33#include "privates.h"
34
35/*** These are DDX layer privates ***/
36
37extern _X_EXPORT DevPrivateKey XF86XvScreenKey;
38
39typedef struct {
40 DestroyWindowProcPtr DestroyWindow;
41 ClipNotifyProcPtr ClipNotify;
42 WindowExposuresProcPtr WindowExposures;
43 void (*AdjustFrame)(int, int, int, int);
44 Bool (*EnterVT)(int, int);
45 void (*LeaveVT)(int, int);
46 GCPtr videoGC;
47} XF86XVScreenRec, *XF86XVScreenPtr;
48
49typedef struct {
50 int flags;
51 PutVideoFuncPtr PutVideo;
52 PutStillFuncPtr PutStill;
53 GetVideoFuncPtr GetVideo;
54 GetStillFuncPtr GetStill;
55 StopVideoFuncPtr StopVideo;
56 SetPortAttributeFuncPtr SetPortAttribute;
57 GetPortAttributeFuncPtr GetPortAttribute;
58 QueryBestSizeFuncPtr QueryBestSize;
59 PutImageFuncPtr PutImage;
60 ReputImageFuncPtr ReputImage;
61 QueryImageAttributesFuncPtr QueryImageAttributes;
62 ClipNotifyFuncPtr ClipNotify;
63} XvAdaptorRecPrivate, *XvAdaptorRecPrivatePtr;
64
65typedef struct {
66 ScrnInfoPtr pScrn;
67 DrawablePtr pDraw;
68 unsigned char type;
69 unsigned int subWindowMode;
70 DDXPointRec clipOrg;
71 RegionPtr clientClip;
72 RegionPtr pCompositeClip;
73 Bool FreeCompositeClip;
74 XvAdaptorRecPrivatePtr AdaptorRec;
75 XvStatus isOn;
76 Bool moved;
77 int vid_x, vid_y, vid_w, vid_h;
78 int drw_x, drw_y, drw_w, drw_h;
79 DevUnion DevPriv;
80} XvPortRecPrivate, *XvPortRecPrivatePtr;
81
82typedef struct _XF86XVWindowRec{
83 XvPortRecPrivatePtr PortRec;
84 struct _XF86XVWindowRec *next;
85 GCPtr pGC;
86} XF86XVWindowRec, *XF86XVWindowPtr;
87
88#endif /* _XF86XVPRIV_H_ */
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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