#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_MemPoolData |
Macros | |
#define | TEXTUREOBJ_USE_MEMPOOL |
Typedefs | |
typedef mrpt::system::CGenericMemoryPool< CTexturedObject_MemPoolParams, CTexturedObject_MemPoolData > | TMyMemPool |
Functions | |
IMPLEMENTS_VIRTUAL_SERIALIZABLE (CTexturedObject, CRenderizableDisplayList, mrpt::opengl) struct CTexturedObject_MemPoolParams | |
unsigned char * | reserveDataBuffer (const size_t len, vector< unsigned char > &data) |
#define TEXTUREOBJ_USE_MEMPOOL |
typedef mrpt::system::CGenericMemoryPool<CTexturedObject_MemPoolParams, CTexturedObject_MemPoolData> TMyMemPool |
Definition at line 55 of file CTexturedObject.cpp.
IMPLEMENTS_VIRTUAL_SERIALIZABLE | ( | CTexturedObject | , |
CRenderizableDisplayList | , | ||
mrpt::opengl | |||
) |
size of the vector<unsigned char>
Definition at line 24 of file CTexturedObject.cpp.
unsigned char* reserveDataBuffer | ( | const size_t | len, |
vector< unsigned char > & | data | ||
) |
Definition at line 148 of file CTexturedObject.cpp.
References CTexturedObject_MemPoolData::data, mrpt::system::CGenericMemoryPool< DATA_PARAMS, POOLABLE_DATA >::getInstance(), 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.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |