render improvments using some cache

This commit is contained in:
Eduardo Bart
2011-08-30 20:39:14 -03:00
parent 27ccb472d2
commit 4d10b0dd49
13 changed files with 211 additions and 102 deletions

View File

@@ -58,10 +58,6 @@
#include <boost/algorithm/string.hpp>
#include <boost/any.hpp>
#ifndef nullptr
#define nullptr NULL
#endif
// global constants
#include "const.h"

View File

@@ -37,7 +37,7 @@ public:
virtual void enableBilinearFilter();
/// Get OpenGL texture id
virtual uint getId() const { return m_textureId; }
uint getId() const { return m_textureId; }
/// Copy pixels from OpenGL texture
std::vector<uint8> getPixels();

View File

@@ -42,4 +42,8 @@ typedef int8_t int8;
typedef std::function<void()> SimpleCallback;
typedef std::function<bool()> BooleanCallback;
#ifndef nullptr
#define nullptr NULL
#endif
#endif