/frameworks/native/libs/gui/ |
Surface.cpp | 29 #include <ui/Fence.h> 132 sp<Fence> fence(new Fence(fenceFd)); 133 int waitResult = fence->waitForever("dequeueBuffer_DEPRECATED"); 135 ALOGE("dequeueBuffer_DEPRECATED: Fence::wait returned an error: %d", 214 sp<Fence> fence; local 215 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence, swapIntervalZero, 230 ALOGE_IF(fence == NULL, "Surface::dequeueBuffer: received null Fence! buf=%d", buf) [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
VirtualDisplaySurface.cpp | 197 // At this point we know the output buffer acquire fence, 217 sp<Fence> fbFence = mHwc.getAndResetReleaseFence(mDisplayId); 231 sp<Fence> outFence = mHwc.getLastRetireFence(mDisplayId); 287 uint32_t format, uint32_t usage, int* sslot, sp<Fence>* fence) { 292 status_t result = mSource[source]->dequeueBuffer(sslot, fence, async, 319 mSource[source]->cancelBuffer(*sslot, *fence); 331 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, bool async, 334 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, async, w, h, format, usage) [all...] |
VirtualDisplaySurface.h | 102 virtual status_t dequeueBuffer(int* pslot, sp<Fence>* fence, bool async, 106 sp<Fence>* outFence); 110 virtual void cancelBuffer(int pslot, const sp<Fence>& fence); 124 int* sslot, sp<Fence>* fence); 184 // mFbFence is the fence HWC should wait for before reading the framebuffer 186 sp<Fence> mFbFence; 188 // mOutputFence is the fence HWC should wait for before writing to th [all...] |
FramebufferSurface.cpp | 86 status_t FramebufferSurface::nextBuffer(sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence) { 127 sp<Fence> acquireFence; 148 sp<Fence> fence = mHwc.getAndResetReleaseFence(mDisplayType); local 149 if (fence->isValid() && 152 mCurrentBuffer, fence); 153 ALOGE_IF(err, "setReleaseFenceFd: failed to add the fence: %s (%d)",
|
/hardware/intel/img/hwcomposer/ips/tangier/ |
TngDisplayContext.cpp | 162 // close acquire fence 164 // Wait and close HWC_OVERLAY typed layer's acquire fence 181 // Wait and close framebuffer target layer's acquire fence 189 // Wait and close outbuf's acquire fence 197 // update release fence and retire fence 215 // log for layer fence status 234 // close original release fence fd
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/pipebuffer/ |
pb_buffer.h | 137 void (*fence)( struct pb_buffer *buf, member in struct:pb_vtbl 138 struct pipe_fence_handle *fence ); 215 pb_fence(struct pb_buffer *buf, struct pipe_fence_handle *fence) 220 assert(buf->vtbl->fence); 221 buf->vtbl->fence(buf, fence);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/identity/ |
id_screen.c | 211 struct pipe_fence_handle *fence) 218 fence); 223 struct pipe_fence_handle *fence) 229 fence); 234 struct pipe_fence_handle *fence, 241 fence,
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/rbug/ |
rbug_screen.c | 209 struct pipe_fence_handle *fence) 216 fence); 221 struct pipe_fence_handle *fence) 227 fence); 232 struct pipe_fence_handle *fence, 239 fence,
|
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/ |
p_screen.h | 182 /** Set ptr = fence, with reference counting */ 185 struct pipe_fence_handle *fence ); 188 * Checks whether the fence has been signalled. 191 struct pipe_fence_handle *fence ); 194 * Wait for the fence to finish. 198 struct pipe_fence_handle *fence,
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_buffer.h | 137 void (*fence)( struct pb_buffer *buf, member in struct:pb_vtbl 138 struct pipe_fence_handle *fence ); 215 pb_fence(struct pb_buffer *buf, struct pipe_fence_handle *fence) 220 assert(buf->vtbl->fence); 221 buf->vtbl->fence(buf, fence);
|
/external/mesa3d/src/gallium/drivers/identity/ |
id_screen.c | 211 struct pipe_fence_handle *fence) 218 fence); 223 struct pipe_fence_handle *fence) 229 fence); 234 struct pipe_fence_handle *fence, 241 fence,
|
/external/mesa3d/src/gallium/drivers/rbug/ |
rbug_screen.c | 209 struct pipe_fence_handle *fence) 216 fence); 221 struct pipe_fence_handle *fence) 227 fence); 232 struct pipe_fence_handle *fence, 239 fence,
|
/external/mesa3d/src/gallium/include/pipe/ |
p_screen.h | 182 /** Set ptr = fence, with reference counting */ 185 struct pipe_fence_handle *fence ); 188 * Checks whether the fence has been signalled. 191 struct pipe_fence_handle *fence ); 194 * Wait for the fence to finish. 198 struct pipe_fence_handle *fence,
|
/external/chromium_org/cc/resources/ |
resource_provider.h | 306 class Fence : public base::RefCounted<Fence> { 308 Fence() {} 314 friend class base::RefCounted<Fence>; 315 virtual ~Fence() {} 318 DISALLOW_COPY_AND_ASSIGN(Fence); 358 // Sets the current read fence. If a resource is locked for read 360 // until this fence has passed. 361 void SetReadLockFence(Fence* fence) { current_read_lock_fence_ = fence; [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
gpu_scheduler.cc | 66 // One of the unschedule fence tasks might have unscheduled us. 235 if (unschedule_fences_.front()->fence.get()) { 241 const UnscheduleFence& fence = *unschedule_fences_.front(); local 242 if (fence.fence->HasCompleted() || 243 now - fence.issue_time > timeout) { 302 : fence(fence_),
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_context.c | 205 struct pipe_fence_handle *fence = NULL; local 224 svga->swc->flush(svga->swc, &fence); 226 svga_screen_cache_flush(svgascreen, fence); 235 if (fence) 236 svga->pipe.screen->fence_finish( svga->pipe.screen, fence, 241 svgascreen->sws->fence_reference(svgascreen->sws, pfence, fence); 243 svgascreen->sws->fence_reference(svgascreen->sws, &fence, NULL);
|
svga_pipe_query.c | 50 struct pipe_fence_handle *fence; member in struct:svga_query 127 sws->fence_reference(sws, &sq->fence, NULL); 165 sws->fence_reference(sws, &sq->fence, NULL); 224 if(!sq->fence) { 234 svga_context_flush(svga, &sq->fence); 236 assert(sq->fence); 244 sws->fence_finish(sws, sq->fence, SVGA_FENCE_FLAG_QUERY);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/trace/ |
tr_screen.c | 323 * fence 353 struct pipe_fence_handle *fence) 362 trace_dump_arg(ptr, fence); 364 result = screen->fence_signalled(screen, fence); 376 struct pipe_fence_handle *fence, 386 trace_dump_arg(ptr, fence); 389 result = screen->fence_finish(screen, fence, timeout);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
presentation.c | 278 pipe->screen->fence_reference(pipe->screen, &surf->fence, NULL); 279 pipe->flush(pipe, &surf->fence); 328 if (surf->fence) { 330 screen->fence_finish(screen, surf->fence, 0); 363 if (!surf->fence) { 368 if (screen->fence_signalled(screen, surf->fence)) { 369 screen->fence_reference(screen, &surf->fence, NULL);
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_context.c | 205 struct pipe_fence_handle *fence = NULL; local 224 svga->swc->flush(svga->swc, &fence); 226 svga_screen_cache_flush(svgascreen, fence); 235 if (fence) 236 svga->pipe.screen->fence_finish( svga->pipe.screen, fence, 241 svgascreen->sws->fence_reference(svgascreen->sws, pfence, fence); 243 svgascreen->sws->fence_reference(svgascreen->sws, &fence, NULL);
|
svga_pipe_query.c | 50 struct pipe_fence_handle *fence; member in struct:svga_query 127 sws->fence_reference(sws, &sq->fence, NULL); 165 sws->fence_reference(sws, &sq->fence, NULL); 224 if(!sq->fence) { 234 svga_context_flush(svga, &sq->fence); 236 assert(sq->fence); 244 sws->fence_finish(sws, sq->fence, SVGA_FENCE_FLAG_QUERY);
|
/external/mesa3d/src/gallium/drivers/trace/ |
tr_screen.c | 323 * fence 353 struct pipe_fence_handle *fence) 362 trace_dump_arg(ptr, fence); 364 result = screen->fence_signalled(screen, fence); 376 struct pipe_fence_handle *fence, 386 trace_dump_arg(ptr, fence); 389 result = screen->fence_finish(screen, fence, timeout);
|
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
presentation.c | 278 pipe->screen->fence_reference(pipe->screen, &surf->fence, NULL); 279 pipe->flush(pipe, &surf->fence); 328 if (surf->fence) { 330 screen->fence_finish(screen, surf->fence, 0); 363 if (!surf->fence) { 368 if (screen->fence_signalled(screen, surf->fence)) { 369 screen->fence_reference(screen, &surf->fence, NULL);
|
/hardware/intel/img/libdrm/libdrm/intel/ |
intel_bufmgr_fake.c | 102 * can't be freed until @fence is passed. 106 /** Fence cookie for the block. */ 107 unsigned fence; /* Split to read_fence, write_fence */ member in struct:block 132 * List of blocks which are in the GART and have an active fence on them. 136 * List of blocks which have an expired fence and are ready to be evicted. 147 * Driver callback to emit a fence, returning the cookie. 153 * emitting the fence, but this should change. 156 /** Driver callback to wait for a fence cookie to have passed. */ 157 void (*fence_wait)(unsigned int fence, void *private); 242 void (*wait)(unsigned int fence, 671 uint32_t fence = bufmgr_fake->fenced.next->fence; local 680 uint32_t fence = bufmgr_fake->fenced.next->fence; local [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
lnc_cmdbuf.c | 447 struct _WsbmFenceObject *fence = NULL; 450 /* copy fence information */ 452 drv_debug_msg(VIDEO_DEBUG_ERROR, "drm failed to create a fence" 458 fence = wsbmFenceCreate(driver_data->fence_mgr, fence_rep->fence_class, 462 if (fence) 463 *status = wsbmFenceFinish(fence, fence_rep->fence_type, 0); 465 return fence; 578 struct _WsbmFenceObject *fence = NULL; 580 fence = lnc_fence_wait(driver_data, &fence_rep, &status); 581 drv_debug_msg(VIDEO_DEBUG_GENERAL, "psb_fence_wait returns: %d (fence=0x%08x)\n", status, fence) [all...] |