HomeSort by relevance Sort by last modified time
    Searched full:fence (Results 1 - 25 of 894) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/mesa3d/src/gallium/drivers/nouveau/
nouveau_fence.c 34 nouveau_fence_new(struct nouveau_screen *screen, struct nouveau_fence **fence,
37 *fence = CALLOC_STRUCT(nouveau_fence);
38 if (!*fence)
41 (*fence)->screen = screen;
42 (*fence)->ref = 1;
43 LIST_INITHEAD(&(*fence)->work);
46 nouveau_fence_emit(*fence);
52 nouveau_fence_trigger_work(struct nouveau_fence *fence)
56 LIST_FOR_EACH_ENTRY_SAFE(work, tmp, &fence->work, list) {
64 nouveau_fence_work(struct nouveau_fence *fence,
139 struct nouveau_fence *fence; local
    [all...]
nouveau_fence.h 41 nouveau_fence_ref(struct nouveau_fence *fence, struct nouveau_fence **ref)
43 if (fence)
44 ++fence->ref;
51 *ref = fence;
55 nouveau_fence(struct pipe_fence_handle *fence)
57 return (struct nouveau_fence *)fence;
  /external/mesa3d/src/gallium/winsys/i915/drm/
i915_drm_fence.c 8 * Because gem does not have fence's we have to create our own fences.
11 * been idled. If bo is NULL fence has expired.
23 struct i915_drm_fence *fence = CALLOC_STRUCT(i915_drm_fence); local
25 pipe_reference_init(&fence->reference, 1);
26 /* bo is null if fence already expired */
29 fence->bo = bo;
32 return (struct pipe_fence_handle *)fence;
38 struct pipe_fence_handle *fence)
41 struct i915_drm_fence *f = (struct i915_drm_fence *)fence;
48 *ptr = fence;
    [all...]
  /external/mesa3d/src/gallium/drivers/llvmpipe/
lp_fence.c 36 * Create a new fence object.
39 * thread hits a fence command, it'll increment the fence counter. When
40 * the counter == the rank, the fence is finished.
42 * \param rank the expected finished value of the fence counter.
48 struct lp_fence *fence = CALLOC_STRUCT(lp_fence); local
50 if (!fence)
53 pipe_reference_init(&fence->reference, 1);
55 pipe_mutex_init(fence->mutex);
56 pipe_condvar_init(fence->signalled)
    [all...]
  /external/mesa3d/src/gallium/winsys/i915/sw/
i915_sw_fence.c 15 struct i915_sw_fence *fence = CALLOC_STRUCT(i915_sw_fence); local
17 pipe_reference_init(&fence->reference, 1);
19 return (struct pipe_fence_handle *)fence;
25 struct pipe_fence_handle *fence)
28 struct i915_sw_fence *f = (struct i915_sw_fence *)fence;
33 *ptr = fence;
38 struct pipe_fence_handle *fence)
47 struct pipe_fence_handle *fence)
  /frameworks/native/services/surfaceflinger/
FenceTracker.h 20 #include <ui/Fence.h>
34 * Keeps a circular buffer of fence/timestamp data for the last N frames in
41 void addFrame(nsecs_t refreshStartTime, sp<Fence> retireFence,
42 const Vector<sp<Layer>>& layers, sp<Fence> glDoneFence);
54 nsecs_t acquireTime; // timestamp from the acquire fence
55 nsecs_t releaseTime; // timestamp from the release fence
56 sp<Fence> acquireFence; // acquire fence
57 sp<Fence> releaseFence; // release fence
    [all...]
  /external/llvm/test/CodeGen/X86/
barrier-sse.ll 4 fence acquire
7 fence release
10 fence acq_rel
barrier.ll 5 fence seq_cst
membarrier.ll 8 fence seq_cst
10 fence seq_cst
  /frameworks/native/include/ui/
