#include "opengl-precomp.h"
#include <mrpt/opengl/CTexturedObject.h>
#include <mrpt/utils/CTimeLogger.h>
#include <mrpt/utils/CStream.h>
#include "opengl_internals.h"
#include <mrpt/system/CGenericMemoryPool.h>
Go to the source code of this file.
Classes | |
struct | CTexturedObject_MemPoolParams |
struct | CTexturedObject_MemPoolData |
Macros | |
#define | TEXTUREOBJ_USE_MEMPOOL |
Typedefs | |
typedef mrpt::system::CGenericMemoryPool< CTexturedObject_MemPoolParams, CTexturedObject_MemPoolData > | TMyMemPool |
Functions | |
unsigned char * | reserveDataBuffer (const size_t len, vector< unsigned char > &data) |
#define TEXTUREOBJ_USE_MEMPOOL |
Definition at line 30 of file CTexturedObject.cpp.
typedef mrpt::system::CGenericMemoryPool<CTexturedObject_MemPoolParams,CTexturedObject_MemPoolData> TMyMemPool |
Definition at line 50 of file CTexturedObject.cpp.
unsigned char* reserveDataBuffer | ( | const size_t | len, |
vector< unsigned char > & | data | ||
) |
Definition at line 151 of file CTexturedObject.cpp.
References CTexturedObject_MemPoolData::data, mrpt::system::CGenericMemoryPool< DATA_PARAMS, POOLABLE_DATA >::getInstance(), CTexturedObject_MemPoolParams::len, and mrpt::system::CGenericMemoryPool< DATA_PARAMS, POOLABLE_DATA >::request_memory().
Referenced by mrpt::opengl::CTexturedObject::loadTextureInOpenGL().
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |