Remove a dead variable, a int->bool conversion and some
whitespace changes.
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
case PIPE_CAP_VIDEO_MEMORY:
return 0;
case PIPE_CAP_NATIVE_FENCE_FD:
- return !!vscreen->vws->supports_fences;
+ return vscreen->vws->supports_fences;
default:
return u_pipe_screen_get_param_defaults(screen, param);
}
qdws->base.get_caps = virgl_drm_get_caps;
-
uint32_t value = 0;
getparam.param = VIRTGPU_PARAM_CAPSET_QUERY_FIX;
getparam.value = (uint64_t)(uintptr_t)&value;
{
struct virgl_winsys base;
int fd;
- int drm_version;
struct list_head delayed;
int num_delayed;
unsigned usecs;
vtws->base.flush_frontbuffer = virgl_vtest_flush_frontbuffer;
-
return &vtws->base;
}