25 #include <eq/zoomFilter.h>
26 #include <eq/fabric/frame.h>
30 namespace detail{
class Frame; }
54 EQ_API
const std::string&
getName()
const;
60 EQ_API
const Range&
getRange()
const;
66 EQ_API
const Pixel&
getPixel()
const;
149 const DrawableConfig& config );
162 const DrawableConfig& config,
179 const DrawableConfig& config,
200 EQ_API
void waitReady(
const uint32_t timeout =
201 LB_TIMEOUT_INDEFINITE )
const;
209 void addListener( lunchbox::Monitor<uint32_t>& listener );
221 detail::Frame*
const _impl;
EQ_API bool isReady() const
Test the readiness of the frame.
EQ_API uint32_t getBuffers() const
void removeListener(lunchbox::Monitor< uint32_t > &listener)
Remove a frame listener.
EQ_API uint32_t getPhase() const
EQ_API const Pixel & getPixel() const
EQ_API const SubPixel & getSubPixel() const
EQ_API Frame()
Construct a new frame.
EQ_API ZoomFilter getZoomFilter() const
EQ_API const Range & getRange() const
EQ_API void readback(util::ObjectManager &glObjects, const DrawableConfig &config)
Read back an image.
std::vector< PixelViewport > PixelViewports
A vector of eq::PixelViewport.
virtual EQ_API ~Frame()
Destruct the frame.
Buffer
The buffer format defines which components of the frame are to be used during readback and assembly...
EQ_API void setZoomFilter(const ZoomFilter zoomFilter)
Set the filter applied to zoomed assemble operations.
ZoomFilter
Filtering algorithm to applied during zoom operations.
std::vector< Image * > Images
A vector of pointers to eq::Image.
EQ_API void setAlphaUsage(const bool useAlpha)
Set alpha usage for newly allocated images.
EQ_API void useCompressor(const Buffer buffer, const uint32_t name)
Sets a compressor for compression for following transmissions.
A holder for a frame data and related parameters.
EQ_API void waitReady(const uint32_t timeout=LB_TIMEOUT_INDEFINITE) const
Wait for the frame to become available.
EQ_API void disableBuffer(const Buffer buffer)
Disable the usage of a frame buffer attachment for all images.
EQ_API const std::string & getName() const
EQ_API void setFrameData(FrameDataPtr data)
Set the data for this frame.
EQ_API Images startReadback(util::ObjectManager &glObjects, const DrawableConfig &config, const PixelViewports ®ions)
Start reading back a set of images for this frame.
void addListener(lunchbox::Monitor< uint32_t > &listener)
Add a listener which will be incremented when the frame is ready.
lunchbox::RefPtr< const FrameData > ConstFrameDataPtr
A reference-counted pointer to a const eq::FrameData.
EQ_API const Images & getImages() const
A facility class to manage OpenGL objects across shared contexts.
A holder for a frame data and related parameters.
lunchbox::RefPtr< FrameData > FrameDataPtr
A reference-counted pointer to an eq::FrameData.
EQ_API void setQuality(const Buffer buffer, const float quality)
Set the minimum quality after compression.
EQ_API FrameDataPtr getFrameData()
void setReady()
Set the frame ready.
EQ_API uint32_t getPeriod() const