* Updated gitignore
* Basic Web support
* Basic Cmake(not working)
* Working CEF
* Clean up Render/CWeb
* Download CEF in CMAKE
* Fixed compile error(excesive comma)
* Fixed CWeb compile error(scaling mode)
* Commented flag in CEF flag(-fno-rtti) which disabled dynamic cast
* Commented CEF compiler flags for MacOS
* Added third_party to gitignore
* Fixed libvulkan.so.1 error (deleted file entirely)
* Removed cefsimple, CefShutdown in signal, cleaned up cmake a bit
* Updated .gitignore
* Get render function to previous version
* Fixed typo in coment
* Fixed tab
* Removed shaders too
* Fix codefactor issues
Added comments all over the codebase to explain things a bit better
Improved CApplicationContext to be a bit more self-explanatory
Abstracted CRenderContext access away into a helper that every render class should use
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
- Separated program args parsing and validation from initialization code
- Application's main body in it's own class
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Fixed README.md to properly reflect all dependencies in the command examples
Added support for audio looping
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
- use of auto in some places (more of this to come)
- use for loops instead of iterators for most of the loops
- extracted glfw/glew code into it's own class
- make usage of std::filesystem instead of checking things with old C libraries
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Improved delay calculation for parallax (should prevent backgrounds from flickering with big delays)
Fixed g_TexelSize having the wrong value and g_TexelSizeHalf not being defined
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Added casting for integer to double in json loading
Added support for dumping all available properties
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Added support for userparameter on the clearcolor of the scene
Scenes should draw into the full framebuffer
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
Added base VAO
Fixed scene image align issues and things being flipped vertically under specific situations
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
~ moved some things into CContext so main is a bit cleaner
~ moved wallpaper object creation into CWallpaper so main is a bit cleaner
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
~ moved pixmap, gc and image creation to the initialization
TODO: SUPPORT SCREEN SIZE CHANGES (THIS MIGHT NEED REINITIALIZATION OF THINGS)
~ moved fbo creation to initialization as it won't change anymore
~ reverted render code to the original loop as now the framebuffer is exactly as big as the whole display
~ moved glReadPixels off the wallpaper as that's code is exclusively used for screen rendering and not general rendering
~ XChangeProperty forces the update of the background, otherwise the compositor stops refreshing the screen and the background gets stuck
~ updated viewport variables to be integers instead of floats
~ reverted frame rendering code to be simpler and added the option to specify a framebuffer as target instead of screen
Signed-off-by: Alexis Maiquez <almamu@almamu.com>
+ Added basic support for mouse position on shaders (still needs to be adjusted for backgrounds that are too big for the screen)
(this makes XRAY effects work)
Signed-off-by: Alexis Maiquez <almamu@almamu.com>