Lines Matching full:fence
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;
298 status_t result = mGraphicBufferProducer->dequeueBuffer(&buf, &fence,
314 ALOGE_IF(fence == NULL, "Surface::dequeueBuffer: received null Fence! buf=%d", buf);
324 mGraphicBufferProducer->cancelBuffer(buf, fence);
329 if (fence->isValid()) {
330 *fenceFd = fence->dup();
332 ALOGE("dequeueBuffer: error duping fence: %d", errno);
372 sp<Fence> fence(fenceFd >= 0 ? new Fence(fenceFd) : Fence::NO_FENCE);
373 mGraphicBufferProducer->cancelBuffer(i, fence);
434 sp<Fence> fence(fenceFd >= 0 ? new Fence(fenceFd) : Fence::NO_FENCE);
438 fence, mStickyTransform);
873 sp<Fence>* outFence) {
884 sp<Fence> fence(NULL);
886 &buffer, &fence);
892 if (fence != NULL && fence->isValid()) {
893 *outFence = fence;
895 *outFence = Fence::NO_FENCE;