2 * ReactOS Generic Framebuffer display driver
4 * Copyright (C) 2004 Filip Navara
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
33 //#define EXPERIMENTAL_ACC_SUPPORT
55 /* Vitual desktop stuff */
56 POINTL ScreenOffsetXY
;
59 HPALETTE DefaultPalette
;
60 PALETTEENTRY
*PaletteEntries
;
62 /* hw mouse acclartions support */
63 VIDEO_POINTER_CAPABILITIES PointerCapabilities
;
64 PVIDEO_POINTER_ATTRIBUTES pPointerAttributes
;
65 ULONG PointerAttributesSize
;
66 POINTL PointerHotSpot
;
69 #ifdef EXPERIMENTAL_MOUSE_CURSOR_SUPPORT
70 XLATEOBJ
*PointerXlateObject
;
71 HSURF PointerColorSurface
;
72 HSURF PointerMaskSurface
;
73 HSURF PointerSaveSurface
;
84 DDPIXELFORMAT ddpfDisplay
;
86 /* System Cached data */
90 /* Avail Video memory from Current Screen and the end range */
98 #define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24))
100 #define DEVICE_NAME L"framebuf"
101 #define ALLOC_TAG TAG('F','B','U','F')
107 IN LPWSTR pwszLogAddress
,
109 OUT HSURF
*phsurfPatterns
,
115 IN LPWSTR pwszDeviceName
,
158 IN SURFOBJ
*psoColor
,
182 IntInitDefaultPalette(
189 IN PPALETTEENTRY ppalent
,
194 CopyMonoPointer(PPDEV ppdev
,
198 CopyColorPointer(PPDEV ppdev
,
203 #endif /* FRAMEBUF_H */