diff options
author | Jakob Bornecrantz <[email protected]> | 2009-07-02 14:57:55 +0200 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2009-07-02 14:57:55 +0200 |
commit | c0d7502a2cf994e635f1383f523653b92f4bd709 (patch) | |
tree | 5ebc3c253bd47d5f8de5370d2e47738280a35b84 /src/gallium/drivers/trace/tr_drm.h | |
parent | 54ee188a00e31d239cbd256e7ba5ffd2c1259650 (diff) |
trace: Add drm api integration
This is okay since drm_api.h doesn't have any external
dependancies, one could make it only compile on platforms
that support drm.
Diffstat (limited to 'src/gallium/drivers/trace/tr_drm.h')
-rw-r--r-- | src/gallium/drivers/trace/tr_drm.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/gallium/drivers/trace/tr_drm.h b/src/gallium/drivers/trace/tr_drm.h new file mode 100644 index 00000000000..845c66a32aa --- /dev/null +++ b/src/gallium/drivers/trace/tr_drm.h @@ -0,0 +1,35 @@ +/************************************************************************** + * + * Copyright 2009 VMware, Inc. + * All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sub license, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice (including the + * next paragraph) shall be included in all copies or substantial portions + * of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. + * IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR + * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + * + **************************************************************************/ + +#ifndef TR_DRM_H +#define TR_DRM_H + +struct drm_api; + +struct drm_api* trace_drm_create(struct drm_api *api); + +#endif /* ID_DRM_H */ |