diff options
author | Jakob Bornecrantz <[email protected]> | 2009-07-02 15:05:17 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-07-02 15:05:17 +0200 |
commit | 59abfa8e42599a8c6c11db841ec527826cdcb717 (patch) | |
tree | ed5bc29ad0d142aaf4aa49e0528747eb36ab31c0 /src/gallium | |
parent | c0d7502a2cf994e635f1383f523653b92f4bd709 (diff) |
i915g: Readd trace driver support
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_be_api.c | 5 |
1 files changed, 5 insertions, 0 deletions
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,8 +26,12 @@ 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 } |