mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-26 13:13:50 +00:00
Stabilize streaming memory and parser handling; revert socket recv optimizations
This commit is contained in:
parent
c914295d20
commit
ae88b226b5
15 changed files with 591 additions and 161 deletions
|
|
@ -8,6 +8,7 @@
|
|||
#include <glm/glm.hpp>
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
#include <string>
|
||||
|
||||
namespace wowee {
|
||||
|
|
@ -156,6 +157,9 @@ private:
|
|||
size_t textureCacheBytes_ = 0;
|
||||
uint64_t textureCacheCounter_ = 0;
|
||||
size_t textureCacheBudgetBytes_ = 4096ull * 1024 * 1024;
|
||||
std::unordered_set<std::string> failedTextureCache_;
|
||||
std::unordered_set<std::string> loggedTextureLoadFails_;
|
||||
uint32_t textureBudgetRejectWarnings_ = 0;
|
||||
|
||||
// Fallback textures
|
||||
std::unique_ptr<VkTexture> whiteTexture;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue