summaryrefslogtreecommitdiff
path: root/lib/rendercopy.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-29 14:59:57 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-29 14:59:57 +0100
commit64f669f7a94d459437a4dd47142ef2bb9870c5e6 (patch)
tree1909c2f70746be602da9541dd3691e21c1bbca66 /lib/rendercopy.h
parentd79414f64a599e5ec35f5e865a5e24858602d186 (diff)
lib: extract get_render_copyfunc
Otherwise we won't update all the tests if we add new render copyfuncs. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/rendercopy.h')
-rw-r--r--lib/rendercopy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rendercopy.h b/lib/rendercopy.h
index 5989d503..b03c1472 100644
--- a/lib/rendercopy.h
+++ b/lib/rendercopy.h
@@ -63,6 +63,8 @@ typedef void (*render_copyfunc_t)(struct intel_batchbuffer *batch,
unsigned width, unsigned height,
struct scratch_buf *dst, unsigned dst_x, unsigned dst_y);
+render_copyfunc_t get_render_copyfunc(int devid);
+
void gen7_render_copyfunc(struct intel_batchbuffer *batch,
struct scratch_buf *src, unsigned src_x, unsigned src_y,
unsigned width, unsigned height,