From 20336127a480037dfaf469ffc2727511c55fab11 Mon Sep 17 00:00:00 2001 From: Zhiyi Zhang Date: Wed, 25 Sep 2019 07:16:11 -0500 Subject: [PATCH] winemac.drv: Trace display device counts. Signed-off-by: Zhiyi Zhang Signed-off-by: Ken Thomases Signed-off-by: Alexandre Julliard --- dlls/winemac.drv/display.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/winemac.drv/display.c b/dlls/winemac.drv/display.c index cb9f1ebcab9..cc5e9beaff7 100644 --- a/dlls/winemac.drv/display.c +++ b/dlls/winemac.drv/display.c @@ -1658,6 +1658,7 @@ void macdrv_init_display_devices(BOOL force) /* Initialize GPUs */ if (macdrv_get_gpus(&gpus, &gpu_count)) goto done; + TRACE("GPU count: %d\n", gpu_count); for (gpu = 0; gpu < gpu_count; gpu++) { @@ -1667,11 +1668,13 @@ void macdrv_init_display_devices(BOOL force) /* Initialize adapters */ if (macdrv_get_adapters(gpus[gpu].id, &adapters, &adapter_count)) goto done; + TRACE("GPU: %#llx %s, adapter count: %d\n", gpus[gpu].id, gpus[gpu].name, adapter_count); for (adapter = 0; adapter < adapter_count; adapter++) { if (macdrv_get_monitors(adapters[adapter].id, &monitors, &monitor_count)) goto done; + TRACE("adapter: %#x, monitor count: %d\n", adapters[adapter].id, monitor_count); if (!macdrv_init_adapter(video_hkey, video_index, gpu, adapter, monitor_count, &gpus[gpu], guidW, driverW, &adapters[adapter])) @@ -1680,6 +1683,7 @@ void macdrv_init_display_devices(BOOL force) /* Initialize monitors */ for (monitor = 0; monitor < monitor_count; monitor++) { + TRACE("monitor: %#x %s\n", monitor, monitors[monitor].name); if (!macdrv_init_monitor(monitor_devinfo, &monitors[monitor], monitor, video_index)) goto done; }