Lines Matching refs:bufferInfo

361         VulkanSurface::NativeBufferInfo& bufferInfo = mNativeBuffers[i];  in releaseBuffers()  local
363 if (bufferInfo.buffer.get() != nullptr && bufferInfo.dequeued) { in releaseBuffers()
364 int err = mNativeWindow->cancelBuffer(mNativeWindow.get(), bufferInfo.buffer.get(), in releaseBuffers()
365 bufferInfo.dequeue_fence.release()); in releaseBuffers()
369 bufferInfo.dequeued = false; in releaseBuffers()
370 bufferInfo.dequeue_fence.reset(); in releaseBuffers()
373 LOG_ALWAYS_FATAL_IF(bufferInfo.dequeued); in releaseBuffers()
374 LOG_ALWAYS_FATAL_IF(bufferInfo.dequeue_fence.ok()); in releaseBuffers()
376 bufferInfo.skSurface.reset(); in releaseBuffers()
377 bufferInfo.buffer.clear(); in releaseBuffers()
378 bufferInfo.hasValidContents = false; in releaseBuffers()
379 bufferInfo.lastPresentedCount = 0; in releaseBuffers()
385 VulkanSurface::NativeBufferInfo& bufferInfo = mNativeBuffers[i]; in invalidateBuffers() local
386 bufferInfo.hasValidContents = false; in invalidateBuffers()
387 bufferInfo.lastPresentedCount = 0; in invalidateBuffers()
470 VulkanSurface::NativeBufferInfo* bufferInfo = &mNativeBuffers[idx]; in dequeueNativeBuffer() local
472 if (bufferInfo->skSurface.get() == nullptr) { in dequeueNativeBuffer()
478 bufferInfo->skSurface = SkSurfaces::WrapAndroidHardwareBuffer( in dequeueNativeBuffer()
479 mGrContext, ANativeWindowBuffer_getHardwareBuffer(bufferInfo->buffer.get()), in dequeueNativeBuffer()
482 if (bufferInfo->skSurface.get() == nullptr) { in dequeueNativeBuffer()
491 mCurrentBufferInfo = bufferInfo; in dequeueNativeBuffer()
492 return bufferInfo; in dequeueNativeBuffer()