diff Framework/Viewport/SdlViewport.h @ 1045:6a9300ecfa13

tests for context loss are now restricted to WebAssembly
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Oct 2019 17:17:56 +0200
parents a7351ad54960
children efc5b62b9539
line wrap: on
line diff
--- a/Framework/Viewport/SdlViewport.h	Wed Oct 09 15:58:39 2019 +0200
+++ b/Framework/Viewport/SdlViewport.h	Wed Oct 09 17:17:56 2019 +0200
@@ -87,12 +87,6 @@
       return context_.GetWindow();
     }
 
-    virtual void* DebugGetInternalContext() const ORTHANC_OVERRIDE;
-
-    virtual bool IsContextLost() ORTHANC_OVERRIDE;
-    bool OpenGLContextLost();
-    bool OpenGLContextRestored();
-
     virtual void UpdateSize(unsigned int width, unsigned int height) ORTHANC_OVERRIDE
     {
       // nothing to do in OpenGL, the OpenGLCompositor::UpdateSize will be called automatically
@@ -100,9 +94,6 @@
     virtual void Refresh() ORTHANC_OVERRIDE;
 
   protected:
-    virtual void DisableCompositor() ORTHANC_OVERRIDE;
-    virtual void RestoreCompositor() ORTHANC_OVERRIDE;
-
     virtual ICompositor* GetCompositor() ORTHANC_OVERRIDE
     {
       return compositor_.get();
@@ -136,9 +127,6 @@
       return window_;
     }
 
-    virtual void DisableCompositor() ORTHANC_OVERRIDE;
-    virtual void RestoreCompositor() ORTHANC_OVERRIDE;
-
     virtual void Refresh() ORTHANC_OVERRIDE;
 
     virtual void UpdateSize(unsigned int width,