Commit graph

27185 commits

Author SHA1 Message Date
Magnus Olsen
eb615b5cf1 add allot more struct, enum, define, to many to write in the log
svn path=/branches/reactx/; revision=30131
2007-11-04 21:43:33 +00:00
Magnus Olsen
66b9434834 Commit a ks.h header file from 2005 written by me, it is base on dxsdk 2004 dec, but it is not completed, I do not found the almost completed version of this header I wrote.
so I add the version I found so it does not get lost. Our current ks.h are not completed and is full with hacks in psdk. it will be deleted later, when ks.h are finish it will
merge down to trunks to let silveblade continue on some work.
 

svn path=/branches/reactx/; revision=30128
2007-11-04 19:47:36 +00:00
Magnus Olsen
00d0b6a666 start remove stuff got home made stuff or base on wine dx
add global file version of dx dll. 

svn path=/branches/reactx/; revision=30125
2007-11-04 17:50:09 +00:00
Magnus Olsen
60fb768885 global header for directx version info for the rc file.
svn path=/branches/reactx/; revision=30124
2007-11-04 17:43:50 +00:00
Magnus Olsen
7da42d614f start remove stuff got home made stuff or base on wine dx
svn path=/branches/reactx/; revision=30123
2007-11-04 17:33:57 +00:00
Magnus Olsen
d3d6cf78e8 Fill in more info in the lockup tables.
svn path=/branches/reactx/; revision=30121
2007-11-04 16:49:20 +00:00
Magnus Olsen
b394251018 Implement DxGetVersionNumber
comment up some functions that are implement. 

svn path=/branches/reactx/; revision=30120
2007-11-04 16:23:11 +00:00
Magnus Olsen
44e6f014a9 Add dxapi.sys, most api are stub.
Implemnt GsDriverEntry, DxApiGetVersion, DxApi.
All DxApi that are callbacks are stub.
 

svn path=/branches/reactx/; revision=30117
2007-11-04 14:57:57 +00:00
Magnus Olsen
8dce1974ed Fix the build of ReactX and smaller typos
svn path=/branches/reactx/; revision=29859
2007-10-24 23:18:05 +00:00
Magnus Olsen
d1c1e99025 Implement DxEngGetHdevData after some old notes I found , hope every things works.
Partly implement DxEngGetDCState

svn path=/branches/reactx/; revision=29858
2007-10-24 22:52:13 +00:00
Magnus Olsen
349d4d4458 Header fix only
---------------------
update DxEngGetHdevData define values in dxeng.h 
add new member to PDEV the _EDD_DIRECTDRAW_GLOBAL * pEDDgpl;
add missing struct D3DNTHAL_CALLBACKS2 and D3DNTHAL_CALLBACKS3 to ddk/d3dnthal.h
add missing struct _EDD_DIRECTDRAW_LOCAL to directxint.h from "Windows Graphics Programming Win32 GDI and DirectDraw by Feng Yuan"
fixed smaller typos in  directxint.h

 

svn path=/branches/reactx/; revision=29857
2007-10-24 22:49:06 +00:00
Magnus Olsen
995737523f Update the dxeng.h header with some more info
format the struct _EDD_DIRECTDRAW_GLOBAL as Feng Yuan - Windows Graphics Programming Win32 Gdi And Directdraw
Update the _EDD_DIRECTDRAW_GLOBAL struct with some private notes. (it is not all notes I have of it yet)


svn path=/branches/reactx/; revision=29855
2007-10-24 19:35:31 +00:00
Magnus Olsen
19462f737c add complete startup process code for dxg.sys
svn path=/branches/reactx/; revision=29848
2007-10-24 11:05:44 +00:00
Magnus Olsen
3cc2abdc0a Add documentations for EngDxIoctl, NtGdiDxgGenericThunk
optimize for EngDxIoctl, NtGdiDxgGenericThunk
implement DxDxgGenericThunk, DxDdIoctl for they are outdated, they are left for compatible issue. 
 

svn path=/branches/reactx/; revision=29847
2007-10-24 08:13:39 +00:00
Magnus Olsen
6246902fcd adding driver export list for dxg.sys, thuse api that being export as driver
adding private include file for dxg.sys

