Searched refs:resource_map (Results 1 – 2 of 2) sorted by relevance
172 for (auto const& it : ctx->resource_map) { in dump_global_state()1058 assert(!ctx->resource_map.count((uint32_t)res_handle) && in virgl_renderer_ctx_attach_resource()1071 ctx->resource_map.emplace((uint32_t)res_handle, res); in virgl_renderer_ctx_attach_resource()1085 res_it = ctx->resource_map.find((uint32_t)res_handle); in virgl_renderer_ctx_detach_resource()1086 if (res_it == ctx->resource_map.end()) in virgl_renderer_ctx_detach_resource()1098 ctx->resource_map.erase(res_it); in virgl_renderer_ctx_detach_resource()
107 std::map<uint32_t, Resource*> resource_map; member