Searched refs:sync (Results 1 - 25 of 525) sorted by relevance

1234567891011>>

/xsrc/external/mit/xorg-server/dist/miext/
H A DMakefile.am1 SUBDIRS = sync damage shadow rootless
/xsrc/external/mit/MesaLib.old/dist/src/egl/main/
H A Deglsync.h44 /* A sync is a display resource */
56 _eglInitSync(_EGLSync *sync, _EGLDisplay *disp, EGLenum type,
61 _eglGetSyncAttrib(_EGLDriver *drv, _EGLDisplay *disp, _EGLSync *sync,
66 * Increment reference count for the sync.
69 _eglGetSync(_EGLSync *sync) argument
71 if (sync)
72 _eglGetResource(&sync->Resource);
73 return sync;
78 * Decrement reference count for the sync.
81 _eglPutSync(_EGLSync *sync) argument
92 _eglLinkSync(_EGLSync * sync) argument
103 _eglUnlinkSync(_EGLSync * sync) argument
116 _EGLSync *sync = (_EGLSync *) handle; local in function:_eglLookupSync
127 _eglGetSyncHandle(_EGLSync * sync) argument
[all...]
H A Deglsync.c39 * Parse the list of sync attributes and return the proper error code.
42 _eglParseSyncAttribList(_EGLSync *sync, const EGLAttrib *attrib_list) argument
56 if (sync->Type == EGL_SYNC_CL_EVENT_KHR) {
57 sync->CLEvent = val;
63 if (sync->Type == EGL_SYNC_NATIVE_FENCE_ANDROID) {
65 sync->SyncFd = val;
76 _eglLog(_EGL_DEBUG, "bad sync attribute 0x%" PRIxPTR, attr);
86 _eglInitSync(_EGLSync *sync, _EGLDisplay *disp, EGLenum type, argument
91 _eglInitResource(&sync->Resource, sizeof(*sync), dis
123 _eglGetSyncAttrib(_EGLDriver * drv,_EGLDisplay * disp,_EGLSync * sync,EGLint attribute,EGLAttrib * value) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/egl/main/
H A Deglsync.h44 /* A sync is a display resource */
56 _eglInitSync(_EGLSync *sync, _EGLDisplay *disp, EGLenum type,
61 _eglGetSyncAttrib(_EGLDisplay *disp, _EGLSync *sync,
66 * Increment reference count for the sync.
69 _eglGetSync(_EGLSync *sync) argument
71 if (sync)
72 _eglGetResource(&sync->Resource);
73 return sync;
78 * Decrement reference count for the sync.
81 _eglPutSync(_EGLSync *sync) argument
92 _eglLinkSync(_EGLSync * sync) argument
103 _eglUnlinkSync(_EGLSync * sync) argument
116 _EGLSync *sync = (_EGLSync *) handle; local in function:_eglLookupSync
127 _eglGetSyncHandle(_EGLSync * sync) argument
[all...]
H A Deglsync.c39 * Parse the list of sync attributes and return the proper error code.
42 _eglParseSyncAttribList(_EGLSync *sync, const EGLAttrib *attrib_list) argument
56 if (sync->Type == EGL_SYNC_CL_EVENT_KHR) {
57 sync->CLEvent = val;
63 if (sync->Type == EGL_SYNC_NATIVE_FENCE_ANDROID) {
65 sync->SyncFd = val;
76 _eglLog(_EGL_DEBUG, "bad sync attribute 0x%" PRIxPTR, attr);
86 _eglInitSync(_EGLSync *sync, _EGLDisplay *disp, EGLenum type, argument
91 _eglInitResource(&sync->Resource, sizeof(*sync), dis
123 _eglGetSyncAttrib(_EGLDisplay * disp,_EGLSync * sync,EGLint attribute,EGLAttrib * value) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dsyncobj.h51 _mesa_get_and_ref_sync(struct gl_context *ctx, GLsync sync, bool incRefCount);
58 _mesa_IsSync(GLsync sync);
61 _mesa_DeleteSync_no_error(GLsync sync);
64 _mesa_DeleteSync(GLsync sync);
73 _mesa_ClientWaitSync_no_error(GLsync sync, GLbitfield flags, GLuint64 timeout);
76 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
79 _mesa_WaitSync_no_error(GLsync sync, GLbitfield flags, GLuint64 timeout);
82 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
85 _mesa_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length,
H A Dsyncobj.c28 * Unlike textures and other objects that are shared between contexts, sync
30 * and delete behavior of sync objects is slightly different. References to
31 * sync objects are added:
45 * As with shader objects, sync object names become invalid as soon as
108 * whether the state of the sync object has changed.
123 * the state of the sync object changes or the timeout expires.
143 * Allocate/init the context state related to sync objects.
153 * Free the context state related to sync objects.
163 * Check if the given sync object is:
165 * - not in sync object
176 _mesa_get_and_ref_sync(struct gl_context * ctx,GLsync sync,bool incRefCount) argument
216 _mesa_IsSync(GLsync sync) argument
226 delete_sync(struct gl_context * ctx,GLsync sync,bool no_error) argument
258 _mesa_DeleteSync_no_error(GLsync sync) argument
266 _mesa_DeleteSync(GLsync sync) argument
367 _mesa_ClientWaitSync_no_error(GLsync sync,GLbitfield flags,GLuint64 timeout) argument
377 _mesa_ClientWaitSync(GLsync sync,GLbitfield flags,GLuint64 timeout) argument
410 _mesa_WaitSync_no_error(GLsync sync,GLbitfield flags,GLuint64 timeout) argument
420 _mesa_WaitSync(GLsync sync,GLbitfield flags,GLuint64 timeout) argument
448 _mesa_GetSynciv(GLsync sync,GLenum pname,GLsizei bufSize,GLsizei * length,GLint * values) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dsyncobj.h51 _mesa_get_and_ref_sync(struct gl_context *ctx, GLsync sync, bool incRefCount);
58 _mesa_IsSync(GLsync sync);
61 _mesa_DeleteSync_no_error(GLsync sync);
64 _mesa_DeleteSync(GLsync sync);
73 _mesa_ClientWaitSync_no_error(GLsync sync, GLbitfield flags, GLuint64 timeout);
76 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
79 _mesa_WaitSync_no_error(GLsync sync, GLbitfield flags, GLuint64 timeout);
82 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
85 _mesa_GetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length,
H A Dsyncobj.c28 * Unlike textures and other objects that are shared between contexts, sync
30 * and delete behavior of sync objects is slightly different. References to
31 * sync objects are added:
45 * As with shader objects, sync object names become invalid as soon as
109 * whether the state of the sync object has changed.
124 * the state of the sync object changes or the timeout expires.
144 * Allocate/init the context state related to sync objects.
154 * Free the context state related to sync objects.
164 * Check if the given sync object is:
166 * - not in sync object
177 _mesa_get_and_ref_sync(struct gl_context * ctx,GLsync sync,bool incRefCount) argument
217 _mesa_IsSync(GLsync sync) argument
227 delete_sync(struct gl_context * ctx,GLsync sync,bool no_error) argument
259 _mesa_DeleteSync_no_error(GLsync sync) argument
267 _mesa_DeleteSync(GLsync sync) argument
368 _mesa_ClientWaitSync_no_error(GLsync sync,GLbitfield flags,GLuint64 timeout) argument
378 _mesa_ClientWaitSync(GLsync sync,GLbitfield flags,GLuint64 timeout) argument
411 _mesa_WaitSync_no_error(GLsync sync,GLbitfield flags,GLuint64 timeout) argument
421 _mesa_WaitSync(GLsync sync,GLbitfield flags,GLuint64 timeout) argument
449 _mesa_GetSynciv(GLsync sync,GLenum pname,GLsizei bufSize,GLsizei * length,GLint * values) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/android_stub/
H A Dsync_stub.cpp2 #include <sync/sync.h>
/xsrc/external/mit/xorg-server.old/dist/miext/
H A DMakefile.am1 SUBDIRS = sync damage shadow
11 DIST_SUBDIRS = sync damage shadow cw rootless
/xsrc/external/mit/xf86-video-nouveau/dist/src/
H A Dnouveau_sync.c43 pNv->sync; \
67 SyncScreenFuncsPtr sync = miSyncGetScreenFuncs(screen); local in function:nouveau_syncobj_new
70 swap(priv, sync, CreateFence);
71 sync->CreateFence(screen, fence, triggered);
72 swap(priv, sync, CreateFence);
81 SyncScreenFuncsPtr sync = miSyncGetScreenFuncs(screen); local in function:nouveau_sync_fini
85 unwrap(priv, sync, CreateFence);
87 pNv->sync = NULL;
97 SyncScreenFuncsPtr sync; local in function:nouveau_sync_init
99 priv = pNv->sync
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/
H A Dintel_syncobj.c35 * application is using many sync objects, it will emit small batchbuffers
156 * so given that the sync object has already flushed the batchbuffer, any
165 struct intel_gl_sync_object *sync; local in function:intel_gl_new_sync_object
167 sync = calloc(1, sizeof(*sync));
168 if (!sync)
171 return &sync->Base;
177 struct intel_gl_sync_object *sync = (struct intel_gl_sync_object *)s; local in function:intel_gl_delete_sync_object
179 intel_fence_finish(&sync->fence);
180 free(sync);
188 struct intel_gl_sync_object *sync = (struct intel_gl_sync_object *)s; local in function:intel_gl_fence_sync
198 struct intel_gl_sync_object *sync = (struct intel_gl_sync_object *)s; local in function:intel_gl_client_wait_sync
209 struct intel_gl_sync_object *sync = (struct intel_gl_sync_object *)s; local in function:intel_gl_server_wait_sync
217 struct intel_gl_sync_object *sync = (struct intel_gl_sync_object *)s; local in function:intel_gl_check_sync
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/
H A Dintel_syncobj.c35 * application is using many sync objects, it will emit small batchbuffers
154 * so given that the sync object has already flushed the batchbuffer, any
163 struct intel_gl_sync_object *sync; local in function:intel_gl_new_sync_object
165 sync = calloc(1, sizeof(*sync));
166 if (!sync)
169 return &sync->Base;
175 struct intel_gl_sync_object *sync = (struct intel_gl_sync_object *)s; local in function:intel_gl_delete_sync_object
177 intel_fence_finish(&sync->fence);
178 free(sync);
186 struct intel_gl_sync_object *sync = (struct intel_gl_sync_object *)s; local in function:intel_gl_fence_sync
196 struct intel_gl_sync_object *sync = (struct intel_gl_sync_object *)s; local in function:intel_gl_client_wait_sync
207 struct intel_gl_sync_object *sync = (struct intel_gl_sync_object *)s; local in function:intel_gl_server_wait_sync
215 struct intel_gl_sync_object *sync = (struct intel_gl_sync_object *)s; local in function:intel_gl_check_sync
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_sync.c35 * application is using many sync objects, it will emit small batchbuffers
119 * When the condition of the sync object is satisfied by the fence
120 * command, the sync is signaled by the associated client API context,
122 * <sync> to unblock. The only condition currently supported is
124 * completion of the fence command corresponding to the sync object,
126 * command stream. The sync object will not be signaled until all
321 * so given that the sync object has already flushed the batchbuffer, any
342 struct brw_gl_sync *sync; local in function:brw_gl_new_sync
344 sync = calloc(1, sizeof(*sync));
354 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; local in function:brw_gl_delete_sync
365 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; local in function:brw_gl_fence_sync
384 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; local in function:brw_gl_client_wait_sync
395 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; local in function:brw_gl_server_wait_sync
403 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; local in function:brw_gl_check_sync
[all...]
/xsrc/external/mit/xorg-server.old/dist/miext/sync/
H A Dmisyncstr.h49 SyncObject sync; /* Common sync object data */ member in struct:_SyncCounter
55 SyncObject sync; /* Common sync object data */ member in struct:_SyncFence
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_sync.c34 struct panvk_syncobj *sync,
47 sync->permanent = create.handle;
53 sync_set_temporary(struct panvk_device *device, struct panvk_syncobj *sync, argument
58 if (sync->temporary) {
59 struct drm_syncobj_destroy destroy = { .handle = sync->temporary };
63 sync->temporary = syncobj;
67 sync_destroy(struct panvk_device *device, struct panvk_syncobj *sync) argument
71 if (!sync)
74 sync_set_temporary(device, sync, 0);
75 struct drm_syncobj_destroy destroy = { .handle = sync
33 sync_create(struct panvk_device * device,struct panvk_syncobj * sync,bool signaled) argument
80 sync_import(struct panvk_device * device,struct panvk_syncobj * sync,bool temporary,bool sync_fd,int fd) argument
135 sync_export(struct panvk_device * device,struct panvk_syncobj * sync,bool sync_fd,int * p_fd) argument
408 panvk_syncobj_to_fd(struct panvk_device * device,struct panvk_syncobj * sync) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_sync.c35 * application is using many sync objects, it will emit small batchbuffers
206 * When the condition of the sync object is satisfied by the fence
207 * command, the sync is signaled by the associated client API context,
209 * <sync> to unblock. The only condition currently supported is
211 * completion of the fence command corresponding to the sync object,
213 * command stream. The sync object will not be signaled until all
408 * so given that the sync object has already flushed the batchbuffer, any
429 struct brw_gl_sync *sync; local in function:brw_gl_new_sync
431 sync = calloc(1, sizeof(*sync));
441 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; local in function:brw_gl_delete_sync
453 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; local in function:brw_gl_fence_sync
472 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; local in function:brw_gl_client_wait_sync
483 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; local in function:brw_gl_server_wait_sync
491 struct brw_gl_sync *sync = (struct brw_gl_sync *) _sync; local in function:brw_gl_check_sync
[all...]
/xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
H A Dvn_renderer.h29 * A sync consists of a uint64_t counter. The counter can be updated by CPU
71 * Submit cs to the virtual sync queue identified by sync_queue_index. The
74 * VkQueue, the virtual sync queue is signaled.
80 * When sync_queue_cpu is true, it specifies the special CPU sync queue,
87 /* syncs to update when the virtual sync queue is signaled */
192 struct vn_renderer_sync *sync);
195 struct vn_renderer_sync *sync,
200 struct vn_renderer_sync *sync,
205 struct vn_renderer_sync *sync,
210 struct vn_renderer_sync *sync,
430 vn_renderer_sync_destroy(struct vn_renderer * renderer,struct vn_renderer_sync * sync) argument
437 vn_renderer_sync_export_syncobj(struct vn_renderer * renderer,struct vn_renderer_sync * sync,bool sync_file) argument
445 vn_renderer_sync_reset(struct vn_renderer * renderer,struct vn_renderer_sync * sync,uint64_t initial_val) argument
453 vn_renderer_sync_read(struct vn_renderer * renderer,struct vn_renderer_sync * sync,uint64_t * val) argument
461 vn_renderer_sync_write(struct vn_renderer * renderer,struct vn_renderer_sync * sync,uint64_t val) argument
473 struct vn_renderer_sync *sync; local in function:vn_renderer_submit_simple_sync
[all...]
/xsrc/external/mit/xorg-server/dist/miext/sync/
H A Dmisync.c34 /* Default implementations of the sync screen functions */
86 /* Machine independent portion of the fence sync object implementation */
105 pFence->sync.initialized = TRUE;
111 pFence->sync.beingDestroyed = TRUE;
113 if (pFence->sync.initialized) {
119 for (ptl = pFence->sync.pTriglist; ptl; ptl = pNext) {
139 for (ptl = pFence->sync.pTriglist; ptl; ptl = pNext) {
H A Dmisyncstr.h51 SyncObject sync; /* Common sync object data */ member in struct:_SyncCounter
57 SyncObject sync; /* Common sync object data */ member in struct:_SyncFence
88 /* Wrappable sync-specific screen functions */
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_kgsl.c314 TU_FROM_HANDLE(tu_syncobj, sync, syncobjs[i]);
317 if (!sync->timestamp_valid)
321 ret.timestamp = sync->timestamp;
323 ret.timestamp = max_ts(ret.timestamp, sync->timestamp);
325 ret.timestamp = min_ts(ret.timestamp, sync->timestamp);
329 sync->timestamp_valid = false;
415 struct kgsl_command_syncpoint sync = { local in function:tu_QueueSubmit
427 .synclist = (uintptr_t) &sync,
451 "Failed to create sync file for timestamp: %s\n",
481 struct tu_syncobj *sync local in function:sync_create
645 tu_syncobj_to_fd(struct tu_device * device,struct tu_syncobj * sync) argument
[all...]
H A Dtu_drm.c578 struct tu_syncobj *sync = local in function:sync_create
579 vk_object_alloc(&device->vk, pAllocator, sizeof(*sync),
581 if (!sync)
591 vk_free2(&device->vk.alloc, pAllocator, sync);
595 sync->binary.permanent = create.handle;
596 sync->binary.temporary = 0;
597 sync->type = TU_SEMAPHORE_BINARY;
599 sync->type = TU_SEMAPHORE_TIMELINE;
600 sync->timeline.highest_signaled = sync
612 sync_set_temporary(struct tu_device * device,struct tu_syncobj * sync,uint32_t syncobj) argument
622 sync_destroy(VkDevice _device,struct tu_syncobj * sync,const VkAllocationCallbacks * pAllocator) argument
641 sync_import(VkDevice _device,struct tu_syncobj * sync,bool temporary,bool sync_fd,int fd) argument
693 sync_export(VkDevice _device,struct tu_syncobj * sync,bool sync_fd,int * p_fd) argument
1634 tu_syncobj_to_fd(struct tu_device * device,struct tu_syncobj * sync) argument
[all...]
/xsrc/external/mit/xorgproto/dist/specs/xextproto/
H A DMakefile.am16 sync.xml \
/xsrc/external/mit/xcb-proto/dist/src/
H A DMakefile.am21 sync.xml \

Completed in 15 milliseconds

1234567891011>>