Home | History | Annotate | Download | only in intel

Lines Matching defs:sync

35  * application is using many sync objects, it will emit small batchbuffers
51 struct intel_sync_object *sync;
53 sync = calloc(1, sizeof(struct intel_sync_object));
55 return &sync->Base;
61 struct intel_sync_object *sync = (struct intel_sync_object *)s;
63 drm_intel_bo_unreference(sync->bo);
64 free(sync);
72 struct intel_sync_object *sync = (struct intel_sync_object *)s;
77 sync->bo = intel->batch.bo;
78 drm_intel_bo_reference(sync->bo);
93 struct intel_sync_object *sync = (struct intel_sync_object *)s;
95 if (sync->bo) {
96 drm_intel_bo_wait_rendering(sync->bo);
98 drm_intel_bo_unreference(sync->bo);
99 sync->bo = NULL;
104 * so given that the sync object has already flushed the batchbuffer,
115 struct intel_sync_object *sync = (struct intel_sync_object *)s;
117 if (sync->bo && !drm_intel_bo_busy(sync->bo)) {
118 drm_intel_bo_unreference(sync->bo);
119 sync->bo = NULL;