https://github.com/vokegpu/vk-ekg
ekg gpu allocator using Vulkan API.
https://github.com/vokegpu/vk-ekg
Last synced: 8 months ago
JSON representation
ekg gpu allocator using Vulkan API.
- Host: GitHub
- URL: https://github.com/vokegpu/vk-ekg
- Owner: vokegpu
- Created: 2022-10-11T17:38:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-19T01:11:08.000Z (over 3 years ago)
- Last Synced: 2025-03-15T15:12:16.329Z (about 1 year ago)
- Language: C++
- Size: 199 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vk-ekg
This project contains the `ekg::gpu::allocator` variant devlopment source, this uses the Vulkan API version 1_0_0.
Note: The GPU allocator use the same logic system of OpenGL gpu allocator.
# Buffer and Draws
The VK ekg gpu allocator is incomplete, there is some phases before reach draws:
Gen 2 buffers and re alloc the two buffers everytime the allocator is revoked.
After invoked it collect vert and uv data. At revoke segment the allocator re alloc all vertex and uv data from CPU cache to the two buffers primary generated.
Clean the CPU data cache.
With all data sent to the two buffers into GPU, the allocator call draws using iterations to pass multiples uniforms.
---
The project is not a priority, I am learning Vulkan.