svn path=/branches/reactx/; revision=29832
2007-10-23 19:06:11 +00:00
Magnus Olsen
1dce1e3a3c move in DC/PDC to ntgdihdl and all neasry struct that are need it.
svn path=/branches/reactx/; revision=29804
2007-10-22 23:38:11 +00:00
Magnus Olsen
b3792fec24 puting back dc.h and driver.h to win32k/include as jimtablor requested.
we need move PDC only to ntgdihdl.h.

svn path=/branches/reactx/; revision=29803
2007-10-22 23:21:23 +00:00
Magnus Olsen
03cd85d4e1 actvate more code and slash away more notes to the trachcan, and smaller cleanup
svn path=/branches/reactx/; revision=29798
2007-10-22 21:15:10 +00:00
Magnus Olsen
969eb0a20a dxgthk 100% finish, it should work now in windows, complete replacement for ms dxgthk.sys now.
not tested yet in windows. 

svn path=/branches/reactx/; revision=29797
2007-10-22 20:55:18 +00:00
Magnus Olsen
bf3e6f5443 rename dxg.def to dxgthk.def
svn path=/branches/reactx/; revision=29796
2007-10-22 20:16:48 +00:00
Magnus Olsen
115c413a45 adding dxgthk.sys stub we need it for dxg.sys
svn path=/branches/reactx/; revision=29795
2007-10-22 20:15:49 +00:00
Magnus Olsen
5697e7c2d2 fix the build for win32k.sys
svn path=/branches/reactx/; revision=29791
2007-10-22 19:49:06 +00:00
Magnus Olsen
31f85ca295 start activate code in dxg.sys
fixed compiling issue with win32kdc.h
FIXME : win32k.sys and dxg.sys compiling are broken at moment

svn path=/branches/reactx/; revision=29790
2007-10-22 19:42:53 +00:00
Magnus Olsen
461b232a67 rename dc.h to win32kdc.h
rename driver.h to win32kdriver.h

svn path=/branches/reactx/; revision=29788
2007-10-22 19:37:43 +00:00
Magnus Olsen
5fbe1981ea Moved remotely
win32k/include/driver to include/reactos/win32k

svn path=/branches/reactx/; revision=29787
2007-10-22 19:35:10 +00:00
Magnus Olsen
63d64ecb75 Moved remotely
dc.h from win32k/include to include/reactos/win32k

svn path=/branches/reactx/; revision=29786
2007-10-22 19:28:41 +00:00
Magnus Olsen
034be89e6c make dxg.sys to compile
svn path=/branches/reactx/; revision=29784
2007-10-22 18:11:24 +00:00
Magnus Olsen
9d36446482 Adding code from 2004, DxDdStartupDxGraphics, DxDdCleanupDxGraphics(), DdHmgDestroy()
svn path=/branches/reactx/; revision=29780
2007-10-22 16:26:59 +00:00
Magnus Olsen
7a6391ae7d start adding dxg.sys
svn path=/branches/reactx/; revision=29761
2007-10-21 23:38:13 +00:00
Magnus Olsen
7f5e624fc6 fix compilng forget implement stub for DxEngIncDispUniq
svn path=/branches/reactx/; revision=29751
2007-10-21 18:52:42 +00:00
Magnus Olsen
0bb73dc1f8 forget remove a smaller hack i the drv functions list that being pass to dxg.sys
svn path=/branches/reactx/; revision=29750
2007-10-21 18:47:16 +00:00
Magnus Olsen
43560602c9 add stub for all dxeng so the dxg.sys does not crash, but we see where the problem are.
now we can start play with dxg.sys in ReactX

svn path=/branches/reactx/; revision=29746
2007-10-21 18:28:31 +00:00
Magnus Olsen
86bc741994 implement DxEngLockDC and DxEngUnlockDC
Documented DxEngLockDC and DxEngUnlockDC

svn path=/branches/reactx/; revision=29743
2007-10-21 17:08:12 +00:00
Magnus Olsen
bd8a20efb1 add correct prototypes for DxEngLockDC and DxEngUnlockDC
add comment how DxEngLockDC and DxEngUnlockDC works

svn path=/branches/reactx/; revision=29742
2007-10-21 17:06:27 +00:00
Magnus Olsen
a85334323c add driver functions list that are need it for dxg.c startup process.
dxeng.c are not finish and the drv list are not either finish allot is comment out for now

