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 along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
32 //#define EXPERIMENTAL_ACC_SUPPORT
54 /* Vitual desktop stuff */
55 POINTL ScreenOffsetXY
;
58 HPALETTE DefaultPalette
;
59 PALETTEENTRY
*PaletteEntries
;
61 /* hw mouse acclartions support */
62 VIDEO_POINTER_CAPABILITIES PointerCapabilities
;
63 PVIDEO_POINTER_ATTRIBUTES pPointerAttributes
;
64 ULONG PointerAttributesSize
;
65 POINTL PointerHotSpot
;
68 #ifdef EXPERIMENTAL_MOUSE_CURSOR_SUPPORT
69 XLATEOBJ
*PointerXlateObject
;
70 HSURF PointerColorSurface
;
71 HSURF PointerMaskSurface
;
72 HSURF PointerSaveSurface
;
83 DDPIXELFORMAT ddpfDisplay
;
85 /* System Cached data */
89 /* Avail Video memory from Current Screen and the end range */
97 #define DEVICE_NAME L"framebuf"
98 #define ALLOC_TAG 'FUBF'
104 IN LPWSTR pwszLogAddress
,
106 OUT HSURF
*phsurfPatterns
,
112 IN LPWSTR pwszDeviceName
,
155 IN SURFOBJ
*psoColor
,
179 IntInitDefaultPalette(
186 IN PPALETTEENTRY ppalent
,
191 CopyMonoPointer(PPDEV ppdev
,
195 CopyColorPointer(PPDEV ppdev
,