提交 ce5c7148 编写于 作者: F freiling 提交者: GitHub

Revert "[content handler] tune VulkanSurfaceProducer allocation and recycling heuristics" (#3824)

This reverts commit fc70e6eb1e02ab1e6764b45690e4639bfd104cc1.
上级 db8d8a99
......@@ -87,8 +87,8 @@ class VulkanRasterizer : public Rasterizer {
struct Swapchain {
std::queue<std::unique_ptr<Surface>> queue;
uint32_t tick_count = 0;
static constexpr uint32_t kMaxSurfaces = 16;
static constexpr uint32_t kMaxTickBeforeDiscard = 600;
static constexpr uint32_t kMaxSurfaces = 3;
static constexpr uint32_t kMaxTickBeforeDiscard = 3;
};
using size_key_t = uint64_t;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册