Mercurial > hg > orthanc-stone
comparison Framework/Viewport/WebAssemblyViewport.cpp @ 964:91f827272c1f toa2019082701
Added cache-control headers for POST requests + #ifdef'd tracing logs + trace on context restored
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 27 Aug 2019 14:28:19 +0200 |
parents | a7351ad54960 |
children | d6b83ee3a950 |
comparison
equal
deleted
inserted
replaced
962:e70d75f199c5 | 964:91f827272c1f |
---|---|
95 | 95 |
96 //LOG(ERROR) << "About to call WebAssemblyOpenGLContext::TryRecreate()."; | 96 //LOG(ERROR) << "About to call WebAssemblyOpenGLContext::TryRecreate()."; |
97 //LOG(ERROR) << "Before calling it, isContextLost == " << context_.IsContextLost(); | 97 //LOG(ERROR) << "Before calling it, isContextLost == " << context_.IsContextLost(); |
98 | 98 |
99 if (!context_.IsContextLost()) { | 99 if (!context_.IsContextLost()) { |
100 LOG(ERROR) << "Context restored!"; | 100 LOG(TRACE) << "Context restored!"; |
101 //LOG(ERROR) << "After calling it, isContextLost == " << context_.IsContextLost(); | 101 //LOG(ERROR) << "After calling it, isContextLost == " << context_.IsContextLost(); |
102 RestoreCompositor(); | 102 RestoreCompositor(); |
103 UpdateSize(); | 103 UpdateSize(); |
104 } | 104 } |
105 } | 105 } |