Commit graph

68 commits

Author SHA1 Message Date
Timo Kreuzer 705ea2a9c3 [WIN32K]
- EngAcquireSemaphoreShared: update dwEngAcquireCount
- DC_LockDc/DC_UnlockDc: Acquire PDEV lock only for direct DCs, in that case also update the pSurface pointer
- When copying DC states, copy the surface only for memory dcs
- after switching the mode, update system metrics and redraw the desktop window.
- Remove testdraw code.

svn path=/branches/reactos-yarotows/; revision=46658
2010-04-01 22:36:40 +00:00
Timo Kreuzer 49d7aed889 Merge to trunk head (r46631)
svn path=/branches/reactos-yarotows/; revision=46633
2010-04-01 02:52:00 +00:00
Timo Kreuzer 49383c3d97 [win32k]
Use PREGION as type fo the DC regions instead of PVOID.

svn path=/branches/reactos-yarotows/; revision=46630
2010-03-31 22:43:02 +00:00
Jérôme Gardou 6495ee7167 [WIN32K]
DC_SetOwnerShip : return FALSE on failure

svn path=/branches/reactos-yarotows/; revision=46575
2010-03-29 21:53:24 +00:00
Jérôme Gardou 1541aa6f43 [WIN32K]
Close another pair of DC_LockDC/DC_UnlockDC

Now gdi32:dc winetests doesn't crash anymore.

svn path=/branches/reactos-yarotows/; revision=46530
2010-03-28 22:27:57 +00:00
Jérôme Gardou c918b470ec [WIN32K]
Release ppdev when deleting DC

svn path=/branches/reactos-yarotows/; revision=46527
2010-03-28 21:45:43 +00:00
Jérôme Gardou 9234a82220 [WIN32K]
Close another pair of DC_lockDc DC_UnlockDc.

svn path=/branches/reactos-yarotows/; revision=46508
2010-03-28 00:51:25 +00:00
Jérôme Gardou fc0d9235a5 [WIN32K]
Each DC_lockDc call should be followed by a DC_UnlockDc, even on error path.

svn path=/branches/reactos-yarotows/; revision=46507
2010-03-27 23:58:09 +00:00
Jérôme Gardou b6edb50eb1 sync with trunk r46493
svn path=/branches/reactos-yarotows/; revision=46494
2010-03-27 20:19:56 +00:00
Jérôme Gardou 76085ba982 [WIN32K]
Lock PDC with pDevObj semaphore too.

svn path=/branches/reactos-yarotows/; revision=46470
2010-03-26 16:17:12 +00:00
Jérôme Gardou 33f63724b1 [WIN32K]
Get rid of hVisRgn in ROS_DC_INFO, use prgnVis in DC instead

svn path=/branches/reactos-yarotows/; revision=46372
2010-03-23 23:02:00 +00:00
Jérôme Gardou f5cb03fb7c [WIN32K]
revert r46354

svn path=/branches/reactos-yarotows/; revision=46356
2010-03-23 16:09:23 +00:00
Timo Kreuzer 84253d01e7 Fix a typo
svn path=/branches/reactos-yarotows/; revision=46355
2010-03-23 16:05:10 +00:00
Jérôme Gardou 6ca135323d [WIN32K]
Don't access garbage pointer.

svn path=/branches/reactos-yarotows/; revision=46354
2010-03-23 15:30:41 +00:00
Jérôme Gardou c16ad873a6 sync with trunk (r46275)
svn path=/branches/reactos-yarotows/; revision=46279
2010-03-19 21:09:21 +00:00
Timo Kreuzer 299a3749d1 Move the DC_InitHack
svn path=/branches/reactos-yarotows/; revision=46249
2010-03-17 15:49:25 +00:00
Timo Kreuzer 74ef03da5c Commit the stuff. Lots of changes. I'll write a proper list of changes when it's done.
svn path=/branches/reactos-yarotows/; revision=45355
2010-01-30 21:12:42 +00:00
Timo Kreuzer 6afbc8f483 Hopefully create a branch and not destroy the svn repository.
svn path=/branches/reactos-yarotows/; revision=45219
2010-01-23 23:25:04 +00:00