svn path=/branches/reactx/; revision=29737
2007-10-21 15:11:19 +00:00
Magnus Olsen
598e4e5569 make ReactX compile again, it can not load dxg.sys yet.
svn path=/branches/reactx/; revision=29736
2007-10-21 13:49:29 +00:00
Magnus Olsen
d3527f3196 fixed allot compiling issue
svn path=/branches/reactx/; revision=29734
2007-10-21 13:31:39 +00:00
Magnus Olsen
4efa4a4b9c Add documentations : how NtGdiDdCreateD3DBuffer works, did nott add full docs, but egunt for people start using it if they read msdn as well
Optimize : NtGdiDdCreateD3DBuffer

svn path=/branches/reactx/; revision=29725
2007-10-21 01:25:26 +00:00
Magnus Olsen
b18e1f0406 Add documentations : how NtGdiD3dContextDestroyAll works, MSDN docs is wrong
Optimize : NtGdiD3dContextDestroyAll

svn path=/branches/reactx/; revision=29724
2007-10-21 00:47:24 +00:00
Magnus Olsen
c21492b9b3 update some docs with info that is correct, this info can not be found in msdn, msdn is wrong in this part.
that why people can not check see if they can create a surface. 


svn path=/branches/reactx/; revision=29721
2007-10-20 18:58:13 +00:00
Magnus Olsen
4a53c0fc46 This header are need it for our owm dxg.h, This stuct can not be found in msdn.
This struct are documented partly or full in Feng Yuan - Windows Graphics Programming Win32 Gdi And Directdraw.
I am great full to Alex to help figut and fill in the missing parts. Thank you. 

svn path=/branches/reactx/; revision=29717
2007-10-20 18:03:36 +00:00
Magnus Olsen
85033b2610 Optimze : the NtGdiDdCanCreateD3DBuffer and NtGdiDdCanCreateD3DBuffer , with the new optimze method.
Add : doxgen tags for how NtGdiDdCanCreateD3DBuffer and NtGdiDdCanCreateD3DBuffer works 
Add : a sort code for the DxEngDrv so we getting the driver functions in sorted list in DxDdStartupDxGraphics, this will be part of optimize the dx code in directx
it will allow us call function with gpDxFuncs[DXG_INDEX_DxD3dContextCreate].pfn instead first to search after it. 
Fix few bugs, as well. 
rember u can not still build ReactX I have not commit thuse part yet.





svn path=/branches/reactx/; revision=29715
2007-10-20 17:34:14 +00:00
Magnus Olsen
ef6f1d494e all redirect are done, for syscall and export api to dxg.sys
left todo fix compiling issue and fix all stub for dxeng.c


svn path=/branches/reactx/; revision=29627
2007-10-16 09:11:22 +00:00
Magnus Olsen
be2a0beb1e commit layout for allot functions that need be redirected to dxg.sys
the code are not finish

svn path=/branches/reactx/; revision=29625
2007-10-16 08:35:57 +00:00
Magnus Olsen
ad4b6c7616 fixing few compiling issue.
svn path=/branches/reactx/; revision=29624
2007-10-16 07:42:36 +00:00
Magnus Olsen
2c49e7a9db fixing few compiling issue.
svn path=/branches/reactx/; revision=29615
2007-10-15 20:55:06 +00:00
Magnus Olsen
a0a831361b fixing few compiling issue.
svn path=/branches/reactx/; revision=29612
2007-10-15 20:28:06 +00:00
Magnus Olsen
28110234c3 fixing few compiling issue.
svn path=/branches/reactx/; revision=29611
2007-10-15 19:48:41 +00:00
Magnus Olsen
8359a5f898 smaller cleanup in thuse two new header
svn path=/branches/reactx/; revision=29610
2007-10-15 19:45:48 +00:00
Magnus Olsen
0c91d34b41 wrong protype in MSDN, the protypes is VOID APIENTRY NtGdiDdUnattachSurface(HANDLE hSurface, HANDLE hSurfaceAttached); and the text in msdn talk it can return either DDHAL_DRIVER_HANDLED or DDHAL_DRIVER_NOTHANDLED, see http://msdn2.microsoft.com/en-us/library/ms648703.aspx, so I change the protype to DWORD APIENTRY NtGdiDdUnattachSurface(HANDLE hSurface, HANDLE hSurfaceAttached);
svn path=/branches/reactx/; revision=29609
2007-10-15 19:43:58 +00:00