Commit graph

27167 commits

Author SHA1 Message Date
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
Magnus Olsen 5538059b89 fixing few compiling issue with this new header.
add few more redirect in ddraw.c to dxg.sys

svn path=/branches/reactx/; revision=29607
2007-10-15 19:04:50 +00:00
Magnus Olsen 8e71c124ed fixing few compiling issue with this new header.
svn path=/branches/reactx/; revision=29606
2007-10-15 18:40:01 +00:00
Magnus Olsen 7396205d50 fixing few compiling issue with this new header.
svn path=/branches/reactx/; revision=29605
2007-10-15 18:27:56 +00:00
Magnus Olsen ed47fc3520 adding one more api to dxeng.c
svn path=/branches/reactx/; revision=29601
2007-10-15 13:10:59 +00:00
Magnus Olsen 1a146fe5ca comment some protypes and how they work.
svn path=/branches/reactx/; revision=29600
2007-10-15 12:40:29 +00:00
Magnus Olsen 6a362ee13f start implement the dxeng driver api that are need it for dxg.sys
I manger kill of some local tree with this commit. 
ReactX can not be build 

svn path=/branches/reactx/; revision=29599
2007-10-15 12:38:50 +00:00
Magnus Olsen 43e85fc362 add two empty folder for now, it si for dxg.sys and dxapi.sys
svn path=/branches/reactx/; revision=29598
2007-10-15 11:03:28 +00:00
Magnus Olsen a476025b55 Start Build the next header we need, see https://www.openrce.org/forums/posts/535
only avail docs for it on the net. 

svn path=/branches/reactx/; revision=29597
2007-10-15 10:57:08 +00:00
Magnus Olsen 8c0f839acf add one more redirect to dxg.sys
svn path=/branches/reactx/; revision=29596
2007-10-15 09:49:58 +00:00
Magnus Olsen 706c0e7de6 rename 3 INDEX to diffent name to more logic names.
add comment which part being syscall, export list and internal use from win32k.sys



svn path=/branches/reactx/; revision=29595
2007-10-15 08:45:42 +00:00
Magnus Olsen 5c9253834f adding more redirect to dxg.sys
svn path=/branches/reactx/; revision=29594
2007-10-15 08:42:47 +00:00
Magnus Olsen d290c5e6c2 finish redirect dvp interface to dxg.sys
svn path=/branches/reactx/; revision=29593
2007-10-15 08:34:11 +00:00
Magnus Olsen 86b7527ce5 adding more redirect to dxg.sys
svn path=/branches/reactx/; revision=29592
2007-10-15 07:50:59 +00:00
Magnus Olsen 431e7045da do not use entrypoint="0" when dll have dllmain
only when dll does not have dllmain we should use entrypoint="0" 
other wise the orginal dllmain will not be run

svn path=/branches/reactx/; revision=29578
2007-10-14 21:56:02 +00:00
Magnus Olsen 75bf1ba3bc fixed export of EngLockDirectDrawSurface@4, EngUnlockDirectDrawSurface@4, EngDxIoctl@12, EngAllocPrivateUserMem@12, HeapVidMemAllocAligned@20, VidMemFree@8, EngFreePrivateUserMem@8
and add them to ntddraw/eng.c
no code yet

svn path=/branches/reactx/; revision=29577
2007-10-14 21:23:43 +00:00
Magnus Olsen 399dd8f6e5 cleanup from old interface and move new info to right header.
it still can not be build. for not all api have been redirect yet


svn path=/branches/reactx/; revision=29576
2007-10-14 20:42:41 +00:00
Magnus Olsen a83c927ea6 delete stub.c from ntddraw folder it is not longer need it
add more redirect to dxg.sys
smaller cleanup as well


svn path=/branches/reactx/; revision=29575
2007-10-14 20:05:40 +00:00
Magnus Olsen f3c20ee1cc more redirect from win32k to dxg.sys
btw no old code exists in current file. 

svn path=/branches/reactx/; revision=29572
2007-10-14 19:45:13 +00:00