bigger buffers
This commit is contained in:
parent
1d86dafbe2
commit
76adc77fa6
|
@ -22,7 +22,7 @@
|
||||||
namespace OGL
|
namespace OGL
|
||||||
{
|
{
|
||||||
|
|
||||||
static const u32 UBO_LENGTH = 1024*1024;
|
static const u32 UBO_LENGTH = 4*1024*1024;
|
||||||
|
|
||||||
GLuint ProgramShaderCache::CurrentProgram = 0;
|
GLuint ProgramShaderCache::CurrentProgram = 0;
|
||||||
ProgramShaderCache::PCache ProgramShaderCache::pshaders;
|
ProgramShaderCache::PCache ProgramShaderCache::pshaders;
|
||||||
|
|
|
@ -54,7 +54,7 @@ namespace OGL
|
||||||
const u32 MAX_IBUFFER_SIZE = VertexManager::MAXIBUFFERSIZE * 16 * sizeof(u16);
|
const u32 MAX_IBUFFER_SIZE = VertexManager::MAXIBUFFERSIZE * 16 * sizeof(u16);
|
||||||
const u32 MAX_VBUFFER_SIZE = VertexManager::MAXVBUFFERSIZE * 16;
|
const u32 MAX_VBUFFER_SIZE = VertexManager::MAXVBUFFERSIZE * 16;
|
||||||
const u32 MIN_IBUFFER_SIZE = VertexManager::MAXIBUFFERSIZE * 1 * sizeof(u16);
|
const u32 MIN_IBUFFER_SIZE = VertexManager::MAXIBUFFERSIZE * 1 * sizeof(u16);
|
||||||
const u32 MIN_VBUFFER_SIZE = VertexManager::MAXVBUFFERSIZE * 1;
|
const u32 MIN_VBUFFER_SIZE = VertexManager::MAXVBUFFERSIZE * 4;
|
||||||
|
|
||||||
static StreamBuffer *s_vertexBuffer;
|
static StreamBuffer *s_vertexBuffer;
|
||||||
static StreamBuffer *s_indexBuffer;
|
static StreamBuffer *s_indexBuffer;
|
||||||
|
|
Loading…
Reference in New Issue