mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-25 15:09:43 +00:00
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:
+2
-2
@@ -168,7 +168,7 @@ static void fill_blt(data_t *data, uint32_t handle, unsigned char color)
|
||||
gem_bo_busy(data->drm_fd, handle);
|
||||
}
|
||||
|
||||
static void scratch_buf_init(struct scratch_buf *buf, drm_intel_bo *bo)
|
||||
static void scratch_buf_init(struct igt_buf *buf, drm_intel_bo *bo)
|
||||
{
|
||||
buf->bo = bo;
|
||||
buf->stride = 4096;
|
||||
@@ -204,7 +204,7 @@ static void fill_render(data_t *data, uint32_t handle,
|
||||
{
|
||||
drm_intel_bo *src, *dst;
|
||||
struct intel_batchbuffer *batch;
|
||||
struct scratch_buf src_buf, dst_buf;
|
||||
struct igt_buf src_buf, dst_buf;
|
||||
const uint8_t buf[4] = { color, color, color, color };
|
||||
render_copyfunc_t rendercopy = get_render_copyfunc(data->devid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user