- Remove toStringConversion function and move json_helper include out of numericalproperty.inl
- Optimizing some header files
- Remove duplicate Lua functions from properties.
- Move List,Option,Selection,String, and TriggerProperty into misc folder
- Move lua_helper include out of inline file
- Add lua_helper to the precompiled header
- Declare property functions as final. No longer have OptionProperty derive from IntProperty
- Remove Dictionary header from properties
* Update CEF version number
* Set OpenSpace_Helper version of C++ to 20
* Update C++ syntax to v 20
* Remove deprecated function (now default)
* Set the cache folder for cef
* Make static function in webbrowsermodule that determines if we can use accelerated rendering
* Add flag for accelerated rendering to webrenderhandler
* Use accelerated rendering
* Implement function to see if gui should absorb click
* Adhere to 80 char linewidth
* Make only the UI GPU accelerated
* Use dirty rects size for the texture to remove crash
* Better comments
* Make has content function work for GPU acceleration
* Make it so all browsers can be accelerated
Tried making it so only the gui was accelerated for simplicity. Performance plummeted, so reverted that
* Tidy up
* Add accelerated rendering flag to the screenspacerenderable shader
* Add temporary fix to make the sky browser work
* Remove flag from gui render handler
* Enable webgl in a nicer way
* Unbind texture in screenspacerenderable
* Add better comments for error handling
* Tidy up
* Address PR comments
* Make the acceleration Windows only
* Remove unnecessary setting of shader dictionary
* Allow web dev tools to connect to CEF
* Update modules/webbrowser/include/browserinstance.h
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Update modules/webbrowser/include/webrenderhandler.h
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Apply suggestions from code review
Co-authored-by: Emma Broman <emma.broman@liu.se>
---------
Co-authored-by: Ylva Selling <ylva.selling@liu.se>
Co-authored-by: Emma Broman <emma.broman@liu.se>
* Add support for multiple windows & viewports
With correct rendering of both Scene and Overlays/GUI.
GUI is restricted to either the first window or any other windows tagged
with "GUI", overlays are drawn on all windows/viewports.
Closes#2542 and #1645
* Define WIN32_LEAN_AND_MEAN and VC_EXTRALEAN globally
* Use forked version of TUIO, some more work on precompiled headers
* Improvements for the Kameleon module
Fix interaction problems when hovering/clicking with the mouse in a non-GUI window, when having a setup with more than one window (e.g. the single_gui.json setup)
Previously, clicking with the mouse in the rendering window without the GUI also triggered mouse clicks in all the other windows, including the GUI windows. This was disturbing for interaction in the single_gui setup
Now, the GUI modules check to see if the clicked window is actually an interaction window
* Adapting to introduction of new Dictionary class in Ghoul
* Mainly replacing usage of float instead of doubles as expected
* Adjust to the lack of the hasKeyAndValue function
General CMake cleanup/overhaul
* Enable precompiled headers for all projects
* Move specifications itto separate CMakeLists files
* Add openspace-core as a subdirectory
* Move handle_modules functionality into modules/CMakeLists.txt
* Move handleapplications logic into apps/CMakeLists.txt
* Introduce openspace-module-collection interface library to simplify inclusion of modules in applications
* Turn module initialization into a two-step process to adapt to the new minimal dependency scenario
* Compile time speedup
* Remove circular dependencies between modules and core preventing multithreaded compilation on MSVC
* Build Spice multithreaded and as static library
* Remove dependency from core to module-webbrowser
* Remove unused dependency from kameleon
* Remove additional unnecessary dependencies
* Cleanup volume/kameleon/kameleonvolume modules
* Fix visibility issues. Restrict include paths
* Compile kameleon in parallel
* Other cleanup
* Only copy CEF files from one target (hard-coded to OpenSpace right now)
* Remove unused instrumentation code
* Remove the ability to render AABB for globes as it caused a circular dependency between GlobeBrowsing and Debugging
* Removing compiler and cppcheck warnings
* Turn almost all includes into non-system includes
* Don't warn on deprecrated copy
* Updated submodules
* Move glfw init after macOS window is ready
* MacOS fixes for BigSur
* Compile fixs
* Rename hirise.asset since linux filenames are case-sensitive
* Modified globals DataStorage method to make Linux and Mac happy
* Switched to unsecure http URLs for satellites due to httprequest problem
* Keep the QApplication around on Mac because of some reason otherwise the keyboard handler crashes
* Add comment explaining the madness
* Apply same techniques to the globalscallback file
Co-authored-by: Micah Acinapura <micahnyc@gmail.com>
Co-authored-by: Gene Payne <payne.gene@gmail.com>
* Cleaner handling of global state
* Prevent Lua memory corruption (closes#982)
* Initialize glfw first thing to prevent weird joystick loading bug during startup