Each constructor of those classes now creates a swapchain.
Required some adjustments in vkb::RenderContext, vkb::Platform, vkb::rendering::HPPRenderContext, and vkb::platform::HPPPlatform
* add ninja-build to the Dockerfile.
* Update Android NativeActivity with GameActivity.
* attempt to fix the clang CI errors. There's plenty of warnings in pre-existing files that will need to be addressed someday.
* woops revert that Dockerfile change.
* add in to the android build a first step of downloading all the dependencies. It's possible this might not build because AGP sets the directory for where to find the cmake files that prefab creates. AS is what calls AGP, so without AS AGP might not be called, in which case, need to add the directory to the command line when the prefab is exploded. This is a test commit to see how much more needs to be done.
* go ahead and grab all of the project dependencies. This will provide the side benefit of being a useful task to others in the sense that it will separate the dependency downloading / resolving from the building.
also, opps wasn't in the right directory.
* revert this change.
* print it to the logs to see what's going on.
* print it to the logs to see what's going on.
* remove jetifier and copy Dan's setup template.
* enable build cache and disable parallel building.
* fix a small bug.
* use gradles' build cache.
* Accept Gerry's comments about using 2.0.0 of games-activity.
* attempt running without a dockerfile.
* try fixing the build.yml
* try fixing the build.yml
* didn't mean to add video to this PR.
RE-add the properties that we used to use.
* update to latest AGP and dependencies.
---------
Co-authored-by: swinston <steve@holochip.com>
Co-authored-by: gpx1000 <gpx1000@gmail.com>
* Plugins
* CI fixes
* WIP
* Android fix
* Remove poll_events
* HPP Vulkan Triangle Fix
* Quality check fixes
* Android fix for hpp hello triangle rebase
* Add samples list
* Use ExitCodes instead of global try/catch
* Close records a close request if a window isnt yet available
* Android fix / better log message for premature close in android platform
* Fix android build
* Check for app bit requested outside of main loop
* todo: explain this
* change default window size
* change default window size
* Implemented headless mode
- Implemented headless rendering, with support for the Vulkan headless surface extension
- Introduced concept of a Window
- A platform owns a window
- GLFW is now a window GLFWWindow, not a platform
- HeadlessWindow for headless rendering
- DirectWindow for Unix based D2D rendering
- AndroidWindow wrapper for Android window handling, with a built in headless mode
* Arm updates to samples and framework
Samples
- Descriptor set management sample highlighting:
- Benefits of descriptor set caching
- Approaches to buffer management
- Updated Command buffer usage sample:
- Multi-threaded command buffer recording
- Toggle between single primary command buffer or adjustable number of secondaries
- Updated Render Subpasses sample:
- Define lights in the sample not the shader
- Updated Render Passes sample:
- Adds the ability to toggle the use of vkCmdClear
- Updated AFBC sample:
- Added a list of supported formats to the tutorial
- Fixed a bug where AFBC would never be disabled via the sample checkbox
- Updated Surface Rotation sample:
- Refactored code and documentation
- Updated tutorial screenshots and code snippets
Framework
- Implemented benchmark mode
- Screenshot was made much faster by using GPU_TO_CPU memory
- Composite counters such as cache miss ratio and branch miss ratio are now supported
- Mulithreaded rendering, where command recording is thread-safe
- Gltf Loader supports extension loading, and the scene graph now can support lights loaded in from KHR_lights_punctual
Bugfix
- Fixed a bug which prevented the creation of the output directory on Android
- Fixed a bug with batch mode in portrait orientation
- Avoid loss of precision in the projection matrix to reduce flickering
- Fixed a bug with rotation in surface rotation sample
Other
- Added tutorial to find the driver version of the GPU
- Various bug fixes and improvements