18 #ifndef EQ_COMPOSITOR_H 19 #define EQ_COMPOSITOR_H 24 #include <eq/fabric/pixel.h> 25 #include <eq/fabric/zoom.h> 58 static uint32_t assembleFrames(
const Frames& frames,
Channel* channel,
73 static uint32_t blendFrames(
const Frames& frames,
Channel* channel,
88 static uint32_t assembleFramesUnsorted(
const Frames& frames,
109 static uint32_t assembleFramesCPU(
const Frames& frames,
Channel* channel,
110 const bool blend =
false);
111 static uint32_t assembleImagesCPU(
const ImageOps& ops,
Channel* channel,
124 static const Image* mergeFramesCPU(
125 const Frames& frames,
const bool blend =
false,
126 const uint32_t timeout = LB_TIMEOUT_INDEFINITE);
127 static const Image* mergeImagesCPU(
const ImageOps& ops,
const bool blend);
133 static void assembleFrame(
const Frame* frame,
Channel* channel);
144 static void assembleImage(
const ImageOp& operation,
Channel* channel);
152 static void setupStencilBuffer(
const ImageOp& operation,
160 static void clearStencilBuffer(
const ImageOp& operation);
167 static void setupAssemblyState(
const PixelViewport& pvp,
168 const GLEWContext* gl);
173 static void resetAssemblyState();
184 static void assembleImageDB_FF(
const ImageOp& op,
Channel* channel);
190 static void assembleImageDB_GLSL(
const ImageOp& op,
Channel* channel);
210 static WaitHandle* startWaitFrames(
const Frames& frames,
Channel* channel);
224 static Frame* waitFrame(WaitHandle* handle);
229 static bool isSubPixelDecomposition(
const Frames& frames);
230 static bool isSubPixelDecomposition(
const ImageOps& ops);
236 typedef std::pair<const Frame*, const Image*> FrameImage;
240 #endif // EQ_COMPOSITOR_H std::vector< ImageOp > ImageOps
A vector of image compositing operations.
A channel represents a two-dimensional viewport within a Window.
A C++ class to abstract an accumulation buffer.
A set of functions performing compositing for a set of input frames.
A structure describing an image assembly task, used by the Compositor.
std::vector< Frame * > Frames
A vector of pointers to eq::Frame.
The Equalizer client library.
A holder for a frame data and related parameters.