Equalizer
1.2.1
|
Asynchronous fetching thread. More...
#include <asyncFetcher.h>
Public Member Functions | |
virtual void | run () |
Function for creating and holding of shared context. | |
void | setup (Window *wnd) |
TextureId | getTextureId () |
bool | tryGetTextureId (TextureId &val) |
void | deleteTexture (const void *key) |
const GLEWContext * | glewGetContext () const |
Public Types | |
typedef eq::util::ObjectManager< int > | ObjectManager |
Asynchronous fetching thread.
Creates and supplies new textures to the main rendering pipe.
Definition at line 55 of file asyncFetcher.h.
void eqAsync::AsyncFetcher::run | ( | ) | [virtual] |
Function for creating and holding of shared context.
Generation and uploading of new textures over some period with sleep time.
Implements co::base::Thread.
Definition at line 169 of file asyncFetcher.cpp.
References EQINFO, EQWARN, co::base::RNG::get(), eq::util::Texture::getName(), eq::util::Texture::init(), co::base::sleep(), and eq::util::Texture::upload().