diff options
author | Jaroslav Hensl <jara@hensl.cz> | 2023-05-26 00:11:19 +0200 |
---|---|---|
committer | Jaroslav Hensl <jara@hensl.cz> | 2023-05-26 00:11:19 +0200 |
commit | 14395d1ce8759ce490beb87c80ddb1f7ed35904f (patch) | |
tree | 0d3e72e924dcb248b1eb88cfb8782d34b551d6a9 /minidrv.h | |
parent | f94e063607454180284f32d88e01e0bc998e460b (diff) | |
download | vmdisp9x-14395d1ce8759ce490beb87c80ddb1f7ed35904f.tar.gz |
directdraw support (skeleton)
Diffstat (limited to 'minidrv.h')
-rw-r--r-- | minidrv.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -77,13 +77,14 @@ extern WORD wEnabled; /* PDevice enabled flag. */ extern RGBQUAD FAR *lpColorTable; /* Current color table. */
extern DWORD dwScreenFlatAddr; /* Linear address of frame buffer */
+extern DWORD dwVideoMemorySize; /* Installed VRAM in bytes. */
extern DWORD VDDEntryPoint;
extern WORD OurVMHandle;
extern WORD wMesa3DEnabled; /* Is possible to accelerate though Mesa3D SVGA */
-extern DWORD dwLock32cnt; /* Acceleration is posible only in 32 mode, so locking it's enumaration if active */
+WORD CalcPitch(WORD x, WORD bpp);
typedef void (__far * FastBitBlt_t) (unsigned dx, unsigned dy, unsigned sx, unsigned sy, unsigned w, unsigned h);
extern FastBitBlt_t FastBitBlt;
@@ -128,5 +129,6 @@ extern void CallVDD( unsigned Function ); "pop eax" \
parm [ax];
-
+/* DirectDraw support */
+BOOL DDCreateDriverObject(int bReset);
|