Monado OpenXR Runtime
Loading...
Searching...
No Matches
oxr_priority_group_cache.c File Reference

Cache of per-session priority group state. More...

#include "oxr_priority_group_cache.h"
#include "util/u_hashmap.h"
#include "util/u_misc.h"
#include <stdlib.h>
Include dependency graph for oxr_priority_group_cache.c:

Functions

static void free_state (void *item, void *priv)
 
static void zero_priority (uint64_t key, const void *value, void *priv_ctx)
 
XrResult oxr_priority_group_cache_init (struct oxr_priority_group_cache *cache)
 
void oxr_priority_group_cache_clear (struct oxr_priority_group_cache *cache)
 
void oxr_priority_group_cache_fini (struct oxr_priority_group_cache *cache)
 
void oxr_priority_group_cache_zero_priorities (struct oxr_priority_group_cache *cache)
 
XrResult oxr_priority_group_cache_get_or_create (struct oxr_priority_group_cache *cache, XrPath path, struct oxr_priority_group_state **out_state)
 

Detailed Description

Cache of per-session priority group state.