Author: eilemann@gmail.com
State: Implemented in 0.3
Overview
Standalone application support enables running an Equalizer application without a resource server. The configuration is hardcoded to a single-pipe, single-window setup. It is automatically configured when no server could be connected, and a server was not explicitely specified using the --eq-server command line option or EQ_SERVER environment variable. It is intended to ease the deployment to end users without parallel rendering capabilities, i.e., simple PC usage.
Implementation
After trying a local server,
eq::Client::connectServer
tries to launch an Equalizer server as a separate thread within the
application's process. The server is connected using two unidirectional pipe()
connections. The server library is dynamically loaded
using dlopen
or LoadLibrary
. The special C entry
function
eqsStartLocalServer
is used to start the server. The function returns the connection to the server
thread, used by eq::Client::connectServer as the server connection.