Lines Matching refs:driscreen
74 struct dri_screen *driscreen; member
81 struct dri_screen *driscreen = dri_screen(_screen); in dri2_fence_get_caps() local
82 struct pipe_screen *screen = driscreen->base.screen; in dri2_fence_get_caps()
107 fence->driscreen = dri_screen(_ctx->driScreenPriv); in dri2_create_fence()
130 fence->driscreen = dri_screen(_ctx->driScreenPriv); in dri2_create_fence_fd()
137 struct dri_screen *driscreen = dri_screen(_screen); in dri2_get_fence_fd() local
138 struct pipe_screen *screen = driscreen->base.screen; in dri2_get_fence_fd()
147 struct dri_screen *driscreen = dri_screen(_screen); in dri2_get_fence_from_cl_event() local
150 if (!dri2_load_opencl_interop(driscreen)) in dri2_get_fence_from_cl_event()
159 if (!driscreen->opencl_dri_event_add_ref(fence->cl_event)) { in dri2_get_fence_from_cl_event()
164 fence->driscreen = driscreen; in dri2_get_fence_from_cl_event()
171 struct dri_screen *driscreen = dri_screen(_screen); in dri2_destroy_fence() local
172 struct pipe_screen *screen = driscreen->base.screen; in dri2_destroy_fence()
178 driscreen->opencl_dri_event_release(fence->cl_event); in dri2_destroy_fence()
190 struct dri_screen *driscreen = fence->driscreen; in dri2_client_wait_sync() local
191 struct pipe_screen *screen = driscreen->base.screen; in dri2_client_wait_sync()
199 driscreen->opencl_dri_event_get_fence(fence->cl_event); in dri2_client_wait_sync()
204 return driscreen->opencl_dri_event_wait(fence->cl_event, timeout); in dri2_client_wait_sync()