added ability to publish to a gl::Texture for current FBO support
allow publishTexture to specify whether texture is flipped (default true)