diff Framework/Viewport/IViewport.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 32b403a47b19
line wrap: on
line diff
--- a/Framework/Viewport/IViewport.h	Wed Oct 09 15:58:39 2019 +0200
+++ b/Framework/Viewport/IViewport.h	Wed Oct 09 17:17:56 2019 +0200
@@ -46,14 +46,11 @@
 
     virtual unsigned int GetCanvasHeight() const = 0;
 
+    // TODO - Is this needed at this level (e.g. for SDL)?
     virtual const std::string& GetCanvasIdentifier() const = 0;
 
     virtual ScenePoint2D GetPixelCenterCoordinates(int x, int y) const = 0;
 
-    virtual bool IsContextLost() = 0;
-
-    virtual void* DebugGetInternalContext() const = 0;
-
 #if ORTHANC_ENABLE_LOCALE == 1
     virtual void SetFont(size_t index,
       Orthanc::EmbeddedResources::FileResourceId resource,
@@ -62,6 +59,7 @@
 #endif
 
   protected:
+    // TODO - Replace this by "ICompositor& GetCompositor()"    
     virtual ICompositor* GetCompositor() = 0;
 
     virtual const ICompositor* GetCompositor() const