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