uint32_t handle = whandle->handle;
if (whandle->offset != 0) {
- fprintf(stderr, "attempt to import unsupported winsys offset %u\n",
- whandle->offset);
+ _debug_printf("attempt to import unsupported winsys offset %u\n",
+ whandle->offset);
return NULL;
}
cbuf->nres * sizeof(struct virgl_hw_buf*),
new_nres * sizeof(struct virgl_hw_buf*));
if (!new_ptr) {
- fprintf(stderr,"failure to add relocation %d, %d\n", cbuf->cres, new_nres);
+ _debug_printf("failure to add relocation %d, %d\n", cbuf->cres, new_nres);
return;
}
cbuf->res_bo = new_ptr;
cbuf->nres * sizeof(uint32_t),
new_nres * sizeof(uint32_t));
if (!new_ptr) {
- fprintf(stderr,"failure to add hlist relocation %d, %d\n", cbuf->cres, cbuf->nres);
+ _debug_printf("failure to add hlist relocation %d, %d\n", cbuf->cres, cbuf->nres);
return;
}
cbuf->res_hlist = new_ptr;
ret = drmIoctl(qdws->fd, DRM_IOCTL_VIRTGPU_EXECBUFFER, &eb);
if (ret == -1)
- fprintf(stderr,"got error from kernel - expect bad rendering %d\n", errno);
+ _debug_printf("got error from kernel - expect bad rendering %d\n", errno);
cbuf->base.cdw = 0;
if (qws->supports_fences) {