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;
126 const float quality );
130 const uint32_t name );
151 const DrawableConfig& config );
164 const DrawableConfig& config,
181 const DrawableConfig& config,
202 EQ_API
void waitReady(
const uint32_t timeout =
203 LB_TIMEOUT_INDEFINITE )
const;
211 void addListener( lunchbox::Monitor<uint32_t>& listener );
223 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 Frame::Buffer buffer, const uint32_t name)
Sets a compressor for compression for following transmissions.
EQ_API void setQuality(const Frame::Buffer buffer, const float quality)
Set the minimum quality after compression.
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 FrameDataPtr getFrameData()
void setReady()
Set the frame ready.
EQ_API uint32_t getPeriod() const