summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGurchetan Singh <gurchetansingh@chromium.org>2022-03-17 14:55:52 -0700
committerGurchetan Singh <gurchetansingh@google.com>2022-03-17 17:40:53 -0700
commit34ec41a6b60abdf42bdd298fdefe15f66dfc2c32 (patch)
tree983058a4fc92290722dcc7501a4675b444208133 /CMakeLists.txt
parentda84145011df1f2eb3bedee0fb8d52f1a0c13c7c (diff)
downloadvulkan-cereal-34ec41a6b60abdf42bdd298fdefe15f66dfc2c32.tar.gz
vulkan-cereal: plumb virtgpu ctx_id to process pipe
The virtio-gpu context ID is an unique identifier allocated by the guest kernel, via idr_alloc(..). These IDs can be reused, but virtio-gpu gurantees that re-use will only happens after a particular context has been destroyed. Many operations related to resource sharing between guest processes, and between gfxstream and virtgpu are done in reference to this context id. gfxstream has a clear analogue to this already --> m_puid, which is set via connecting to the "pipe:GLProcessPipe" service in the guest. The immediate goal is is make m_puid == ctx_id, so the guest kernel can reference each host render thread via the ctx_id. BUG=202552093 TEST=run Cuttlefish Change-Id: Iadc0c288be6a869261658db87c5c569389f73f5b
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions