Home
last modified time | relevance | path

Searched refs:global_buffer (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/vr/libvrflinger/
Ddisplay_service.cpp328 auto global_buffer = global_buffers_.find(key); in OnGetGlobalBuffer() local
329 if (global_buffer != global_buffers_.end()) in OnGetGlobalBuffer()
330 return {BorrowedNativeBufferHandle(*global_buffer->second, 0)}; in OnGetGlobalBuffer()
385 auto global_buffer = global_buffers_.find(key); in SetupGlobalBuffer() local
386 if (global_buffer == global_buffers_.end()) { in SetupGlobalBuffer()
395 global_buffer = in SetupGlobalBuffer()
400 return {BorrowedNativeBufferHandle(*global_buffer->second, 0)}; in SetupGlobalBuffer()
404 auto global_buffer = global_buffers_.find(key); in DeleteGlobalBuffer() local
405 if (global_buffer != global_buffers_.end()) { in DeleteGlobalBuffer()
408 global_buffers_.erase(global_buffer); in DeleteGlobalBuffer()