diff options
Diffstat (limited to 'xorg-server/hw/xwin/winengine.c')
-rwxr-xr-x[-rw-r--r--] | xorg-server/hw/xwin/winengine.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/xorg-server/hw/xwin/winengine.c b/xorg-server/hw/xwin/winengine.c index b473b3ac0..dc6ec7e9d 100644..100755 --- a/xorg-server/hw/xwin/winengine.c +++ b/xorg-server/hw/xwin/winengine.c @@ -81,13 +81,13 @@ winDetectSupportedEngines(void) ddrval = (*g_fpDirectDrawCreate) (NULL, (void **) &lpdd, NULL); if (FAILED(ddrval)) { /* No DirectDraw support */ - winErrorFVerb(2, + winDebug ( "winDetectSupportedEngines - DirectDraw not installed\n"); return; } else { /* We have DirectDraw */ - winErrorFVerb(2, + winDebug ( "winDetectSupportedEngines - DirectDraw installed, allowing ShadowDD\n"); g_dwEnginesSupported |= WIN_SERVER_SHADOW_DD; } @@ -98,8 +98,8 @@ winDetectSupportedEngines(void) (LPVOID *) &lpdd4); if (SUCCEEDED(ddrval)) { /* We have DirectDraw4 */ - winErrorFVerb(2, - "winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL\n"); + winDebug ( + "winDetectSupportedEngines - DirectDraw4 installed, allowing ShadowDDNL\n"); g_dwEnginesSupported |= WIN_SERVER_SHADOW_DDNL; } @@ -110,7 +110,7 @@ winDetectSupportedEngines(void) IDirectDraw_Release(lpdd); } - winErrorFVerb(2, + winDebug ( "winDetectSupportedEngines - Returning, supported engines %08x\n", (unsigned int) g_dwEnginesSupported); } @@ -149,7 +149,7 @@ winSetEngine(ScreenPtr pScreen) /* ShadowGDI is the only engine that supports windowed PseudoColor */ if (dwBPP == 8 && !pScreenInfo->fFullScreen) { - winErrorFVerb(2, + winDebug ( "winSetEngine - Windowed && PseudoColor => ShadowGDI\n"); pScreenInfo->dwEngine = WIN_SERVER_SHADOW_GDI; @@ -167,7 +167,7 @@ winSetEngine(ScreenPtr pScreen) || pScreenInfo->fMultiWindow #endif ) { - winErrorFVerb(2, + winDebug ( "winSetEngine - Multi Window or Rootless => ShadowGDI\n"); pScreenInfo->dwEngine = WIN_SERVER_SHADOW_GDI; @@ -176,9 +176,9 @@ winSetEngine(ScreenPtr pScreen) return TRUE; } - /* If the user's choice is supported, we'll use that */ - if (g_dwEnginesSupported & pScreenInfo->dwEnginePreferred) { - winErrorFVerb(2, "winSetEngine - Using user's preference: %d\n", + /* If there is a user's choice, we'll use that */ + if (pScreenInfo->dwEnginePreferred) { + winDebug ("winSetEngine - Using user's preference: %d\n", (int) pScreenInfo->dwEnginePreferred); pScreenInfo->dwEngine = pScreenInfo->dwEnginePreferred; @@ -194,14 +194,14 @@ winSetEngine(ScreenPtr pScreen) winSetEngineFunctionsShadowDDNL(pScreen); break; default: - FatalError("winSetEngine - Invalid engine type\n"); + FatalError ("winSetEngine - Invalid engine type %d\n",pScreenInfo->dwEngine); } return TRUE; } /* ShadowDDNL has good performance, so why not */ if (g_dwEnginesSupported & WIN_SERVER_SHADOW_DDNL) { - winErrorFVerb(2, "winSetEngine - Using Shadow DirectDraw NonLocking\n"); + winDebug ("winSetEngine - Using Shadow DirectDraw NonLocking\n"); pScreenInfo->dwEngine = WIN_SERVER_SHADOW_DDNL; /* Set engine function pointers */ @@ -211,7 +211,7 @@ winSetEngine(ScreenPtr pScreen) /* ShadowDD is next in line */ if (g_dwEnginesSupported & WIN_SERVER_SHADOW_DD) { - winErrorFVerb(2, "winSetEngine - Using Shadow DirectDraw\n"); + winDebug ("winSetEngine - Using Shadow DirectDraw\n"); pScreenInfo->dwEngine = WIN_SERVER_SHADOW_DD; /* Set engine function pointers */ @@ -221,7 +221,7 @@ winSetEngine(ScreenPtr pScreen) /* ShadowGDI is next in line */ if (g_dwEnginesSupported & WIN_SERVER_SHADOW_GDI) { - winErrorFVerb(2, "winSetEngine - Using Shadow GDI DIB\n"); + winDebug ("winSetEngine - Using Shadow GDI DIB\n"); pScreenInfo->dwEngine = WIN_SERVER_SHADOW_GDI; /* Set engine function pointers */ |