Refactoring of streamer code to integrate texture and vbo memory management in progress.

--HG--
branch : nfb
This commit is contained in:
2014-05-13 21:56:06 -07:00
parent 8d7ac095c9
commit 1560c8f19f
23 changed files with 103 additions and 106 deletions

View File

@@ -38,7 +38,7 @@
#include "KRMeshQuad.h"
#include "KRMeshSphere.h"
KRMeshManager::KRMeshManager(KRContext &context) : KRContextObject(context), m_streamer(context) {
KRMeshManager::KRMeshManager(KRContext &context) : KRContextObject(context) {
m_currentVBO.vbo_handle = -1;
m_currentVBO.vbo_handle_indexes = -1;
m_currentVBO.vao_handle = -1;
@@ -526,3 +526,8 @@ std::vector<KRMeshManager::draw_call_info> KRMeshManager::getDrawCalls()
m_draw_call_log_used = true;
return m_draw_calls;
}
void KRMeshManager::doStreaming(long &memoryRemaining, long &memoryRemainingThisFrame)
{
}