Fence.h 35 // Fence
38 class Fence
39 : public LightRefBase<Fence>, public Flattenable<Fence>
42 static const sp<Fence> NO_FENCE;
45 // should wait indefinitely for the fence to signal.
48 // Construct a new Fence object with an invalid file descriptor. This
49 // should be done when the Fence object will be set up by unflattening
51 Fence();
53 // Construct a new Fence object to manage a given fence file descriptor
    [all...]
  /external/kernel-headers/original/uapi/linux/
sync.h 19 * @fd2: file descriptor of second fence
20 * @name: name of new fence
21 * @fence: returns the fd of the new fence to userspace
24 __s32 fd2; /* fd of second fence */
25 char name[32]; /* name of new fence */
26 __s32 fence; /* fd on newly created fence */ member in struct:sync_merge_data
49 * struct sync_fence_info_data - data returned from fence info ioctl
53 * @name: name of fence
    [all...]
  /external/mesa3d/src/gallium/winsys/svga/drm/
vmw_fence.c 29 * kernel do determine a fence object signaled status if the fence is not
31 * execbuf ioctl returns the last signaled fence seqno, as does the
32 * fence signaled ioctl. We should set up a ring of fence objects and
34 * new passed fence seqno.
64 * @fence: The opaque pipe fence handle.
67 vmw_fence(struct pipe_fence_handle *fence)
69 return (struct vmw_fence *) fence;
83 struct vmw_fence *fence = CALLOC_STRUCT(vmw_fence); local
    [all...]
  /external/llvm/test/CodeGen/ARM/
noopt-dmb-v7.ll 6 fence seq_cst
7 fence seq_cst
8 fence seq_cst
  /frameworks/native/libs/ui/
Fence.cpp 17 #define LOG_TAG "Fence"
28 #include <ui/Fence.h>
35 const sp<Fence> Fence::NO_FENCE = sp<Fence>(new Fence);
37 Fence::Fence() :
41 Fence::Fence(int fenceFd)
    [all...]
  /external/llvm/test/Transforms/EarlyCSE/
fence.ll 9 ; We can value forward across the fence since we can (semantically)
10 ; reorder the following load before the fence.
14 ; CHECK: fence
18 fence release
27 ; CHECK: fence
31 fence release
39 ; followed by a release fence. If this thread observed the release
41 ; fence. Note that it would be legal to reorder '%a' after the fence
47 ; CHECK: fence
    [all...]
  /hardware/intel/common/libwsbm/src/
