Commit graph

27157 commits

Author SHA1 Message Date
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
Magnus Olsen 8d3e67ab96 start move out logic stuff that should have been move to ddsurf and d3d from ddraw.c
remove the old start up code for dx, it will be in in dxg.sys later. 
win32k only redirect it to dxg.sys

svn path=/branches/reactx/; revision=29571
2007-10-14 19:02:45 +00:00
Magnus Olsen 01ec8d7afe finish the redirect of dxg.sys for the d3d part
svn path=/branches/reactx/; revision=29569
2007-10-14 18:14:04 +00:00
Magnus Olsen 320f753a4e adding more redirect for dvp interface to dxg
svn path=/branches/reactx/; revision=29568
2007-10-14 17:49:55 +00:00
Magnus Olsen b81a1d62c0 move all dvp stub to dvp.c
start redirect all to dxg.sys

svn path=/branches/reactx/; revision=29567
2007-10-14 16:19:56 +00:00
Magnus Olsen 3b320dfaaa add empty file for directx video port control interface
svn path=/branches/reactx/; revision=29566
2007-10-14 15:18:29 +00:00
Magnus Olsen 9b55f8ca65 redirect whole dd interface to dxg.sys
svn path=/branches/reactx/; revision=29565
2007-10-14 15:03:13 +00:00
Magnus Olsen 0f36e1fde8 Redirect all dx mocomp api (done)
svn path=/branches/reactx/; revision=29563
2007-10-14 13:58:37 +00:00
Magnus Olsen 623fb6808a dxtn License GPL
Need it by OpenGL / DirectX compress textures, at moment for mesa32
Got Alesky aka Fireball permits to add it, so long it use the patent flag.
Some part in this library can contain patent, thing in USA
This library will not be build directly, you are force to
change the patent flags in the config.rbuild file to 1
But todo so, you need check you country patent. 

svn path=/branches/reactx/; revision=29562
2007-10-14 13:03:46 +00:00
Magnus Olsen 3bc97d4fc4 This change can not compile win32k for they are not complete, and it is start on the loading process of dxg.sys
FIXED : One wrong protyped accoding MSDN
ADD   : Load process of DXG.SYS (not completed)
Redrirect : Allot DirectX api from win32k to dxg.sys (allot of code that have been remove will be readdit in new api or in dxg.sys, when it being commit)
Allot cleanup as well

svn path=/branches/reactx/; revision=29557
2007-10-14 12:07:23 +00:00
Johannes Anderwald 5590854701 - halfplement CDefFolderMenu_Create2
svn path=/trunk/; revision=29554
2007-10-13 21:47:09 +00:00