X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fopenvr%2Fopenvrcombiner.h;h=5b9e3b4235a26d49377b19c71145d67a1981e5a6;hb=7ad8d41683649816d3d162f614dc8bb585053311;hp=ad4a37d8a99758ee8f65e4e120bf282ff613ce75;hpb=78598b41009aeabb7f9b4b4ddc05b68e7edd6eb6;p=libs%2Fvr.git diff --git a/source/openvr/openvrcombiner.h b/source/openvr/openvrcombiner.h index ad4a37d..5b9e3b4 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 &device; + 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; };