summaryrefslogtreecommitdiff
path: root/src/sna/sna_driver.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-01-20 10:14:21 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-01-20 10:15:30 +0000
commit9329d8755981989ccbe66df6085fbab7c809a2c6 (patch)
tree48b3252389bf8e1ecbbe9ef49133e403ac2147cf /src/sna/sna_driver.c
parentc9263f192e2f85dd961bc1c4e9ca8180db874517 (diff)
sna: Make DEBUG_SYNC a configure option
As it is advisable to combined the synchronous rendering debug option with other debugging options, it is more convenient to make it into a configure option: --enable-debug=sync Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_driver.c')
-rw-r--r--src/sna/sna_driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index dff29010..a0707ed6 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -1141,6 +1141,10 @@ Bool sna_init_scrn(ScrnInfoPtr scrn, int entity_num)
xf86DrvMsg(scrn->scrnIndex, X_INFO,
"SNA compiled with assertions enabled\n");
#endif
+#if DEBUG_SYNC
+ xf86DrvMsg(scrn->scrnIndex, X_INFO,
+ "SNA compiled with synchronous rendering\n");
+#endif
#if DEBUG_MEMORY
xf86DrvMsg(scrn->scrnIndex, X_INFO,
"SNA compiled with memory allocation reporting enabled\n");