/contrib/sdk/sources/Intel-2D/Makefile |
12,7 → 12,7 |
SNAFLAGS:= --version-script sna.ver --output-def sna.def |
UXAFLAGS:= --version-script uxa.ver --output-def uxa.def |
|
INCLUDES= -I. -I../libdrm/intel -I../libdrm/include/drm -I./render_program -I../pixman -I../newlib/include |
INCLUDES= -I. -I../libdrm/intel -I../libdrm/include/drm -I./render_program -I../pixman -I../newlib/libc/include |
|
LIBPATH:= -L../../lib |
|
/contrib/sdk/sources/Intel-2D/sna/kgem.c |
2744,7 → 2744,7 |
|
if (DEBUG_DUMP) |
{ |
int fd = open("/tmp1/1/batchbuffer.bin", O_CREAT|O_WRONLY|O_BINARY); |
int fd = open("/tmp1/1/batchbuffer.bin", O_CREAT|O_WRONLY); |
if (fd != -1) { |
ret = write(fd, kgem->batch, batch_end*sizeof(uint32_t)); |
fd = close(fd); |
/contrib/sdk/sources/Intel-2D/sna/sna_stream.c |
86,7 → 86,7 |
|
if (DEBUG_DUMP) |
{ |
int fd = open("/tmp1/1/static.bin", O_CREAT|O_WRONLY|O_BINARY); |
int fd = open("/tmp1/1/static.bin", O_CREAT|O_WRONLY); |
if (fd != -1) { |
write(fd, stream->data, stream->used); |
close(fd); |