Commit Graph

145 Commits

Author SHA1 Message Date
Attila Uygun 75b5046684 Arbitrary scale-up 2023-10-25 23:40:07 +02:00
Attila Uygun 669ed5e098 Update for ImguiBackend
- Use RobotoMono-Regular.ttf instead of the default font
- Use delta-time instead of elapsed-time
- Fix for scissor/clipping rectangle
2023-10-25 20:03:26 +02:00
Attila Uygun 8b47314e72 Fix for compiler warnings 2023-10-24 00:48:46 +02:00
Attila Uygun b8e7957d91 Revert "Fix for compile warnings"
This reverts commit 2eb571b1ff.
2023-10-24 00:39:02 +02:00
Attila Uygun 2eb571b1ff Fix for compile warnings 2023-10-24 00:32:23 +02:00
Attila Uygun 010c6b097c Add support for texture units 2023-10-24 00:01:20 +02:00
Attila Uygun 3125bb9c95 Activate imgui shader only once. 2023-10-22 23:39:29 +02:00
Attila Uygun 4cc2c03afe Vulkan: Fix for activate-texture 2023-10-22 23:34:38 +02:00
Attila Uygun 06e42ead57 Use imgui to show stats 2023-10-15 10:12:09 +02:00
Attila Uygun 7b8d2db565 Implement ImguiBackend 2023-10-14 21:04:11 +02:00
Attila Uygun eed6d4751c Add imgui to third_party 2023-10-14 21:04:07 +02:00
Attila Uygun 2bafd5dbd7 Add support for scissor 2023-10-14 00:51:29 +02:00
Attila Uygun 14b2d22fbd Fix for index buffer
- Fix index data offset in Vulkan geometry buffer.
- Normalize vertex colors.
- Add support for drawing from a given index offset.
2023-10-11 20:04:11 +02:00
Attila Uygun 2823aa3197 Implement AudioDeviceWASAPI 2023-10-04 19:58:56 +02:00
Attila Uygun 261e7f41d6 Move custom shader from ImageQuad to Drawable 2023-09-30 23:30:34 +02:00
Attila Uygun 02418aa42a Rename AudioSink to AudioDevice 2023-09-30 22:43:28 +02:00
Attila Uygun dd14ed30ea Use gn target name for the native lib 2023-09-27 23:35:00 +02:00
Attila Uygun 35958b13f7 Move assets to assets/demo 2023-09-27 21:33:00 +02:00
Attila Uygun 5b57d55c28 Fix for build (Windows) 2023-09-26 22:32:44 +02:00
Attila Uygun d779d17b3d Add separate gn configs for renderer, audio and platform 2023-09-23 22:49:10 +02:00
Attila Uygun 8c66e7aa7a Move VMA_STATIC_VULKAN_FUNCTIONS to vma/BUILD.gn 2023-09-12 19:57:11 +02:00
Attila Uygun f2d6b04782 Add a separate gn config for each third-party library 2023-09-11 19:32:33 +02:00
Attila Uygun ba7c823c91 Update hello world 2023-09-05 22:09:47 +02:00
Attila Uygun e6d89add57 Move product specific values to productFlavors 2023-09-04 20:07:59 +02:00
Attila Uygun ddecaddccc Rename utils.gni to rules.gni 2023-09-04 19:29:30 +02:00
Attila Uygun 9ff2e51ff1 Add support for Android build to GN config 2023-08-31 22:05:53 +02:00
Attila Uygun 2ca0bb9b5b Update build files 2023-08-15 18:48:34 +02:00
Attila Uygun 169e05c970 Cleanup 2023-08-14 00:14:34 +02:00
Attila Uygun 001b3b60ec Support for Windows platform 2023-08-13 00:06:04 +02:00
Attila Uygun 6e952e511e Add Platform::CreateMainWindow 2023-08-10 10:03:28 +02:00
Attila Uygun 8503c549d7 Use aligned memory in stb_image 2023-08-09 01:16:15 +02:00
Attila Uygun 96d6a52a74 Update timer.h
Remove Timer class. Add ElapsedTimer and DeltaTimer classes that use
std::chrono::high_resolution_clock
2023-08-08 00:32:07 +02:00
Attila Uygun 10823cd459 Fix memory issue in VulkanContext::SwapBuffers 2023-08-08 00:02:20 +02:00
Attila Uygun 26514fd142 Use base::PIf 2023-08-07 23:58:10 +02:00
Attila Uygun fb7f91185d Update glew to 2.2.0 2023-08-06 21:37:26 +02:00
Attila Uygun f56cc119bf Code cleanup 2023-08-05 01:52:07 +02:00
Attila Uygun 2c1d55fc30 Replace the build system with gn
No support for APKs, Java code etc. Keep using gradle for Android for now.
2023-08-03 11:32:28 +02:00
Attila Uygun 571a21914c Fix typo 2023-07-29 00:47:18 +02:00
Attila Uygun 26a1270702 Add Engine::Print method
Also add a hello world example to readme
2023-07-28 18:37:51 +02:00
Attila Uygun e65d37e846 Make member variables in MixerInput private 2023-07-16 12:42:07 +02:00
Attila Uygun 19910be27e Refactoring and comments for MixerInput 2023-07-14 00:35:20 +02:00
Attila Uygun 34a73082a6 Fix typo 2023-07-13 10:56:51 +02:00
Attila Uygun 38813f98b4 Move AudioMixer::Resource to MixerInput 2023-07-13 10:49:42 +02:00
Attila Uygun c5171ffc03 Hash uniform name strings 2023-07-12 02:32:22 +02:00
Attila Uygun e509588f61 Optimization for AudioMixer
Remove resource map and use std::shared_ptr<void>
2023-07-11 23:29:47 +02:00
Attila Uygun 6bad0ac9c0 Use a vector instead of unordered_map for shader variables 2023-07-11 23:22:43 +02:00
Attila Uygun cccc6ca8c3 Cleanup 2023-07-10 00:17:09 +02:00
Attila Uygun 0398903585 Fix for opengl renderer 2023-07-04 22:46:39 +02:00
Attila Uygun 392c4eaf8f Update for vulkan renderer
- Create staging buffers before starting bg thread
- Remove VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT
2023-07-01 23:25:37 +02:00
Attila Uygun 3dc48ef05e Implement window resize 2023-07-01 21:36:26 +02:00