summaryrefslogtreecommitdiff
path: root/lib/rendercopy_gen6.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-22 15:31:15 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-22 15:31:15 +0100
commit7dc0001f3db58af82f7e34c83a9fdb5fe90baccd (patch)
treebbfc35f4c6ca4423f90752b3ee34755b57d1af47 /lib/rendercopy_gen6.c
parenta8e8654f81380c19f7c90479f98b9d9314f638b3 (diff)
lib: make rendercopy.h an internal header
And move the public interfaces into intel_batchbuffer.[hc]. A bit messy since we are fairly inconsistent with our header #include handling. Also exclude rendercopy.h from the documentation. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/rendercopy_gen6.c')
-rw-r--r--lib/rendercopy_gen6.c20
1 files changed, 18 insertions, 2 deletions
diff --git a/lib/rendercopy_gen6.c b/lib/rendercopy_gen6.c
index 457cb354..092a312b 100644
--- a/lib/rendercopy_gen6.c
+++ b/lib/rendercopy_gen6.c
@@ -1,8 +1,24 @@
+#include <assert.h>
+#include <stdlib.h>
+#include <sys/ioctl.h>
+#include <stdio.h>
+#include <string.h>
+#include <assert.h>
+#include <fcntl.h>
+#include <inttypes.h>
+#include <errno.h>
+#include <sys/stat.h>
+#include <sys/time.h>
+#include <getopt.h>
+#include "drm.h"
+#include "i915_drm.h"
+#include "drmtest.h"
+#include "intel_bufmgr.h"
+#include "intel_batchbuffer.h"
+#include "intel_gpu_tools.h"
#include "rendercopy.h"
#include "gen6_render.h"
-#include <assert.h>
-
#define ALIGN(x, y) (((x) + (y)-1) & ~((y)-1))
#define VERTEX_SIZE (3*4)