Home | History | Annotate | Download | only in i965

Lines Matching refs:sync

35  * application is using many sync objects, it will emit small batchbuffers
165 * so given that the sync object has already flushed the batchbuffer, any
174 struct brw_gl_sync *sync;
176 sync = calloc(1, sizeof(*sync));
177 if (!sync)
180 return &sync->gl;
186 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync;
188 brw_fence_finish(&sync->fence);
189 free(sync);
197 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync;
199 brw_fence_init(brw, &sync->fence);
200 brw_fence_insert(brw, &sync->fence);
208 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync;
210 if (brw_fence_client_wait(brw, &sync->fence, timeout))
211 sync->gl.StatusFlag = 1;
219 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync;
221 brw_fence_server_wait(brw, &sync->fence);
227 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync;
229 if (brw_fence_has_completed(&sync->fence))
230 sync->gl.StatusFlag = 1;