/external/skia/src/gpu/gl/ |
SkGLContext.cpp | 17 bool waitFence(SkPlatformGpuFence fence, bool flush) const override; 18 void deleteFence(SkPlatformGpuFence fence) const override; 93 SkDebugf("WARNING: Wait failed for fence sync. Timings might not be accurate.\n"); 150 bool SkGLContext::GLFenceSync::waitFence(SkPlatformGpuFence fence, bool flush) const { 151 GLsync glsync = static_cast<GLsync>(fence); 155 void SkGLContext::GLFenceSync::deleteFence(SkPlatformGpuFence fence) const { 156 GLsync glsync = static_cast<GLsync>(fence);
|
/frameworks/base/services/core/jni/ |
com_android_server_AssetAtlasService.cpp | 54 if (fence != EGL_NO_SYNC_KHR) eglDestroySyncKHR(display, fence); \ 119 EGLSyncKHR fence = EGL_NO_SYNC_KHR; local 169 // The fence is used to wait for the texture upload to finish 172 fence = eglCreateSyncKHR(display, EGL_SYNC_FENCE_KHR, NULL); 173 if (fence == EGL_NO_SYNC_KHR) { 174 ALOGW("Could not create sync fence %#x", eglGetError()); 180 EGLint waitStatus = eglClientWaitSyncKHR(display, fence, 183 ALOGW("Failed to wait for the fence %#x", eglGetError());
|
/frameworks/native/libs/gui/ |
GLConsumer.cpp | 158 mCurrentFence(Fence::NO_FENCE), 186 mCurrentFence(Fence::NO_FENCE), 304 // if we're detached, we just use the fence that was created in detachFromContext() 324 mCurrentFence = Fence::NO_FENCE; 478 pendingRelease->fence = mEglSlots[mCurrentTexture].mEglFence; 580 void GLConsumer::setReleaseFence(const sp<Fence>& fence) { 581 if (fence->isValid() && 584 mCurrentTextureImage->graphicBuffer(), fence); 586 GLC_LOGE("setReleaseFence: failed to add the fence: %s (%d)" 719 EGLSyncKHR fence = mEglSlots[mCurrentTexture].mEglFence; local [all...] |
StreamSplitter.cpp | 193 sp<Fence> fence; local 194 status_t status = from->detachNextBuffer(&buffer, &fence); 210 // Merge the release fence of the incoming buffer so that the fence we send 212 tracker->mergeFence(fence); 277 : mBuffer(buffer), mMergedFence(Fence::NO_FENCE), mReleaseCount(0) {} 281 void StreamSplitter::BufferTracker::mergeFence(const sp<Fence>& with) { 282 mMergedFence = Fence::merge(String8("StreamSplitter"), mMergedFence, with);
|
Surface.cpp | 29 #include <ui/Fence.h> 133 sp<Fence>* outFence, float outTransformMatrix[16]) { 203 sp<Fence> fence(new Fence(fenceFd)); 204 int waitResult = fence->waitForever("dequeueBuffer_DEPRECATED"); 206 ALOGE("dequeueBuffer_DEPRECATED: Fence::wait returned an error: %d", 296 sp<Fence> fence; local 298 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence, [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_pipe.c | 42 struct r600_fence *fence = NULL; local 52 R600_ERR("r600: failed to create bo for fence objects\n"); 63 /* Try to find a freed fence that has been signalled */ 67 fence = entry; 73 if (!fence) { 74 /* Allocate a new fence */ 96 fence = &block->fences[index % FENCE_BLOCK_SIZE]; 97 fence->index = index; 100 pipe_reference_init(&fence->reference, 1); 102 rscreen->fences.data[fence->index] = 0 [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3IOStreamBase.h | 62 // The merged release fence for all returned buffers 63 sp<Fence> mCombinedFence; 75 sp<Fence> *releaseFenceOut) = 0;
|
/external/kernel-headers/original/uapi/drm/ |
vmwgfx_drm.h | 280 * fence seqno that when signaled, indicates that the command buffer has 318 * @handle: Fence object handle for fence associated with a command submission. 319 * @mask: Fence flags relevant for this fence object. 320 * @seqno: Fence sequence number in fifo. A fence object with a lower 321 * seqno will signal the EXEC flag before a fence object with a higher 323 * whether a fence has signaled the EXEC flag. Note that @seqno will 326 * so far. This can be used to mark user-space fence objects as signaled, an [all...] |
/external/llvm/test/CodeGen/XCore/ |
atomic.ll | 11 fence acquire 12 fence release 13 fence acq_rel 14 fence seq_cst
|
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_screen.h | 38 } fence; member in struct:nouveau_screen
|
/external/mesa3d/src/gallium/drivers/nv30/ |
nv30_screen.c | 275 *sequence = ++screen->base.fence.sequence; 286 struct nv04_notify *fence = screen->fence->data; local 287 return *(uint32_t *)((char *)screen->notify->map + fence->offset); 295 if (screen->base.fence.current && 296 screen->base.fence.current->state >= NOUVEAU_FENCE_STATE_EMITTED) { 297 nouveau_fence_wait(screen->base.fence.current); 298 nouveau_fence_ref (NULL, &screen->base.fence.current); 302 nouveau_object_del(&screen->fence); 376 screen->base.fence.emit = nv30_screen_fence_emit [all...] |
nv30_screen.h | 27 struct nouveau_object *fence; member in struct:nv30_screen
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_screen_cache.h | 85 struct pipe_fence_handle *fence; member in struct:svga_host_surface_cache_entry 95 * 3. holding a flushed buffer (not in any validate list) with an active fence 96 * 4. holding a flushed buffer with an expired fence 132 struct pipe_fence_handle *fence);
|
/external/mesa3d/src/gallium/state_trackers/xorg/ |
xorg_exa.h | 73 struct pipe_fence_handle **fence);
|
/external/mesa3d/src/gallium/winsys/i915/sw/ |
i915_sw_batchbuffer.c | 103 struct pipe_fence_handle **fence) 133 if (fence) { 134 ibatch->iws->fence_reference(ibatch->iws, fence, NULL); 136 (*fence) = i915_sw_fence_create();
|
/frameworks/native/include/gui/ |
BufferItemConsumer.h | 75 // If waitForFence is true, and the acquired BufferItem has a valid fence object, 76 // acquireBuffer will wait on the fence with no timeout before returning. 87 const sp<Fence>& releaseFence = Fence::NO_FENCE);
|
/frameworks/native/libs/gui/tests/ |
Surface_test.cpp | 202 sp<Fence> fence; local 203 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&graphicBuffer, &fence)); 251 int fence; local 253 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fence)); 255 ASSERT_EQ(NO_ERROR, window->queueBuffer(window.get(), buffer, fence)); 257 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fence)); 258 ASSERT_EQ(NO_ERROR, window->queueBuffer(window.get(), buffer, fence));
|
/frameworks/native/vulkan/include/vulkan/ |
vk_android_native_buffer.h | 50 typedef VkResult (VKAPI_PTR *PFN_vkAcquireImageANDROID)(VkDevice device, VkImage image, int nativeFenceFd, VkSemaphore semaphore, VkFence fence); 65 VkFence fence
|
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
TngDisplayContext.cpp | 161 // close acquire fence 163 // Wait and close HWC_OVERLAY typed layer's acquire fence 180 // Wait and close framebuffer target layer's acquire fence 188 // Wait and close outbuf's acquire fence 196 // update release fence and retire fence 214 // log for layer fence status 233 // close original release fence fd
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/tangier/ |
TngDisplayContext.cpp | 161 // close acquire fence 163 // Wait and close HWC_OVERLAY typed layer's acquire fence 180 // Wait and close framebuffer target layer's acquire fence 188 // Wait and close outbuf's acquire fence 196 // update release fence and retire fence 214 // log for layer fence status 233 // close original release fence fd
|
/cts/tests/openglperf2/jni/primitive/contextswitch/ |
ContextSwitchRenderer.cpp | 181 EGLSyncKHR fence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, NULL); local 186 eglWaitSyncKHR(mEglDisplay, fence, 0); 187 eglDestroySyncKHR(mEglDisplay, fence); 204 fence = eglCreateSyncKHR(mEglDisplay, EGL_SYNC_FENCE_KHR, NULL); 226 eglWaitSyncKHR(mEglDisplay, fence, 0); 227 eglDestroySyncKHR(mEglDisplay, fence);
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiCommandBuffersTests.cpp | 383 const Unique<VkFence> fence (createFence(m_vkd, m_device, &fenceCreateInfo)); 399 VK_CHECK(m_vkd.queueSubmit(m_queue, 1, &submitInfo, *fence)); 401 VK_CHECK(m_vkd.waitForFences(m_device, 1, &fence.get(), VK_TRUE, ~0ull)); [all...] |
/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,
|