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.cpp307 auto global_buffer = global_buffers_.find(key); in OnGetGlobalBuffer() local
308 if (global_buffer != global_buffers_.end()) in OnGetGlobalBuffer()
309 return {BorrowedNativeBufferHandle(*global_buffer->second, 0)}; in OnGetGlobalBuffer()
364 auto global_buffer = global_buffers_.find(key); in SetupGlobalBuffer() local
365 if (global_buffer == global_buffers_.end()) { in SetupGlobalBuffer()
374 global_buffer = in SetupGlobalBuffer()
379 return {BorrowedNativeBufferHandle(*global_buffer->second, 0)}; in SetupGlobalBuffer()
383 auto global_buffer = global_buffers_.find(key); in DeleteGlobalBuffer() local
384 if (global_buffer != global_buffers_.end()) { in DeleteGlobalBuffer()
387 global_buffers_.erase(global_buffer); in DeleteGlobalBuffer()