Equalizer  1.12.0
Parallel Rendering Framework
eq::plugin::CompressorReadDrawPixels Class Reference
+ Inheritance diagram for eq::plugin::CompressorReadDrawPixels:
+ Collaboration diagram for eq::plugin::CompressorReadDrawPixels:

Public Member Functions

 CompressorReadDrawPixels (const unsigned name)
 
void compress (const void *const, const eq_uint64_t, const bool) override
 Compress data. More...
 
void download (const GLEWContext *, const eq_uint64_t *, const unsigned, const eq_uint64_t, eq_uint64_t *, void **) override
 
void upload (const GLEWContext *, const void *, const eq_uint64_t *, const eq_uint64_t, const eq_uint64_t *, const unsigned) override
 
void startDownload (const GLEWContext *, const eq_uint64_t *, const unsigned, const eq_uint64_t) override
 
void finishDownload (const GLEWContext *, const eq_uint64_t *, const eq_uint64_t, eq_uint64_t *, void **) override
 
- Public Member Functions inherited from eq::plugin::Compressor
 Compressor ()
 Construct a new compressor. More...
 
const Results & getResults () const
 
unsigned getNResults () const
 
virtual void download (const GLEWContext *glewContext, const eq_uint64_t inDims[4], const unsigned source, const eq_uint64_t flags, eq_uint64_t outDims[4], void **out)
 Transfer frame buffer data into main memory. More...
 
virtual void upload (const GLEWContext *glewContext, const void *buffer, const eq_uint64_t inDims[4], const eq_uint64_t flags, const eq_uint64_t outDims[4], const unsigned destination)
 Transfer data from main memory into GPU memory. More...
 
virtual void startDownload (const GLEWContext *glewContext, const eq_uint64_t inDims[4], const unsigned source, const eq_uint64_t flags)
 Start transferring frame buffer data into main memory. More...
 
virtual void finishDownload (const GLEWContext *glewContext, const eq_uint64_t inDims[4], const eq_uint64_t flags, eq_uint64_t outDims[4], void **out)
 Finish transferring frame buffer data into main memory. More...
 

Static Public Member Functions

static void * getNewCompressor (const unsigned name)
 
static void * getNewDecompressor (const unsigned name)
 
static bool isCompatible (const GLEWContext *)
 
- Static Public Member Functions inherited from eq::plugin::Compressor
static void registerEngine (const Functions &)
 

Protected Member Functions

void _resizeBuffer (const eq_uint64_t)
 
void _initTexture (const GLEWContext *, const eq_uint64_t)
 
void _initAsyncTexture (const GLEWContext *, const eq_uint64_t, const eq_uint64_t)
 
bool _initPBO (const GLEWContext *, const eq_uint64_t)
 
void _initDownload (const GLEWContext *, const eq_uint64_t *, eq_uint64_t *)
 
void * _downloadTexture (const GLEWContext *glewContext, const FlushMode mode)
 

Protected Attributes

lunchbox::Bufferb _buffer
 
util::Texture_texture
 
util::PixelBufferObject_pbo
 
unsigned _internalFormat
 the GL format
 
unsigned _format
 the GL format
 
unsigned _type
 the GL type
 
const unsigned _depth
 the size of one output token
 
- Protected Attributes inherited from eq::plugin::Compressor
Results _results
 The compressed data.
 
unsigned _nResults
 Number of elements used in _results.
 

Additional Inherited Members

- Public Types inherited from eq::plugin::Compressor
typedef void(* CompressorGetInfo_t) (EqCompressorInfo *const )
 
typedef void *(* NewCompressor_t) (const unsigned)
 
typedef void(* Decompress_t) (const void *const *, const eq_uint64_t *const, const unsigned, void *const, const eq_uint64_t, const bool)
 
typedef bool(* IsCompatible_t) (const GLEWContext *)
 
typedef lunchbox::Bufferb Result
 
typedef std::vector< Result * > Results
 

Detailed Description

Definition at line 37 of file compressorReadDrawPixels.h.

Member Function Documentation

void eq::plugin::CompressorReadDrawPixels::compress ( const void *  inData,
const eq_uint64_t  nPixels,
const bool  useAlpha 
)
inlineoverridevirtual

Compress data.

Parameters
inDatadata to compress.
nPixelsnumber data to compress.
useAlphause alpha channel in compression.

Reimplemented from eq::plugin::Compressor.

Definition at line 49 of file compressorReadDrawPixels.h.


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