mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 22:32:58 +00:00
Ntoskrnl:
- Plugged in batching. - Thanks to Thomas for helping me again! 8^) svn path=/trunk/; revision=30196
This commit is contained in:
parent
c41f093eb9
commit
340ac0278b
2 changed files with 4 additions and 7 deletions
|
@ -192,8 +192,7 @@ ReadBatch:
|
||||||
/* Flush it */
|
/* Flush it */
|
||||||
push edx
|
push edx
|
||||||
push eax
|
push eax
|
||||||
// <-- Remove these once it is working!
|
call [_KeGdiFlushUserBatch]
|
||||||
// call [_KeGdiFlushUserBatch]
|
|
||||||
pop eax
|
pop eax
|
||||||
pop edx
|
pop edx
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <internal/debug.h>
|
#include <internal/debug.h>
|
||||||
|
|
||||||
extern PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch();
|
extern PGDI_BATCHFLUSH_ROUTINE KeGdiFlushUserBatch;
|
||||||
|
|
||||||
/* PRIVATE FUNCTIONS *********************************************************/
|
/* PRIVATE FUNCTIONS *********************************************************/
|
||||||
|
|
||||||
|
@ -217,10 +217,8 @@ KeUserModeCallback(IN ULONG RoutineIndex,
|
||||||
/* Check if we have GDI Batch operations */
|
/* Check if we have GDI Batch operations */
|
||||||
if (GdiBatchCount)
|
if (GdiBatchCount)
|
||||||
{
|
{
|
||||||
/* Shouldn't happen in ROS yet */
|
*UserEsp -= 256;
|
||||||
ASSERT(FALSE);
|
KeGdiFlushUserBatch();
|
||||||
// *UserEsp -= 256;
|
|
||||||
// KeGdiFlushUserBatch();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Restore stack and return */
|
/* Restore stack and return */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue