summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/intel/gem/intel_be_api.c
blob: a74be13bf7abe0c132da9f2e6728e0f8ac9b87e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#include "intel_be_api.h"
#include "i915simple/i915_winsys.h"

#ifdef DEBUG
#include "trace/trace_drm.h"

struct drm_api hooks =
#else
struct drm_api drm_api_hooks =
#endif
{
	/* intel_be_context.c */
	.create_context = intel_be_create_context,
	/* intel_be_device.c */
	.create_screen = intel_be_create_screen,
	.buffer_from_texture = i915_get_texture_buffer,
	.buffer_from_handle = intel_be_buffer_from_handle,
	.handle_from_buffer = intel_be_handle_from_buffer,
	.global_handle_from_buffer = intel_be_global_handle_from_buffer,
};