Commit graph

25071 commits

Author SHA1 Message Date
Johannes Anderwald 62c077140e - disable building avtest for now
svn path=/trunk/; revision=27085
2007-06-09 10:15:00 +00:00
Magnus Olsen 535019cbf6 commit GetDeviceIdentifier and GetDeviceIdentifier7 both are under devloping, I hope I finish this implement today
svn path=/trunk/; revision=27084
2007-06-09 10:05:41 +00:00
Aleksey Bragin 8ef4afc835 - Don't load a module with the same name more than once.
svn path=/trunk/; revision=27083
2007-06-09 10:03:33 +00:00
Magnus Olsen e619b8cca2 commit which api are under developing and hard tested.
mark which one have been completed and acts like ms ddraw does. 

svn path=/trunk/; revision=27082
2007-06-08 23:32:13 +00:00
Magnus Olsen 22c7e66366 rename Main_DirectDraw_GetAvailableVidMem to Main_DirectDraw_GetAvailableVidMem4
Fixing smaller bugs in Main_DirectDraw_GetAvailableVidMem4, complete works simluare now to ms version of this api
Implement Main_DirectDraw_GetAvailableVidMem for directdraw2 and directdraw3

svn path=/trunk/; revision=27081
2007-06-08 20:55:48 +00:00
Magnus Olsen 8c9302e2aa last testcase for getavailmemory
svn path=/trunk/; revision=27080
2007-06-08 20:30:07 +00:00
Johannes Anderwald 4102c22bc1 - include ddk
svn path=/trunk/; revision=27079
2007-06-08 20:03:56 +00:00
Magnus Olsen 7380e3282a Fixing smaller bugs in Main_DirectDraw_GetAvailableVidMem, it is still buggi
svn path=/trunk/; revision=27078
2007-06-08 19:25:39 +00:00
Magnus Olsen 779fdc743f small code cleanup
svn path=/trunk/; revision=27077
2007-06-08 19:18:45 +00:00
Magnus Olsen 3aa5478e6d adding allot more testcase for Test_GetAvailableVidMem it is not complete but we testing allot more now
svn path=/trunk/; revision=27076
2007-06-08 19:17:46 +00:00
Magnus Olsen edddb00510 Fixing allot bugs in Main_DirectDraw_GetAvailableVidMem, it is still buggi
svn path=/trunk/; revision=27075
2007-06-08 17:12:05 +00:00
Magnus Olsen 032150f031 adding allot more testcase for Test_GetAvailableVidMem it is not complete but we testing allot more now
svn path=/trunk/; revision=27074
2007-06-08 16:46:50 +00:00
Dmitry Gorbachev f77f4a810a Fix failed assertion in MM code.
svn path=/trunk/; revision=27072
2007-06-08 14:42:36 +00:00
Magnus Olsen e248b95f9d fixing a smaller bug extream hard to find,
if we got two or more directdraw object we choice always the lates hDD not the object own hDD
use This->lpLcl->lpGbl->hDD = This->lpLcl->hDD; to set the object own hDD before call any dxhal api

svn path=/trunk/; revision=27070
2007-06-08 12:57:00 +00:00
Johannes Anderwald 869f31838e - check if window was created successfully...
svn path=/trunk/; revision=27069
2007-06-08 11:58:04 +00:00
Magnus Olsen 6a1c6e4790 my last commit was wrong, more testing show me diffen
svn path=/trunk/; revision=27068
2007-06-08 11:43:16 +00:00
Magnus Olsen 5e019b656f update with some new info
svn path=/trunk/; revision=27067
2007-06-08 11:36:38 +00:00
Magnus Olsen 3d128d4bc5 remove VideoPortPutDmaAdapter implement sorry breaking the build it is fix 2 / 2 next commit fixing the build again
svn path=/trunk/; revision=27066
2007-06-07 22:12:10 +00:00
Magnus Olsen 01148285c7 revert my commit to this filem sorry breaking the build it is fix 1 / 2 next commit fixing the build again
svn path=/trunk/; revision=27065
2007-06-07 22:09:47 +00:00
Magnus Olsen 7eedda6459 patch from Pierre Schweitzer <heis_spiter at hotmail dot com>
comment from Pierre Schweitzer
In rev 27054, ekohl reduced access right when creating partition list (when
opening "disk"). To work, usetup needs more rights (like reading contents). So
this patch adds the missing right
See issue #2293 for more details.

svn path=/trunk/; revision=27064
2007-06-07 21:33:17 +00:00
Dmitry Gorbachev fb92e1fc3d Improve debug message.
svn path=/trunk/; revision=27063
2007-06-07 21:19:57 +00:00
Magnus Olsen 48d33901ec implement VideoPortFreeCommonBuffer,
implement VideoPortPutDmaAdapter use halPutDmaAdapter for this

we already have all code for it, it was simple write a warper for both so they works, both api need be tested hard.

