lib/intel_batchbuffer: igt_ namespace for the buffer structure

Step one to properly namespace the rendercpy/mediafill functions. Als
give the buf_height/width helpers a proper igt_ prefix.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2014-03-22 15:44:48 +01:00
parent 82c6dffe9f
commit 83a4c7d3eb
22 changed files with 158 additions and 158 deletions
+4 -4
View File
@@ -70,7 +70,7 @@ struct option_struct {
static struct option_struct options;
static void init_buffer(drm_intel_bufmgr *bufmgr,
struct scratch_buf *buf,
struct igt_buf *buf,
drm_intel_bo *bo,
int width, int height)
{
@@ -139,8 +139,8 @@ static void release_bo(drm_intel_bo *bo)
drm_intel_bo_unreference(bo);
}
static void render_copyfunc(struct scratch_buf *src,
struct scratch_buf *dst,
static void render_copyfunc(struct igt_buf *src,
struct igt_buf *dst,
int width,
int height)
{
@@ -188,7 +188,7 @@ static int run_sync_test(int num_buffers, bool verify)
int r = -1;
int failed = 0;
unsigned int *p_dst1, *p_dst2;
struct scratch_buf *s_src, *s_dst;
struct igt_buf *s_src, *s_dst;
fd = drm_open_any();
igt_assert(fd >= 0);