diff options
author | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-09-01 00:42:39 +0100 |
---|---|---|
committer | Jakob Bornecrantz <wallbraker@gmail.com> | 2009-09-01 00:47:02 +0100 |
commit | 935e4c56e5b10a0a702d95f78e9f4e6660c452dc (patch) | |
tree | bf5b550ac5159ca9755cd269c875f9f872ae2bf2 /src/gallium/winsys/drm/intel/gem/intel_be_api.c | |
parent | d2110064c2075a8537d4b7f87ba894ebaa6ccb33 (diff) | |
download | external_mesa3d-935e4c56e5b10a0a702d95f78e9f4e6660c452dc.zip external_mesa3d-935e4c56e5b10a0a702d95f78e9f4e6660c452dc.tar.gz external_mesa3d-935e4c56e5b10a0a702d95f78e9f4e6660c452dc.tar.bz2 |
i915g: Implement new winsys
Diffstat (limited to 'src/gallium/winsys/drm/intel/gem/intel_be_api.c')
-rw-r--r-- | src/gallium/winsys/drm/intel/gem/intel_be_api.c | 36 |
1 files changed, 0 insertions, 36 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 deleted file mode 100644 index 3e90088..0000000 --- a/src/gallium/winsys/drm/intel/gem/intel_be_api.c +++ /dev/null @@ -1,36 +0,0 @@ - -#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) -{ - -} - -struct drm_api intel_be_drm_api = -{ - /* intel_be_context.c */ - .create_context = intel_be_create_context, - /* intel_be_device.c */ - .create_screen = intel_be_create_screen, - .texture_from_shared_handle = intel_be_texture_from_shared_handle, - .shared_handle_from_texture = intel_be_shared_handle_from_texture, - .local_handle_from_texture = intel_be_local_handle_from_texture, - .destroy = destroy, -}; - -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 -} |