svn path=/trunk/; revision=27062
2007-06-07 21:13:06 +00:00
Magnus Olsen 69be2950f9 export HalPutDmaAdapter so we can use it for VideoPortPutDmaAdapter
svn path=/trunk/; revision=27061
2007-06-07 21:11:58 +00:00
Magnus Olsen 23a0686be6 fixing bug in reactos GetFreq code for dx
svn path=/trunk/; revision=27060
2007-06-07 19:05:28 +00:00
Magnus Olsen a5b4c11371 adding a big freq test
svn path=/trunk/; revision=27059
2007-06-07 19:03:11 +00:00
Eric Kohl e86c5c5ce0 - Fix indentation and coding style.
- Fix the Unicode-only code.
- No code changes.

svn path=/trunk/; revision=27055
2007-06-07 16:18:38 +00:00
Eric Kohl f807c0daab Fix access rights.
svn path=/trunk/; revision=27054
2007-06-07 16:08:08 +00:00
Eric Kohl 7f2ba4663b Fix object attributes
svn path=/trunk/; revision=27053
2007-06-07 16:05:12 +00:00
Magnus Olsen 94e835008d comment out line 2028 it seam bit wrong and it crash the win32k.
svn path=/trunk/; revision=27052
2007-06-07 14:03:10 +00:00
Maarten Bosma 06ea7c3758 sorry. fix it for real now.
svn path=/trunk/; revision=27051
2007-06-07 13:23:44 +00:00
Maarten Bosma 3db527c9d9 Fix little mistake
svn path=/trunk/; revision=27050
2007-06-07 13:19:56 +00:00
Magnus Olsen eafaa0751c adding get FourCC working now
svn path=/trunk/; revision=27049
2007-06-07 13:12:55 +00:00
Magnus Olsen a4e1dbf9bd cleanup Create_DirectDraw after all debuging and thx w3seek thuse advice. I was getting insaine why malloc fail.
svn path=/trunk/; revision=27048
2007-06-07 13:02:10 +00:00
Magnus Olsen bfccdbeac1 wrong size of memory was alloc in startup.c
svn path=/trunk/; revision=27047
2007-06-07 12:56:13 +00:00
Magnus Olsen 01309cc881 no crash in ddraw what I known about for moment
svn path=/trunk/; revision=27046
2007-06-07 12:50:11 +00:00
Magnus Olsen 79583495ee fixing another crash for -O3
svn path=/trunk/; revision=27045
2007-06-07 12:39:42 +00:00
Magnus Olsen 259286f6fc Fixed one weird crash, please type make draw_clean 3 times so it gurated be clean in u tree, now build the ddraw,
tested compile with -O and no crash have been show 

svn path=/trunk/; revision=27044
2007-06-07 12:20:13 +00:00
Maarten Bosma d4c1add2a8 Some Clipper Code.
svn path=/trunk/; revision=27043
2007-06-07 11:49:43 +00:00
Magnus Olsen 6a3725e689 commit SFV_CREATE at w3seek requet
svn path=/trunk/; revision=27042
2007-06-07 11:46:33 +00:00
Magnus Olsen 3246f9583b Cleanup debug msg allot
svn path=/trunk/; revision=27041
2007-06-07 11:28:23 +00:00
Dmitry Gorbachev 6ed41fe051 Do not free memory twice.
svn path=/trunk/; revision=27039
2007-06-07 11:15:22 +00:00
Magnus Olsen fdf97aa483 remove seh on malloc
svn path=/trunk/; revision=27038
2007-06-07 10:33:04 +00:00
Magnus Olsen a0230af6f5 fixing a stuoied bug, when malloc fail, gcc genrated code will crash.
This fix will provent ddraw alloc crash.   

svn path=/trunk/; revision=27037
2007-06-07 09:43:50 +00:00
Magnus Olsen 8d0428bfbd adding more seh protection to the code
svn path=/trunk/; revision=27036
2007-06-07 08:46:33 +00:00
Magnus Olsen 958b55cf2c fixing smaller bugs in cleanup so it remove memory that we alloc, adding more seh around some ore api
svn path=/trunk/; revision=27035
2007-06-07 02:23:54 +00:00
Magnus Olsen 201a7b042d more seh fixed
svn path=/trunk/; revision=27034
2007-06-07 01:53:44 +00:00
Dmitry Gorbachev 32740d717d Fix my previous "fix", which is even worse then original.
svn path=/trunk/; revision=27033
2007-06-07 01:34:35 +00:00
Magnus Olsen 8c5a2928ed adding more seh, everthing need warp around seh in ddraw.
svn path=/trunk/; revision=27032
2007-06-07 01:27:38 +00:00
Magnus Olsen 9ad6d62b37 Fixing another bugm, leaking memory, it will when we trying alloc memory for FourCC, this bug fix it and I manger come bit futher with my werid crash
svn path=/trunk/; revision=27031
2007-06-07 01:12:42 +00:00
Magnus Olsen 0c0bb0a0f4 Fixing some bugs
svn path=/trunk/; revision=27030
2007-06-07 01:00:52 +00:00