20 #ifndef EQ_FRAMEDATA_H 21 #define EQ_FRAMEDATA_H 23 #include <co/object.h> 24 #include <eq/fabric/frameData.h> 27 #include <lunchbox/monitor.h> 28 #include <lunchbox/spinLock.h> 54 public lunchbox::Referenced
60 uint32_t internalFormat;
61 uint32_t externalFormat;
64 uint32_t compressorName;
65 uint32_t compressorFlags;
74 EQ_API
virtual ~FrameData();
79 EQ_API
const Images& getImages()
const;
88 EQ_API
void setAlphaUsage(
const bool useAlpha);
99 void setQuality(
const Frame::Buffer buffer,
const float quality);
111 void useCompressor(
const Frame::Buffer buffer,
const uint32_t name);
127 const DrawableConfig& config);
139 EQ_API
void resetPlugins();
156 const DrawableConfig& config,
158 const RenderContext& context);
170 EQ_API
bool isReady()
const;
173 EQ_API
void waitReady(
const uint32_t timeout = LB_TIMEOUT_INDEFINITE)
const;
176 void setVersion(
const uint64_t version);
189 void addListener(Listener& listener);
197 void removeListener(Listener& listener);
201 bool addImage(
const co::ObjectVersion& frameDataVersion,
202 const PixelViewport& pvp,
const Zoom& zoom,
204 const bool useAlpha, uint8_t* data);
205 void setReady(
const co::ObjectVersion& frameData,
209 virtual ChangeType getChangeType()
const {
return INSTANCE; }
210 virtual void getInstanceData(co::DataOStream& os);
211 virtual void applyInstanceData(co::DataIStream& is);
214 detail::FrameData*
const _impl;
218 const bool setQuality);
221 void _applyVersion(
const uint128_t& version);
224 void _setReady(
const uint64_t version);
226 LB_TS_VAR(_commandThread);
233 #endif // EQ_FRAMEDATA_H std::vector< PixelViewport > PixelViewports
A vector of eq::PixelViewport.
A channel represents a two-dimensional viewport within a Window.
EQ_API std::ostream & operator<<(std::ostream &os, const EventICommand &command)
Print the event command to the given output stream.
Type
The storage type for pixel data.
lunchbox::Monitor< uint32_t > Listener
Ready listener.
A holder for multiple images.
The Equalizer client library.
Buffer
Components of the frame are to be used during readback and assembly.
std::vector< Image * > Images
A vector of pointers to eq::Image.
A facility class to manage OpenGL objects across shared contexts.
A holder for a frame data and related parameters.
Holds a 2D pixel viewport with methods for manipulation.