Restore VkShaderModule caching

This commit is contained in:
Jack Andersen
2017-11-07 16:24:07 -10:00
parent 2cd7de7a28
commit 3cd375e67b
5 changed files with 28 additions and 28 deletions

View File

@@ -1,5 +1,6 @@
#include "boo/graphicsdev/GL.hpp"
#include "boo/graphicsdev/glew.h"
#include "boo/IApplication.hpp"
#include "Common.hpp"
#include <thread>
#include <condition_variable>
@@ -1123,7 +1124,8 @@ struct GLCommandQueue : IGraphicsCommandQueue
static void RenderingWorker(GLCommandQueue* self)
{
logvisor::RegisterThreadName("Boo GL Rendering Thread");
std::string thrName = APP->getFriendlyName() + " GL Rendering Thread";
logvisor::RegisterThreadName(thrName.c_str());
{
std::unique_lock<std::mutex> lk(self->m_initmt);
self->m_parent->makeCurrent();