X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Ftrace%2Ftr_public.h;h=b03133f8d97f34b56c86a26d286275b637e5026e;hb=34690536a7fb792492fdedc9377a298827b8c1b7;hp=62e217097d0639f9e70f0aed1b8b4e9dda0e62b7;hpb=0203136e69bfa711edd69a4f69c4539cd877b5cb;p=mesa.git diff --git a/src/gallium/drivers/trace/tr_public.h b/src/gallium/drivers/trace/tr_public.h index 62e217097d0..b03133f8d97 100644 --- a/src/gallium/drivers/trace/tr_public.h +++ b/src/gallium/drivers/trace/tr_public.h @@ -28,6 +28,8 @@ #ifndef TR_PUBLIC_H #define TR_PUBLIC_H +#include "pipe/p_compiler.h" + #ifdef __cplusplus extern "C" { #endif @@ -38,6 +40,9 @@ struct pipe_context; struct pipe_screen * trace_screen_create(struct pipe_screen *screen); +boolean +trace_enabled(void); + #ifdef __cplusplus } #endif