GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
ThreadedPrepare Class Reference

#include <VertexArray.hh>

Public Member Functions

 ThreadedPrepare (FaceCollection *faces)
int push_thread (int start_range, int end_range, std::vector< int > attrib=std::vector< int >(), std::vector< int > attribi=std::vector< int >())
int push_thread2 (int start_range, int end_range, RenderVertexArray *r, pthread_mutex_t *mutex1, pthread_mutex_t *mutex2, pthread_mutex_t *mutex3, pthread_mutex_t *gmutex, pthread_mutex_t *gmutex2, pthread_cond_t *g_cond, pthread_cond_t *g_cond2, std::vector< int > attrib=std::vector< int >(), std::vector< int > attribi=std::vector< int >())
void join (int id)
void transfer_to_gpu_mem (VertexArraySet *set, RenderVertexArray &r, int rend_id, int buf, int start, int end)
VertexArraySet * collect ()
 ~ThreadedPrepare ()

Constructor & Destructor Documentation

◆ ThreadedPrepare()

ThreadedPrepare::ThreadedPrepare ( FaceCollection * faces)
inline

◆ ~ThreadedPrepare()

ThreadedPrepare::~ThreadedPrepare ( )
inline

Member Function Documentation

◆ collect()

VertexArraySet * ThreadedPrepare::collect ( )
inline
Here is the caller graph for this function:

◆ join()

void ThreadedPrepare::join ( int id)
inline
Here is the caller graph for this function:

◆ push_thread()

int ThreadedPrepare::push_thread ( int start_range,
int end_range,
std::vector< int > attrib = std::vector<int>(),
std::vector< int > attribi = std::vector<int>() )
inline
Here is the caller graph for this function:

◆ push_thread2()

int ThreadedPrepare::push_thread2 ( int start_range,
int end_range,
RenderVertexArray * r,
pthread_mutex_t * mutex1,
pthread_mutex_t * mutex2,
pthread_mutex_t * mutex3,
pthread_mutex_t * gmutex,
pthread_mutex_t * gmutex2,
pthread_cond_t * g_cond,
pthread_cond_t * g_cond2,
std::vector< int > attrib = std::vector<int>(),
std::vector< int > attribi = std::vector<int>() )
inline
Here is the caller graph for this function:

◆ transfer_to_gpu_mem()

void ThreadedPrepare::transfer_to_gpu_mem ( VertexArraySet * set,
RenderVertexArray & r,
int rend_id,
int buf,
int start,
int end )
inline
Here is the caller graph for this function:

The documentation for this class was generated from the following file: