MRPT  1.9.9
Classes | Macros | Typedefs | Functions | Variables
CRenderizableShaderTexturedTriangles.cpp File Reference
#include "opengl-precomp.h"
#include <mrpt/opengl/CRenderizableShaderTexturedTriangles.h>
#include <mrpt/opengl/TLightParameters.h>
#include <mrpt/serialization/CArchive.h>
#include <mrpt/system/CTimeLogger.h>
#include <iostream>
#include <memory>
#include <thread>
#include <mrpt/opengl/opengl_api.h>
#include <mrpt/system/CGenericMemoryPool.h>
Include dependency graph for CRenderizableShaderTexturedTriangles.cpp:

Go to the source code of this file.

Classes

struct  CRenderizableShaderTexturedTriangles_MemPoolData
 

Macros

#define TEXTUREOBJ_USE_MEMPOOL
 

Typedefs

using TMyMemPool = mrpt::system::CGenericMemoryPool< CRenderizableShaderTexturedTriangles_MemPoolParams, CRenderizableShaderTexturedTriangles_MemPoolData >
 

Functions

static unsigned char * reserveDataBuffer (const size_t len, vector< unsigned char > &data)
 

Variables

static std::map< unsigned int, std::thread::id > textureReservedFrom
 

Macro Definition Documentation

◆ TEXTUREOBJ_USE_MEMPOOL

#define TEXTUREOBJ_USE_MEMPOOL

Typedef Documentation

◆ TMyMemPool

using TMyMemPool = mrpt::system::CGenericMemoryPool< CRenderizableShaderTexturedTriangles_MemPoolParams, CRenderizableShaderTexturedTriangles_MemPoolData>

Definition at line 165 of file CRenderizableShaderTexturedTriangles.cpp.

Function Documentation

◆ reserveDataBuffer()

static unsigned char* reserveDataBuffer ( const size_t  len,
vector< unsigned char > &  data 
)
static

Definition at line 236 of file CRenderizableShaderTexturedTriangles.cpp.

References CRenderizableShaderTexturedTriangles_MemPoolData::data, mrpt::opengl::internal::data, mrpt::system::CGenericMemoryPool< DATA_PARAMS, POOLABLE_DATA >::getInstance(), and mrpt::system::CGenericMemoryPool< DATA_PARAMS, POOLABLE_DATA >::request_memory().

Referenced by mrpt::opengl::CRenderizableShaderTexturedTriangles::initializeTextures().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ textureReservedFrom

std::map<unsigned int, std::thread::id> textureReservedFrom
static



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020