Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahwilliams committed Oct 18, 2024
1 parent 0ae06a8 commit a7398b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions impeller/renderer/backend/vulkan/command_pool_vk.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ struct ThreadLocalData {
};

// Associates a resource with a thread and context.
using CommandPoolMap =
std::unordered_map<uint64_t, ThreadLocalData>;
using CommandPoolMap = std::unordered_map<uint64_t, ThreadLocalData>;

//------------------------------------------------------------------------------
/// @brief Creates and manages the lifecycle of |vk::CommandPool| objects.
Expand Down Expand Up @@ -171,7 +170,9 @@ class CommandPoolRecyclerVK final
/// Create a DescriptorPoolVK and a CommandPoolVK and stash them in the TLS
/// map.
std::optional<ThreadLocalData> InitializeThreadLocalResources(
const std::shared_ptr<ContextVK>& context, CommandPoolMap& pool_map, uint64_t pool_key);
const std::shared_ptr<ContextVK>& context,
CommandPoolMap& pool_map,
uint64_t pool_key);

CommandPoolRecyclerVK(const CommandPoolRecyclerVK&) = delete;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include "flutter/testing/testing.h" // IWYU pragma: keep
#include "gtest/gtest.h"
#include "impeller/renderer/backend/vulkan/test/mock_vulkan.h"
#include "impeller/renderer/backend/vulkan/command_pool_vk.h"
#include "impeller/renderer/backend/vulkan/test/mock_vulkan.h"
#include "vulkan/vulkan_enums.hpp"

namespace impeller {
Expand Down

0 comments on commit a7398b9

Please sign in to comment.