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
+3 -3
View File
@@ -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;