hwc_window: add the buffer dump
[platform/core/uifw/libtdm.git] / src / tdm.c
index e17b3f3..6ae0cc5 100644 (file)
--- a/src/tdm.c
+++ b/src/tdm.c
@@ -1204,6 +1204,8 @@ tdm_display_enable_dump(tdm_private_display *private_display, const char *dump_s
                        tdm_debug_dump |= TDM_DUMP_FLAG_PP;
                } else if (!strncmp(arg, "capture", 7)) {
                        tdm_debug_dump |= TDM_DUMP_FLAG_CAPTURE;
+               } else if (!strncmp(arg, "window", 6)) {
+                       tdm_debug_dump |= TDM_DUMP_FLAG_WINDOW;
                } else
                        goto done;