Merge commit 'origin/gallium-master-merge'
[mesa.git] / src / gallium / winsys / drm / nouveau / common / nouveau_local.h
1 #ifndef __NOUVEAU_LOCAL_H__
2 #define __NOUVEAU_LOCAL_H__
3
4 #include "pipe/p_compiler.h"
5 #include "nouveau_winsys_pipe.h"
6 #include <stdio.h>
7
8 /* Debug output */
9 #define NOUVEAU_MSG(fmt, args...) do { \
10 fprintf(stdout, "nouveau: "fmt, ##args); \
11 fflush(stdout); \
12 } while(0)
13
14 #define NOUVEAU_ERR(fmt, args...) do { \
15 fprintf(stderr, "%s:%d - "fmt, __func__, __LINE__, ##args); \
16 fflush(stderr); \
17 } while(0)
18
19 #endif