X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fmarshal.h;h=9688012bb3bf51018b5f21bd758a718d9273963b;hb=efaeac9e847a8234b1ea1cf32304c91f92b840a3;hp=c28d7f37637424aea045f9dc19a26a65d3977479;hpb=b00d219ec0da21c1bab89dc36aa20c9138b92226;p=mesa.git diff --git a/src/mesa/main/marshal.h b/src/mesa/main/marshal.h index c28d7f37637..9688012bb3b 100644 --- a/src/mesa/main/marshal.h +++ b/src/mesa/main/marshal.h @@ -116,29 +116,6 @@ _mesa_glthread_is_non_vbo_draw_elements_indirect(const struct gl_context *ctx) glthread->CurrentVAO->HasUserPointer); } -#define DEBUG_MARSHAL_PRINT_CALLS 0 - -/** - * This is printed when we have fallen back to a sync. This can happen when - * MARSHAL_MAX_CMD_SIZE is exceeded. - */ -static inline void -debug_print_sync_fallback(const char *func) -{ -#if DEBUG_MARSHAL_PRINT_CALLS - printf("fallback to sync: %s\n", func); -#endif -} - - -static inline void -debug_print_sync(const char *func) -{ -#if DEBUG_MARSHAL_PRINT_CALLS - printf("sync: %s\n", func); -#endif -} - struct _glapi_table * _mesa_create_marshal_table(const struct gl_context *ctx);