/* Helper function to wrap a screen with
- * one or more debug driver: rbug, trace.
+ * one or more debug drivers.
*/
-#include "ddebug/dd_public.h"
-#include "trace/tr_public.h"
-#include "rbug/rbug_public.h"
-#include "noop/noop_public.h"
+#include "driver_ddebug/dd_public.h"
+#include "driver_trace/tr_public.h"
+#include "driver_rbug/rbug_public.h"
+#include "driver_noop/noop_public.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*
+ * TODO: Audit the following *screen_create() - all of
+ * them should return the original screen on failuire.
+ */
static inline struct pipe_screen *
debug_screen_wrap(struct pipe_screen *screen)
{
return screen;
}
+#ifdef __cplusplus
+}
#endif
+
+#endif // INLINE_DEBUG_HELPER_H