MRPT  2.0.2
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 240 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 2.0.2 Git: 9b4fd2465 Mon May 4 16:59:08 2020 +0200 at lun may 4 17:26:07 CEST 2020