mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 05:13:47 +00:00
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>
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
#define SIZE (HEIGHT*STRIDE)
|
||||
|
||||
static uint32_t linear[WIDTH*HEIGHT];
|
||||
static render_copyfunc_t render_copy;
|
||||
static igt_render_copyfunc_t render_copy;
|
||||
|
||||
static void
|
||||
check_bo(int fd, uint32_t handle, uint32_t val)
|
||||
@@ -93,7 +93,7 @@ int main(int argc, char **argv)
|
||||
|
||||
fd = drm_open_any();
|
||||
|
||||
render_copy = get_render_copyfunc(intel_get_drm_devid(fd));
|
||||
render_copy = igt_get_render_copyfunc(intel_get_drm_devid(fd));
|
||||
if (render_copy == NULL) {
|
||||
printf("no render-copy function, doing nothing\n");
|
||||
return 77;
|
||||
|
||||
Reference in New Issue
Block a user