Mercurial > hg > orthanc-stone
comparison Framework/OpenGL/WebAssemblyOpenGLContext.h @ 1351:1b8e37770d78 broker
ID vs CSS selector distinction in API and field names.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 15 Apr 2020 12:57:36 +0200 |
parents | 2d8ab34c8c91 |
children | 30deba7bc8e2 |
comparison
equal
deleted
inserted
replaced
1350:c53a4667f895 | 1351:1b8e37770d78 |
---|---|
52 private: | 52 private: |
53 class PImpl; | 53 class PImpl; |
54 boost::shared_ptr<PImpl> pimpl_; | 54 boost::shared_ptr<PImpl> pimpl_; |
55 | 55 |
56 public: | 56 public: |
57 WebAssemblyOpenGLContext(const std::string& canvas); | 57 WebAssemblyOpenGLContext(const std::string& canvasSelector); |
58 | 58 |
59 virtual bool IsContextLost() ORTHANC_OVERRIDE; | 59 virtual bool IsContextLost() ORTHANC_OVERRIDE; |
60 | 60 |
61 virtual void MakeCurrent() ORTHANC_OVERRIDE; | 61 virtual void MakeCurrent() ORTHANC_OVERRIDE; |
62 | 62 |
71 */ | 71 */ |
72 //bool TryRecreate(); | 72 //bool TryRecreate(); |
73 | 73 |
74 void UpdateSize(); | 74 void UpdateSize(); |
75 | 75 |
76 const std::string& GetCanvasIdentifier() const; | 76 const std::string& GetCanvasSelector() const; |
77 | 77 |
78 | 78 |
79 /** | 79 /** |
80 * This is for manual context loss (debug purposes) | 80 * This is for manual context loss (debug purposes) |
81 **/ | 81 **/ |