wsbm_fencemgr.c 55 * fence data.
110 wsbmFenceType(struct _WsbmFenceObject *fence)
112 return fence->fence_type;
163 struct _WsbmFenceObject *fence = *pFence; local
167 if (fence == NULL)
170 mgr = fence->mgr;
171 if (wsbmAtomicDecZero(&fence->refCount)) {
172 struct _WsbmFenceClass *fc = &mgr->classes[fence->fence_class];
175 WSBMLISTDELINIT(&fence->head);
177 if (fence->private
302 struct _WsbmFenceObject *fence; local
    [all...]
wsbm_fencemgr.h 43 * Do a quick check to see if the fence manager has registered the fence
47 extern uint32_t wsbmFenceSignaledTypeCached(struct _WsbmFenceObject *fence);
50 * Check if the fence object is signaled. This function can be substantially
55 extern int wsbmFenceSignaledType(struct _WsbmFenceObject *fence,
63 wsbmFenceSignaled(struct _WsbmFenceObject *fence, uint32_t flush_type)
66 int ret = wsbmFenceSignaledType(fence, flush_type, &signaled_types);
74 wsbmFenceSignaledCached(struct _WsbmFenceObject *fence, uint32_t flush_type)
76 uint32_t signaled_types = wsbmFenceSignaledTypeCached(fence);
82 * Reference a fence object
    [all...]
  /frameworks/native/opengl/specs/
EGL_ANDROID_native_fence_sync.txt 39 This extension enables the creation of EGL fence sync objects that are
40 associated with a native synchronization fence object that is referenced
41 using a file descriptor. These EGL fence sync objects have nearly
44 referring to the native fence object.
46 This extension assumes the existence of a native fence synchronization
47 object that behaves similarly to an EGL fence sync object. These native
49 indicates whether the fence has ever been signaled. Once signaled the
89 "If <type> is EGL_SYNC_NATIVE_FENCE_ANDROID, an EGL native fence sync
92 must be set to either a file descriptor that refers to a native fence
95 The default values for the EGL native fence sync object attributes are a
    [all...]
  /external/llvm/test/Transforms/LowerAtomic/
barrier.ll 5 fence seq_cst
  /system/core/libsync/tests/
sync_test.cpp 77 // Wrapper class for sync fence.
112 SyncFence(SyncFence &&fence) noexcept {
113 if (fence.isValid()) {
114 setFd(fence.getFd());
115 fence.clearFd();
118 SyncFence(const SyncFence &fence) noexcept {
121 if (fence.isValid()) {
122 int fd = dup(fence.getFd());
222 TEST(AllocTest, Fence) {
226 SyncFence fence(timeline, 1)
    [all...]
  /external/bison/m4/
memchr.m4 9 dnl Check for prerequisites for memory fence checks.
45 char *fence = NULL;
62 fence = two_pages + pagesize;
65 if (fence)
67 if (memchr (fence, 0, 0))
69 strcpy (fence - 9, "12345678");
70 if (memchr (fence - 9, 0, 79) != fence - 1)
72 if (memchr (fence - 1, 0, 3) != fence - 1
    [all...]
  /external/mesa3d/src/gallium/auxiliary/pipebuffer/
pb_buffer_fenced.h 38 * - the ability for the destruction to be delayed by a fence;
42 * handle. The end-of-life is dictated by the fence signalling.
44 * Between the handle's destruction, and the fence signalling, the buffer is
66 * List of buffers which are awaiting fence signalling.
75 /** Set ptr = fence, with reference counting */
78 struct pipe_fence_handle *fence );
81 * Checks whether the fence has been signalled.
86 struct pipe_fence_handle *fence,
90 * Wait for the fence to finish.
95 struct pipe_fence_handle *fence,
    [all...]
  /frameworks/native/libs/gui/tests/
BufferQueue_test.cpp 80 sp<Fence> fence; local
83 &scalingMode, &transform, &fence, NULL);
90 ASSERT_EQ(fence, item.mFence);
138 sp<Fence> fence; local
141 mProducer->dequeueBuffer(&slot, &fence, 0, 0, 0,
153 NATIVE_WINDOW_SCALING_MODE_FREEZE, 0, Fence::NO_FENCE);
176 sp<Fence> fence; local
227 sp<Fence> fence; local
264 sp<Fence> fence; local
329 sp<Fence> fence; local
378 sp<Fence> fence; local
437 sp<Fence> fence; local
485 sp<Fence> fence; local
519 sp<Fence> fence; local
561 sp<Fence> fence; local
612 sp<Fence> fence; local
678 sp<Fence> fence; local
732 sp<Fence> fence = Fence::NO_FENCE; local
759 sp<Fence> fence = Fence::NO_FENCE; local
769 sp<Fence> fence = Fence::NO_FENCE; local
813 sp<Fence> fence; local
866 sp<Fence> fence = Fence::NO_FENCE; local
1002 sp<Fence> fence = Fence::NO_FENCE; local
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
memory_order.hpp 26 // a trailing fence for acquire semantics can use a single
29 // if( mo & memory_order_acquire ) { ...fence... }
33 // if( mo & memory_order_release ) { ...fence... }
35 // Architectures such as Alpha that need a fence on consume
38 // if( mo & ( memory_order_acquire | memory_order_consume ) ) { ...fence... }
  /external/llvm/test/CodeGen/PowerPC/
atomics-fences.ll 11 fence acquire
19 fence release
26 fence seq_cst

Completed in 328 milliseconds

1 2 3 4 5 6 7 8 91011>>