X-Git-Url: http://git.tdb.fi/?p=libs%2Fvr.git;a=blobdiff_plain;f=source%2Fopenvr%2Fopenvrcombiner.h;h=33f266c9988cb95541d1e6d021097e2d385af0dc;hp=ad4a37d8a99758ee8f65e4e120bf282ff613ce75;hb=a0a8e3a7c5a229dcccd1af3a3edeac5ba8156954;hpb=78598b41009aeabb7f9b4b4ddc05b68e7edd6eb6 diff --git a/source/openvr/openvrcombiner.h b/source/openvr/openvrcombiner.h index ad4a37d..33f266c 100644 --- a/source/openvr/openvrcombiner.h +++ b/source/openvr/openvrcombiner.h @@ -1,23 +1,26 @@ #ifndef MSP_VR_OPENVRCOMBINER_H_ #define MSP_VR_OPENVRCOMBINER_H_ +#include #include namespace Msp { namespace VR { -class OpenVRDevice; +class OpenVRSystem; class OpenVRCombiner: public StereoCombiner { private: struct Private; - OpenVRDevice &device; + OpenVRSystem &system; + GL::View &view; public: - OpenVRCombiner(OpenVRDevice &); + OpenVRCombiner(OpenVRSystem &, GL::View &); + virtual bool is_mirroring_supported() const { return true; } virtual void prepare() const; virtual void render(const GL::Texture2D &, const GL::Texture2D &) const; };