Commit Graph

36 Commits

Author SHA1 Message Date
Attila Uygun e376b1bc17 Add option to switch between renderers 2023-06-04 12:54:40 +02:00
Attila Uygun 29ce485ca3 Fix for crash in renderer 2023-06-02 14:23:21 +02:00
Attila Uygun 685b17aba6 Bump version
Also fix typo and remove redundant code
Add bash script for ndk-stack
2023-05-30 11:59:18 +02:00
Attila Uygun f6f67d7e53 Cleanup renderer 2023-05-26 22:54:14 +02:00
Attila Uygun 43afdf855f Move renderer ownership to engine 2023-05-26 22:54:14 +02:00
Attila Uygun 66557f07e3 Do not reinitialize Vulcan context unnecessarily. 2023-05-26 22:45:24 +02:00
Attila Uygun b160ae0bd3 Support for switching between renderers in run-time 2023-05-24 23:14:14 +02:00
Attila Uygun b7f1f7faa2 Shutdown renderer in destructor 2023-05-23 00:01:19 +02:00
Attila Uygun 94242fca0b Revert "Try Vulkan renderer first, fallback to OpenGL if it fails."
This reverts commit daa3a8c06f.
2023-05-23 00:01:19 +02:00
Attila Uygun 41bb5e286a Fix for vulkan renderer 2023-05-21 22:23:04 +02:00
Attila Uygun daa3a8c06f Try Vulkan renderer first, fallback to OpenGL if it fails. 2023-05-16 22:07:52 +02:00
Attila Uygun beba055645 Stringify error values 2023-05-16 22:07:52 +02:00
Attila Uygun 0a2f1bd7c3 Miscellaneous changes and improvements 2023-05-16 22:07:52 +02:00
Attila Uygun 58cc270e24 Use final and override appropriately 2023-05-16 08:46:50 +02:00
Attila Uygun 5ca5ed763a Update to Vulkan SDK 1.3.231.1
Update vma, volk, vulkan headers, glslang, spirv-reflect.
Remove Vulkan loader and use volk instead.
2023-05-12 00:08:36 +02:00
Attila Uygun 4bab472ed1 Enable extra warnings for all but third-party 2023-05-04 23:21:32 +02:00
Attila Uygun 653c283758 Use std::counting_semaphore 2023-05-04 18:07:30 +02:00
Attila Uygun 10e272fee1 Code cleanup and improvements 2022-09-13 20:25:29 +02:00
Attila Uygun a2dafd172e Code cleanup 2022-09-13 20:25:25 +02:00
Attila Uygun 0bb653d985 Code cleanup 2021-10-28 23:30:59 +02:00
Attila Uygun 0866349f58 Code cleanup
- Use absolute paths for includes.
- Add file path to include guards.
- Use uint64_t for resource id.
- Compile engine code into separate lib.
- Compile time and run time string hashing functions.
- Rename Worker to ThreadPool.
- Update .gitignore
- Code generator for texture compressor.
2021-10-27 18:22:32 +02:00
Attila Uygun 042bffaff3 Renderer code refactoring. 2021-10-26 23:35:14 +02:00
Attila Uygun e669f2b474 enable/disable depth test. 2021-02-23 17:26:07 +01:00
Attila Uygun 68b6b1dfea Vulkan: depth buffer 2021-02-23 17:26:05 +01:00
Attila Uygun 1ae44b6a76 vecmath 2021-02-18 23:43:40 +01:00
Attila Uygun f332246ea9 Vulkan: Spirv cache. 2021-02-11 21:54:30 +01:00
Attila Uygun 580ff678ec Vulkan: Optimization for begin/end command buffer. 2021-02-11 21:54:27 +01:00
Attila Uygun 03776c643e Support for multiple texture bindings for Vulkan. 2021-02-11 21:51:05 +01:00
Attila Uygun 3a5572c8d0 Cleanup 2021-02-11 21:51:05 +01:00
Attila Uygun bb4c6032fb Compressed texture support for Vulkan. 2021-02-10 00:39:04 +01:00
Attila Uygun 823e56ee13 Index buffer support for Vulkan. 2021-02-10 00:39:04 +01:00
Attila Uygun 128fa659a8 Record setup command buffer in a background thread. 2021-02-10 00:39:04 +01:00
Attila Uygun 671661758c Implement Vulkan renderer. 2021-02-10 00:39:04 +01:00
Attila Uygun 7920d9f251 Update.
- Implement PersistentData.
- Update jsoncpp (1.9.3).
- Update logging implementation.
- New audio resampler (SincResampler).
- Avoid busy-looping in audio thread (AudioAlsa).
- Add BindWeak.
- AdMob support.
- Support for record/replay user input.
- Custom shader support for ImageQuad.
- Implement SetKeepScreenOn for Android.
- Move animation updates to Engine.
- Code refactoring for renderer.
- Various fixes and code cleanup.
2021-02-10 00:39:04 +01:00
Attila Uygun 9d92d01be1 Update.
- Various fixes for sound system.
- Code cleanup and refactoring.
- Move boilerplate code to engine.
- Texture management is moved to engine. Game code uses asset names and
  doesn't know about textures.
- Multi-touch support.
- GN build (WIP)
- Add LOG_DIFF, CHECK, DCHECK and NOTREACHED.
- Implement global thread-pool for Worker.
- Use TaskRunner in ThreadPool.
- Font: Cover all ASCII chars.
- Option to disable audio and vibration.
2020-09-08 21:08:11 +02:00
Attila Uygun 05466725af Initial commit. 2020-09-08 21:08:07 +02:00