Lines Matching defs:timeout
75 // Calculate acceptable timeout range based on indicated timeout and taking into account kMargin.
76 TimeoutRange calcTimeoutRange (deUint64 timeout)
82 deUint64 timeoutMin = ((timeout < kMargin) ? 0ull : (timeout - kMargin));
83 deUint64 timeoutMax = ((kUnsignedMax - timeout < kMargin) ? kUnsignedMax : timeout + kMargin);
438 deUint64 timeout; // Nanoseconds.
444 // When runing the wait operations, the present id must be provided together with a timeout and an indication of whether the operation is expected to time out or not.
575 vk::VkResult waitResult = vkd.waitForPresentKHR(device, swapchain, waitOp.presentId, waitOp.timeout);
584 msg << "Got " << waitResult << " while expecting a timeout in vkWaitForPresentKHR call";
588 const auto timeoutRange = calcTimeoutRange(waitOp.timeout);
593 msg << "vkWaitForPresentKHR waited for " << diff << " nanoseconds with a timeout of " << waitOp.timeout << " nanoseconds";
1108 // Present single frame with no expected timeout
1110 // Wait for past frame with no expected timeout
1112 // Expect timeout before submitting any frame
1114 // Expect timeout after submitting frames with no id
1116 // Expect timeout when waiting for a future frame