Lines Matching refs:dev_
414 : dev_(dev), in Meshes()
454 vk::assert_success(vk::MapMemory(dev_, mem_, 0, VK_WHOLE_SIZE, in Meshes()
465 vk::UnmapMemory(dev_, mem_); in Meshes()
470 vk::FreeMemory(dev_, mem_, nullptr); in ~Meshes()
471 vk::DestroyBuffer(dev_, vb_, nullptr); in ~Meshes()
472 vk::DestroyBuffer(dev_, ib_, nullptr); in ~Meshes()
497 vk::CreateBuffer(dev_, &buf_info, nullptr, &vb_); in allocate_resources()
501 vk::CreateBuffer(dev_, &buf_info, nullptr, &ib_); in allocate_resources()
504 vk::GetBufferMemoryRequirements(dev_, vb_, &vb_mem_reqs); in allocate_resources()
505 vk::GetBufferMemoryRequirements(dev_, ib_, &ib_mem_reqs); in allocate_resources()
527 vk::AllocateMemory(dev_, &mem_info, nullptr, &mem_); in allocate_resources()
529 vk::BindBufferMemory(dev_, vb_, mem_, 0); in allocate_resources()
530 vk::BindBufferMemory(dev_, ib_, mem_, ib_mem_offset_); in allocate_resources()