Re: [Mesa-dev] [PATCH 8/9] gallium/radeon: Implement hooks for DRI Image 7

2013-11-22 Thread Axel Davy
+size = lseek(whandle->handle, SEEK_END, 0); +/* + * Could check errno to determine whether the kernel is new enough, but + * it doesn't really matter why this failed, just that it failed. + */ +if (size == (off_t)-1) { +FREE(bo); +

[Mesa-dev] [PATCH 8/9] gallium/radeon: Implement hooks for DRI Image 7

2013-11-20 Thread christopher . halse . rogers
From: Christopher James Halse Rogers --- src/gallium/targets/r300/common/drm_target.c | 27 +- src/gallium/targets/r600/common/drm_target.c | 16 src/gallium/targets/radeonsi/common/drm_target.c | 16 src/gallium/winsys/radeon/drm/radeon_drm_bo.c| 107 +++