mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +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:
@@ -137,7 +137,7 @@ int main(int argc, char **argv)
|
||||
|
||||
printf("Cyclic blits, forward...\n");
|
||||
for (i = 0; i < count * 4; i++) {
|
||||
struct scratch_buf src, dst;
|
||||
struct igt_buf src, dst;
|
||||
|
||||
src.bo = bo[i % count];
|
||||
src.stride = STRIDE;
|
||||
@@ -160,7 +160,7 @@ int main(int argc, char **argv)
|
||||
|
||||
printf("Cyclic blits, backward...\n");
|
||||
for (i = 0; i < count * 4; i++) {
|
||||
struct scratch_buf src, dst;
|
||||
struct igt_buf src, dst;
|
||||
|
||||
src.bo = bo[(i + 1) % count];
|
||||
src.stride = STRIDE;
|
||||
@@ -180,7 +180,7 @@ int main(int argc, char **argv)
|
||||
|
||||
printf("Random blits...\n");
|
||||
for (i = 0; i < count * 4; i++) {
|
||||
struct scratch_buf src, dst;
|
||||
struct igt_buf src, dst;
|
||||
int s = random() % count;
|
||||
int d = random() % count;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user