Commit Graph

63 Commits

Author SHA1 Message Date
Attila Uygun 2823aa3197 Implement AudioDeviceWASAPI 2023-10-04 19:58:56 +02:00
Attila Uygun e08f6e2022 cleanup build.gradle 2023-09-29 14:05:38 +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 5e80aa1a04 Workaround for what seems to be a bug in the Android Gradle plugin
Error:
Could not determine the dependencies of task ':app:lintVitalReportDemoAllArchsRelease'.
> Could not create task ':app:lintVitalAnalyzeDemoAllArchsRelease'.
   > No such property: productFlavors for class: org.gradle.api.internal.provider.DefaultProperty
2023-09-12 21:31:16 +02:00
Attila Uygun f75a469e38 merge -> generate 2023-09-12 21:27:54 +02:00
Attila Uygun 3f13440acb Update Android Gradle plugin to 8.1.0 2023-09-12 19:21:23 +02:00
Attila Uygun c637b407c8 Cleanup gn config and .gitignore 2023-09-11 19:32:36 +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 85b5184d29 Remove forEachBuildType 2023-09-09 22:49:36 +02:00
Attila Uygun 64c63d4184 Remove provider_name resValue from build.gradle 2023-09-06 20:26:31 +02:00
Attila Uygun 915b896636 Use manifestPlaceholders for app icon 2023-09-06 20:15:00 +02:00
Attila Uygun d61b2c45d6 Rearrange code in build.gradle and add comments 2023-09-06 19:05:43 +02:00
Attila Uygun e9be4d45d2 Avoid adding gn tasks for each game 2023-09-05 22:54:06 +02:00
Attila Uygun 0b1220c114 Revert "Unify arch types in gradle and gn"
This reverts commit 05252bfae8.
2023-09-05 21:40:04 +02:00
Attila Uygun 5f8f70ed53 Get ABI codes from productFlavors and remove hard-coded strings 2023-09-05 19:21:04 +02:00
Attila Uygun 05252bfae8 Unify arch types in gradle and gn 2023-09-05 18:04:47 +02:00
Attila Uygun ea93f80aa1 Move globals into Utils 2023-09-05 17:50:32 +02:00
Attila Uygun 48fb1589c6 Remove hard-coded build variant strings 2023-09-05 17:26:17 +02:00
Attila Uygun 01bffc71ac Add archs to productFlavors 2023-09-05 17:07:48 +02:00
Attila Uygun e6d89add57 Move product specific values to productFlavors 2023-09-04 20:07:59 +02:00
Attila Uygun 37afc006d2 Use productFlavors 2023-09-04 19:29:30 +02:00
Attila Uygun 10d411bafd Use shared_library build config 2023-09-04 19:29:30 +02:00
Attila Uygun ddecaddccc Rename utils.gni to rules.gni 2023-09-04 19:29:30 +02:00
Attila Uygun ae825faf32 Always run ninja 2023-09-02 17:14:39 +02:00
Attila Uygun a07d32e44a Add support for GN to gradle config and remove cmake 2023-08-31 22:05:57 +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 001b3b60ec Support for Windows platform 2023-08-13 00:06:04 +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 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 38813f98b4 Move AudioMixer::Resource to MixerInput 2023-07-13 10:49:42 +02:00
Attila Uygun ce440f2913 Remove OpenGL threaded rendering 2023-06-26 20:03:22 +02:00
Attila Uygun 615c39a4fe Move asset loaders to engine/asset 2023-06-25 18:40:58 +02:00
Attila Uygun 068656ddc2 Bump version to 1.0.4 2023-06-06 00:26:29 +02:00
Attila Uygun 7b637a95d9 Refactoring audio code
- Add AudioBus
- Move resampling to AudioBus
- Move SincResampler to engine/audio
2023-06-04 01:42:10 +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 43afdf855f Move renderer ownership to engine 2023-05-26 22:54:14 +02:00
Attila Uygun d5ee1c7313 Rename AudioDriver to AudioSink 2023-05-24 23:14:51 +02:00
Attila Uygun 217420823c Update Android NDK to 25.2.9519653 2023-05-21 23:41:15 +02:00
Attila Uygun c90d039944 Refactoring audio code 2023-05-18 22:25:11 +02:00
Attila Uygun 7dd7d7bfd7 Remove unused assets 2023-05-17 08:22:11 +02:00
Attila Uygun 449ac3f386 Update version 2023-05-16 22:07:52 +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 655c0a7b71 Update android build
Upgrade to gradle 8.0
Compile and target sdk 33
Min sdk 24
Upgrade to Google Mobile Ads SDK 22.0
Enable c++20 and fix compilation issues
2023-05-09 22:22:02 +02:00
Attila Uygun 97271835b0 Remove gn 2023-05-05 08:22:51 +02:00
Attila Uygun 4bab472ed1 Enable extra warnings for all but third-party 2023-05-04 23:21:32 +02:00
Attila Uygun 8cd680d6a4 Enable C++20 2022-11-10 21:52:19 +01:00
Attila Uygun f723513521 Update jsoncpp (1.9.5) 2022-11-10 21:39:24 +01:00