MRPT  2.0.1
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 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020