From: Jakob Bornecrantz Date: Thu, 2 Jul 2009 13:05:17 +0000 (+0200) Subject: i915g: Readd trace driver support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=59abfa8e42599a8c6c11db841ec527826cdcb717;p=mesa.git i915g: Readd trace driver support --- diff --git a/src/gallium/winsys/drm/intel/gem/intel_be_api.c b/src/gallium/winsys/drm/intel/gem/intel_be_api.c index 09d4ba47290..dd5f814da3c 100644 --- a/src/gallium/winsys/drm/intel/gem/intel_be_api.c +++ b/src/gallium/winsys/drm/intel/gem/intel_be_api.c @@ -2,6 +2,7 @@ #include "intel_be_api.h" #include "i915simple/i915_winsys.h" #include "identity/id_drm.h" +#include "trace/tr_drm.h" static void destroy(struct drm_api *api) { @@ -25,7 +26,11 @@ struct drm_api * drm_api_create() { #ifdef DEBUG +#if 0 return identity_drm_create(&intel_be_drm_api); +#else + return trace_drm_create(&intel_be_drm_api); +#endif #else return &intel_be_drm_api; #endif