diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 15:49:02 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-22 15:49:02 +0100 |
commit | 53a4d9e982420e8a921ecf7b9542adbd3586317c (patch) | |
tree | a4606602ab0cb859dbdff254772dafab47780a36 /lib | |
parent | 83a4c7d3eb6347f9b743144611b08a2869f11f94 (diff) |
lib/intel_batchbuffer: igt_ prefix for rendercopy/mediafill funcs
Now everything is prepared to pour some neat api docs over this all.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/intel_batchbuffer.c | 14 | ||||
-rw-r--r-- | lib/intel_batchbuffer.h | 24 |
2 files changed, 19 insertions, 19 deletions
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index 0da0043c..6a585c7d 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -298,9 +298,9 @@ intel_batchbuffer_data(struct intel_batchbuffer *batch, */ void intel_blt_copy(struct intel_batchbuffer *batch, - drm_intel_bo *src_bo, int src_x1, int src_y1, int src_pitch, - drm_intel_bo *dst_bo, int dst_x1, int dst_y1, int dst_pitch, - int width, int height, int bpp) + drm_intel_bo *src_bo, int src_x1, int src_y1, int src_pitch, + drm_intel_bo *dst_bo, int dst_x1, int dst_y1, int dst_pitch, + int width, int height, int bpp) { uint32_t src_tiling, dst_tiling, swizzle; uint32_t cmd_bits = 0; @@ -397,9 +397,9 @@ unsigned igt_buf_height(struct igt_buf *buf) return buf->size/buf->stride; } -render_copyfunc_t get_render_copyfunc(int devid) +igt_render_copyfunc_t igt_get_render_copyfunc(int devid) { - render_copyfunc_t copy = NULL; + igt_render_copyfunc_t copy = NULL; if (IS_GEN2(devid)) copy = gen2_render_copyfunc; @@ -415,9 +415,9 @@ render_copyfunc_t get_render_copyfunc(int devid) return copy; } -media_fillfunc_t get_media_fillfunc(int devid) +igt_media_fillfunc_t igt_get_media_fillfunc(int devid) { - media_fillfunc_t fill = NULL; + igt_media_fillfunc_t fill = NULL; if (IS_GEN8(devid)) fill = gen8_media_fillfunc; diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h index 333b0894..3daf33cd 100644 --- a/lib/intel_batchbuffer.h +++ b/lib/intel_batchbuffer.h @@ -209,20 +209,20 @@ struct igt_buf { unsigned igt_buf_width(struct igt_buf *buf); unsigned igt_buf_height(struct igt_buf *buf); -typedef void (*render_copyfunc_t)(struct intel_batchbuffer *batch, - drm_intel_context *context, - struct igt_buf *src, unsigned src_x, unsigned src_y, - unsigned width, unsigned height, - struct igt_buf *dst, unsigned dst_x, unsigned dst_y); +typedef void (*igt_render_copyfunc_t)(struct intel_batchbuffer *batch, + drm_intel_context *context, + struct igt_buf *src, unsigned src_x, unsigned src_y, + unsigned width, unsigned height, + struct igt_buf *dst, unsigned dst_x, unsigned dst_y); -render_copyfunc_t get_render_copyfunc(int devid); +igt_render_copyfunc_t igt_get_render_copyfunc(int devid); -typedef void (*media_fillfunc_t)(struct intel_batchbuffer *batch, - struct igt_buf *dst, - unsigned x, unsigned y, - unsigned width, unsigned height, - uint8_t color); +typedef void (*igt_media_fillfunc_t)(struct intel_batchbuffer *batch, + struct igt_buf *dst, + unsigned x, unsigned y, + unsigned width, unsigned height, + uint8_t color); -media_fillfunc_t get_media_fillfunc(int devid); +igt_media_fillfunc_t igt_get_media_fillfunc(int devid); #endif |