/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/common/ |
egl_g3d_sync.c | 73 * Insert a fence command to the command stream of the current context. 84 /* insert the fence command */ 85 gctx->stctxi->flush(gctx->stctxi, 0x0, &gsync->fence); 86 if (!gsync->fence) 93 * Wait for the fence sync to be signaled. 100 if (gsync->fence) { 104 struct pipe_fence_handle *fence = gsync->fence; local 106 gsync->fence = NULL; 110 screen->fence_finish(screen, fence, PIPE_TIMEOUT_INFINITE) [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
egl_g3d_sync.c | 73 * Insert a fence command to the command stream of the current context. 84 /* insert the fence command */ 85 gctx->stctxi->flush(gctx->stctxi, 0x0, &gsync->fence); 86 if (!gsync->fence) 93 * Wait for the fence sync to be signaled. 100 if (gsync->fence) { 104 struct pipe_fence_handle *fence = gsync->fence; local 106 gsync->fence = NULL; 110 screen->fence_finish(screen, fence, PIPE_TIMEOUT_INFINITE) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/common/ |
dri_drawable.c | 286 * swap_fences_pop_front - pull a fence from the throttle queue 290 * number of fences, and return the last fence pulled. 296 struct pipe_fence_handle *fence = NULL; local 302 screen->fence_reference(screen, &fence, draw->swap_fences[draw->tail]); 307 return fence; 312 * swap_fences_push_back - push a fence onto the throttle queue 314 * push a fence onto the throttle queue and pull fences of the queue 319 struct pipe_fence_handle *fence) 323 if (!fence || draw->desired_fences == 0) 331 fence); 372 struct pipe_fence_handle *fence; local [all...] |
/external/mesa3d/src/gallium/state_trackers/dri/common/ |
dri_drawable.c | 286 * swap_fences_pop_front - pull a fence from the throttle queue 290 * number of fences, and return the last fence pulled. 296 struct pipe_fence_handle *fence = NULL; local 302 screen->fence_reference(screen, &fence, draw->swap_fences[draw->tail]); 307 return fence; 312 * swap_fences_push_back - push a fence onto the throttle queue 314 * push a fence onto the throttle queue and pull fences of the queue 319 struct pipe_fence_handle *fence) 323 if (!fence || draw->desired_fences == 0) 331 fence); 372 struct pipe_fence_handle *fence; local [all...] |
/external/llvm/test/CodeGen/Thumb2/ |
thumb2-bcc.ll | 13 fence seq_cst 19 fence seq_cst
|
/external/chromium_org/content/common/ |
one_writer_seqlock.cc | 31 // -- Load fence, read membarrier 39 // -- Store fence, write membarrier 45 // -- Store fence, write membarrier
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_query.c | 70 if (pq->fence) { 71 if (!lp_fence_issued(pq->fence)) 74 if (!lp_fence_signalled(pq->fence)) 75 lp_fence_wait(pq->fence); 77 lp_fence_reference(&pq->fence, NULL); 94 if (!pq->fence) { 95 /* no fence because there was no scene, so results is zero */ 100 if (!lp_fence_signalled(pq->fence)) { 101 if (!lp_fence_issued(pq->fence)) 107 lp_fence_wait(pq->fence); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/svga/drm/ |
vmw_fence.h | 44 struct pipe_fence_handle *fence, 48 struct pipe_fence_handle *fence, 53 struct pipe_fence_handle *fence);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_query.c | 70 if (pq->fence) { 71 if (!lp_fence_issued(pq->fence)) 74 if (!lp_fence_signalled(pq->fence)) 75 lp_fence_wait(pq->fence); 77 lp_fence_reference(&pq->fence, NULL); 94 if (!pq->fence) { 95 /* no fence because there was no scene, so results is zero */ 100 if (!lp_fence_signalled(pq->fence)) { 101 if (!lp_fence_issued(pq->fence)) 107 lp_fence_wait(pq->fence); [all...] |
/external/mesa3d/src/gallium/winsys/svga/drm/ |
vmw_fence.h | 44 struct pipe_fence_handle *fence, 48 struct pipe_fence_handle *fence, 53 struct pipe_fence_handle *fence);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_flush.c | 68 struct pipe_fence_handle **fence) 71 struct pb_buffer **rfence = (struct pb_buffer**)fence; 81 /* Create a fence, which is a dummy BO. */ 85 /* Add the fence as a dummy relocation. */ 95 /* We have to create a fence object, but the command stream is empty 135 struct pipe_fence_handle **fence) 137 r300_flush(pipe, 0, fence);
|
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_cb_flush.c | 80 struct pipe_fence_handle **fence ) 86 st->pipe->flush( st->pipe, fence ); 95 struct pipe_fence_handle *fence = NULL; local 97 st_flush(st, &fence); 99 if(fence) { 100 st->pipe->screen->fence_finish(st->pipe->screen, fence, 102 st->pipe->screen->fence_reference(st->pipe->screen, &fence, NULL);
|
/external/mesa3d/src/gallium/drivers/r300/ |
r300_flush.c | 68 struct pipe_fence_handle **fence) 71 struct pb_buffer **rfence = (struct pb_buffer**)fence; 81 /* Create a fence, which is a dummy BO. */ 85 /* Add the fence as a dummy relocation. */ 95 /* We have to create a fence object, but the command stream is empty 135 struct pipe_fence_handle **fence) 137 r300_flush(pipe, 0, fence);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_flush.c | 80 struct pipe_fence_handle **fence ) 86 st->pipe->flush( st->pipe, fence ); 95 struct pipe_fence_handle *fence = NULL; local 97 st_flush(st, &fence); 99 if(fence) { 100 st->pipe->screen->fence_finish(st->pipe->screen, fence, 102 st->pipe->screen->fence_reference(st->pipe->screen, &fence, NULL);
|
/frameworks/base/services/java/com/android/server/location/ |
GeofenceState.java | 44 double mDistanceToCenter; // current distance to center of fence 46 public GeofenceState(Geofence fence, long expireAt, 51 mFence = fence; 59 mLocation.setLatitude(fence.getLatitude()); 60 mLocation.setLongitude(fence.getLongitude()); 65 * @return FLAG_ENTER or FLAG_EXIT if the fence was crossed, 0 otherwise 88 * Gets the distance from the current location to the fence's boundary.
|
/frameworks/native/libs/gui/ |
ConsumerBase.cpp | 95 mSlots[slotIndex].mFence = Fence::NO_FENCE; 198 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { 200 return addReleaseFenceLocked(slot, graphicBuffer, fence); 204 const sp<GraphicBuffer> graphicBuffer, const sp<Fence>& fence) { 208 // drop this fence, as it will never be received by the producer. 214 mSlots[slot].mFence = fence; 216 sp<Fence> mergedFence = Fence::merge [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
xa_context.c | 351 struct xa_fence *fence = calloc(1, sizeof(*fence)); local 354 if (!fence) 357 fence->xa = ctx->xa; 360 fence->pipe_fence = NULL; 362 screen->fence_reference(screen, &fence->pipe_fence, ctx->last_fence); 364 return fence; 368 xa_fence_wait(struct xa_fence *fence, uint64_t timeout) 370 if (!fence) 373 if (fence->pipe_fence) [all...] |
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_context.c | 351 struct xa_fence *fence = calloc(1, sizeof(*fence)); local 354 if (!fence) 357 fence->xa = ctx->xa; 360 fence->pipe_fence = NULL; 362 screen->fence_reference(screen, &fence->pipe_fence, ctx->last_fence); 364 return fence; 368 xa_fence_wait(struct xa_fence *fence, uint64_t timeout) 370 if (!fence) 373 if (fence->pipe_fence) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
radeonsi_pipe.c | 59 struct r600_fence *fence = NULL; local 69 R600_ERR("r600: failed to create bo for fence objects\n"); 80 /* Try to find a freed fence that has been signalled */ 84 fence = entry; 90 if (!fence) { 91 /* Allocate a new fence */ 113 fence = &block->fences[index % FENCE_BLOCK_SIZE]; 114 fence->index = index; 117 pipe_reference_init(&fence->reference, 1); 119 rscreen->fences.data[fence->index] = 0 [all...] |
/external/mesa3d/src/gallium/drivers/radeonsi/ |
radeonsi_pipe.c | 59 struct r600_fence *fence = NULL; local 69 R600_ERR("r600: failed to create bo for fence objects\n"); 80 /* Try to find a freed fence that has been signalled */ 84 fence = entry; 90 if (!fence) { 91 /* Allocate a new fence */ 113 fence = &block->fences[index % FENCE_BLOCK_SIZE]; 114 fence->index = index; 117 pipe_reference_init(&fence->reference, 1); 119 rscreen->fences.data[fence->index] = 0 [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/pipebuffer/ |
pb_buffer_fenced.c | 89 * fence to the newest fence. 148 struct pipe_fence_handle *fence; member in struct:fenced_buffer 204 "buffer", "size", "refcount", "storage", "fence", "signalled"); 210 assert(!fenced_buf->fence); 226 signaled = ops->fence_signalled(ops, fenced_buf->fence, 0); 232 (void *) fenced_buf->fence, 249 assert(!fenced_buf->fence); 274 assert(fenced_buf->fence); 298 assert(fenced_buf->fence); 344 struct pipe_fence_handle *fence = NULL; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_winsys.h | 117 * @fenced relocation needs a fence. 128 struct pipe_fence_handle **fence); 220 * Fence functions. 224 * Reference fence and set ptr to fence. 228 struct pipe_fence_handle *fence); 231 * Check if a fence has finished. 234 struct pipe_fence_handle *fence); 237 * Wait on a fence to finish. 240 struct pipe_fence_handle *fence); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_flush.c | 47 struct pipe_fence_handle **fence ) 99 if (fence) 100 *fence = (void*)(intptr_t)1; 105 struct pipe_fence_handle **fence ) 107 softpipe_flush(pipe, SP_FLUSH_TEXTURE_CACHE, fence); 149 struct pipe_fence_handle *fence = NULL; local 154 softpipe_flush(pipe, flush_flags, &fence); 156 if (fence) { 161 pipe->screen->fence_finish(pipe->screen, fence, 163 pipe->screen->fence_reference(pipe->screen, &fence, NULL) [all...] |
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_buffer_fenced.c | 89 * fence to the newest fence. 148 struct pipe_fence_handle *fence; member in struct:fenced_buffer 204 "buffer", "size", "refcount", "storage", "fence", "signalled"); 210 assert(!fenced_buf->fence); 226 signaled = ops->fence_signalled(ops, fenced_buf->fence, 0); 232 (void *) fenced_buf->fence, 249 assert(!fenced_buf->fence); 274 assert(fenced_buf->fence); 298 assert(fenced_buf->fence); 344 struct pipe_fence_handle *fence = NULL; local [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_winsys.h | 117 * @fenced relocation needs a fence. 128 struct pipe_fence_handle **fence); 220 * Fence functions. 224 * Reference fence and set ptr to fence. 228 struct pipe_fence_handle *fence); 231 * Check if a fence has finished. 234 struct pipe_fence_handle *fence); 237 * Wait on a fence to finish. 240 struct pipe_fence_handle *fence); [all...] |