Author: tkreuzer
Date: Thu Jul 9 17:36:42 2009
New Revision: 41829
URL:
http://svn.reactos.org/svn/reactos?rev=41829&view=rev
Log:
- Move GDI_DEBUG stuff to make it compile again
- Comment out some GDI_DEBUG prints related to deferred deletion, as this floods the log
too much
Modified:
trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/gdiobj.c [iso-8859-1] Thu Jul 9
17:36:42 2009
@@ -8,6 +8,8 @@
/** INCLUDES ******************************************************************/
+//#define GDI_DEBUG
+
#include <w32k.h>
#define NDEBUG
#include <debug.h>
@@ -25,6 +27,8 @@
#define DelayExecution() \
DPRINT("%s:%i: Delay\n", __FILE__, __LINE__); \
KeDelayExecutionThread(KernelMode, FALSE, &ShortDelay)
+
+#include "gdidbg.c"
/* static */ /* FIXME: -fno-unit-at-a-time breaks this */
BOOL INTERNAL_CALL GDI_CleanupDummy(PVOID ObjectBody);
@@ -78,10 +82,6 @@
static LARGE_INTEGER ShortDelay;
-/** DEBUGGING *****************************************************************/
-//#define GDI_DEBUG
-#include "gdidbg.c"
-
/** INTERNAL FUNCTIONS ********************************************************/
/*
@@ -576,8 +576,8 @@
{
Object->BaseFlags |= BASEFLAG_READY_TO_DIE;
DPRINT("Object %p, ulShareCount = %d\n", Object->hHmgr,
Object->ulShareCount);
- GDIDBG_TRACECALLER();
- GDIDBG_TRACESHARELOCKER(GDI_HANDLE_GET_INDEX(hObj));
+ //GDIDBG_TRACECALLER();
+ //GDIDBG_TRACESHARELOCKER(GDI_HANDLE_GET_INDEX(hObj));
(void)InterlockedExchangePointer((PVOID*)&Entry->ProcessId,
PrevProcId);
/* Don't wait on shared locks */
return FALSE;