source: opengl-game/vulkan-game.cpp

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @67527a5   3 years dportnoy Switch all per-object buffers to be dynamic uniform buffers instead of … feature/imgui-sdl
(edit) @b01b50c   3 years dportnoy Rename all BufferSets named storageBuffers_* to objectBuffers_* feature/imgui-sdl
(edit) @2f4ff8c   3 years dportnoy Change the uniform buffers to always be mapped instead of mapping them … feature/imgui-sdl
(edit) @90880fb   3 years dportnoy Start using the VulkanBuffer class for the non-per-object uniforms … feature/imgui-sdl
(edit) @5ea0a37   3 years dportnoy Add a function to VulkanBuffer to return a pointer to the buffer … feature/imgui-sdl
(edit) @6486ba8   3 years dportnoy Rewrite some parts of SDLGame and VulkanGame to store per-object … feature/imgui-sdl
(edit) @c1ec4f6   3 years dportnoy Remove the modified field from the SceneObject object feature/imgui-sdl
(edit) @b7fc3c2   3 years dportnoy Modify the VulkanBuffer class to take a range and to align data based … feature/imgui-sdl
(edit) @bb76950   3 years dportnoy Change VulkanGame::resizeBufferSet() to take a buffer size instead of … feature/imgui-sdl
(edit) @6bac215   3 years dportnoy Rewrite a large portion of the VulkanBuffer class, start using it more … feature/imgui-sdl
(edit) @8dcbf62   3 years dportnoy Add some functionality to VulkanBuffer, and modify … feature/imgui-sdl
(edit) @8aa4888   3 years dportnoy Add buffer usages and memory properties to BufferSet and save them (to … feature/imgui-sdl
(edit) @c074f81   3 years dportnoy Change VulkanUtils::copyDataToMemory() to always require a size and to … feature/imgui-sdl
(edit) @567fa88   3 years dportnoy Change createRenderCommands() to support dynamic offsets feature/imgui-sdl
(edit) @58453c3   3 years dportnoy Remove the swapChainImages parameter from the GraphicsPipeline_Vulkan … feature/imgui-sdl
(edit) @c163d81   3 years dportnoy Use BufferSet objects to store data related to uniform and storage … feature/imgui-sdl
(edit) @1abebc1   3 years dportnoy Remove the storageBuffers parameter from addObject() since it is no … feature/imgui-sdl
(edit) @a3cefaa   3 years dportnoy Move SSBO resizing and pipeline recreation checks out of addObject() … feature/imgui-sdl
(edit) @996dd3e   3 years dportnoy Completely remove storage buffers from the GraphicsPipeline_Vulkan … feature/imgui-sdl
(edit) @9d21aac   3 years dportnoy Remove the SSBOType template parameter from GraphicsPipeline_Vulkan feature/imgui-sdl
(edit) @756162f   3 years dportnoy Merge branch 'feature/imgui-sdl' of medievaltech.com:opengl-game into … feature/imgui-sdl
(edit) @cb6fabb   3 years dportnoy Update the build instructions and makefile to work with OSX again feature/imgui-sdl
(edit) @e8445f0   3 years dportnoy Modify the parameter order of VulkanUtils::copyDataToMemory and add an … feature/imgui-sdl
(edit) @b8efa56   3 years dportnoy In VulkanGame, change the asteroid pipeline to use ModelVertex feature/imgui-sdl
(edit) @8d92284   3 years dportnoy In VulkanGame, change the ship pipeline to use ModelVertex feature/imgui-sdl
(edit) @a00eb06   3 years dportnoy In VulkanGame, add a normal varying attribute to ModelVertex feature/imgui-sdl
(edit) @914bb99   3 years dportnoy In VulkanGame, specify each vertex explicitly for the model pipeline … feature/imgui-sdl
(edit) @5081b9a   3 years dportnoy Add prevTime and elapsedTime to SDLGame and refactor the … feature/imgui-sdl
(edit) @cefdf23   3 years dportnoy Rename createImguiDescriptorPool and createImguiDescriptorPool to … feature/imgui-sdl
(edit) @aa7e5f0   3 years dportnoy Rename the scene.* shaders to model.* feature/imgui-sdl
(edit) @7865c5b   3 years dportnoy Rename surface to vulkanSurface and add an initializer list to the … feature/imgui-sdl
(edit) @85b5fec   3 years dportnoy Use the new UI system in SDLGame as well feature/imgui-sdl
(edit) @301c90a   3 years dportnoy Implement the start of a generic UI system built on top of IMGUI, … feature/imgui-sdl
(edit) @187b0f5   3 years dportnoy Change VulkanGame and SDLGame to only use discrete GPUs and switch the … feature/imgui-sdl
(edit) @20e4c2b   3 years dportnoy In VulkanGame, use ImGui for the UI instead of using SDL to draw … feature/imgui-sdl
(edit) @5192672   3 years dportnoy Add ui-value\.hpp to the VulkanGame project and make curTime an … feature/imgui-sdl
(edit) @6053b24   3 years dportnoy Read events from GameGui in both VulkanGame and SDLGame and don't pass … feature/imgui-sdl
(edit) @8d96e95   3 years dportnoy Avoid recreating the swap chain when the window is minimized feature/imgui-sdl
(edit) @81869ef   3 years dportnoy Avoid rendering frames while the window is minimized feature/imgui-sdl
(edit) @484334e   3 years dportnoy In VulkanGame, correctly recreate the swap chain during the render … feature/imgui-sdl
(edit) @7734042   3 years dportnoy Cleanup VulkanGame code feature/imgui-sdl
(edit) @ea2b4dc   3 years dportnoy In VulkanGame, generate the IMGUI draw data outside of renderFrame() … feature/imgui-sdl
(edit) @1cb64e6   3 years dportnoy In VulkanGame, recreate the command buffers every frame feature/imgui-sdl
(edit) @28ea92f   3 years dportnoy Rename the flag for recreating the swap chain to … feature/imgui-sdl
(edit) @4e2c709   3 years dportnoy In VulkanGame, separate renderScene() into renderFrame() and … feature/imgui-sdl
(edit) @9c0a614   3 years dportnoy Switch to using one command pool per swap chain image in VulkanGame feature/imgui-sdl
(edit) @9067efc   3 years dportnoy Use resourceCommandPool in a few more places in VulkanGame feature/imgui-sdl
(edit) @c6f0793   3 years dportnoy Use done instead of quit as the game loop flag and change it to an … feature/imgui-sdl
(edit) @d8cf709   3 years dportnoy Change UIEvent to also include the original event from the UI library … feature/imgui-sdl
(edit) @8b823e7   4 years dportnoy Create an error-checking macro to check Vulkan function results, which … feature/imgui-sdl
(edit) @ce9dc9f   4 years dportnoy Remove all dependencies on VulkanH functions and structures from SDLGame feature/imgui-sdl
(edit) @3f32dfd   4 years dportnoy In VulkanGame, use the rewritten functions for querting swap chain … feature/imgui-sdl
(edit) @6a39266   4 years dportnoy In vulkan-game, throw an error if either a graphics or present queue … feature/imgui-sdl
(edit) @6493e43   4 years dportnoy In sdl-game, add support for using separate graphics and present … feature/imgui-sdl
(edit) @3b7d497   4 years dportnoy Start implementing an ImGUI ui on top of SDL and Vulkan using some … feature/imgui-sdl
(edit) @c324d6a   4 years dportnoy Make some minor updates to VulkanGame feature/imgui-sdl
(edit) @aa7707d   4 years dmp1488 Update the Vulkan SDK version and get the latest code compiling on Windows feature/imgui-sdl
(edit) @6bfd91c   4 years dmitry.portnoy Remove unused variables from the VulkanGame class after they were … feature/imgui-sdl
(edit) @f809ae6   4 years dmitry.portnoy Show the score and frame rate on the game screen feature/imgui-sdl
(edit) @699e83a   4 years dmitry.portnoy Add a GameScreen class to render the main gameplay feature/imgui-sdl
(edit) @e1f88a9   4 years dmitry.portnoy Create a system to draw and switch between different screens, a Screen … feature/imgui-sdl
(edit) @4e705d6   4 years dmitry.portnoy Rename initWindow to initUI and move code for initializing the UI … feature/imgui-sdl
(edit) @4a9416a   4 years dmitry.portnoy Create a pipeline and shaders to render explosions feature/imgui-sdl
(edit) @52a02e6   4 years dmitry.portnoy Add a primitive topology parameter to the GraphicsPipeline_Vulkan … feature/imgui-sdl
(edit) @7297892   4 years dmitry.portnoy Make lasers deal damage to asteroids and eventually destroy them feature/imgui-sdl points-test
(edit) @3950236   4 years dmitry.portnoy Make a laser stop when it hits an asteroid feature/imgui-sdl points-test
(edit) @1f81ecc   4 years dmitry.portnoy Add the ability for the ship to fire a laser from either of its wings feature/imgui-sdl points-test
(edit) @237cbec   4 years dmitry.portnoy Create a pipeline and shaders to render multicolored lasers feature/imgui-sdl points-test
(edit) @6104594   4 years dmitry.portnoy Make curTime a static global variable so it can be used by classes … feature/imgui-sdl points-test
(edit) @5ba732a   4 years dmitry.portnoy Add a modified flag to SceneObject and, instead of copying an object's … feature/imgui-sdl points-test
(edit) @4994692   4 years dmitry.portnoy Change VulkanGame::addObject() to return a reference to the … feature/imgui-sdl points-test
(edit) @2ba5617   4 years dmitry.portnoy Center each object before, rather than after, it is copied to the GPU … feature/imgui-sdl points-test
(edit) @1add0ed   4 years dmitry.portnoy Set model_base and call updateObject()to control the initial position … feature/imgui-sdl points-test
(edit) @22217d4   4 years dmitry.portnoy Make the view and projection matrices instaces variables of the … feature/imgui-sdl points-test
(edit) @0807aeb   4 years dmp1488 Spawn asteroids at a regular interval and make them move in the … feature/imgui-sdl points-test
(edit) @44f23af   4 years dmitry.portnoy In VulkanGame, add code to resize the storage buffer and update the … feature/imgui-sdl points-test
(edit) @3b84bb6   4 years dmitry.portnoy In VulkanGame, call centerObject() on all objects when they are … feature/imgui-sdl points-test
(edit) @2da64ef   4 years dmitry.portnoy In VulkanGame, move the logic of updating per-object data in the SSBO … feature/imgui-sdl points-test
(edit) @860a0da   4 years dmitry.portnoy In VulkanGame, move fields related to the ssbo, as well as code to … feature/imgui-sdl points-test
(edit) @d25381b   4 years dmitry.portnoy In VulkanGame, rename fields related to the ubo and ssbo for the model … feature/imgui-sdl points-test
(edit) @2d87297   4 years dmitry.portnoy In VulkanGame, add an ssbo field to SceneObject to hold per-object … feature/imgui-sdl points-test
(edit) @5a1ace0   4 years dmitry.portnoy In VulkanGame, add objIndex to scene objects, use it in the scene … feature/imgui-sdl points-test
(edit) @4ece3bf   5 years dmitry.portnoy In VulkanGame, add the ability to delete asteroids and move them at a … feature/imgui-sdl points-test
(edit) @3e8cc8b   5 years dmitry.portnoy In VulkanGame, add the asteroid shader pipeline and start implementing … feature/imgui-sdl points-test
(edit) @0fe8433   5 years dmp1488 Create an addObject() method in VulkanGame (which wraps the old … feature/imgui-sdl points-test
(edit) @cd1cb0f   5 years dmitry.portnoy In VulkanGame, make the ship move when the player holds down the right … feature/imgui-sdl points-test
(edit) @a79be34   5 years dmitry.portnoy Finish copying the ship pipeline to VulkanGame feature/imgui-sdl points-test
(edit) @60578ce   5 years dmp1488 In VulkanGame, make lighting work correctly in the ship shader with … feature/imgui-sdl points-test
(edit) @7c929fc   5 years dmp1488 In VulkanGame, make lighting work correctly in the ship shader before … feature/imgui-sdl points-test
(edit) @2b40f48   5 years dmitry.portnoy Merge branch 'master' into hotfix/ship-shader-lights feature/imgui-sdl points-test
(edit) @cf727ca   5 years dmitry.portnoy In VulkanGame, add an objectIndex vertex attribute to the ship shader … feature/imgui-sdl points-test
(edit) @785333b   5 years dmitry.portnoy Setup debug environment for ship shader lighting feature/imgui-sdl points-test
(edit) @055750a   5 years dmitry.portnoy In VulkanGame, use SSBOs in the ship and scene shaders to store … feature/imgui-sdl points-test
(edit) @e1308e8   5 years dmp1488 In VulkanGame, add normals to the ship pipeline and get lighting to work feature/imgui-sdl points-test
(edit) @3782d66   5 years dmitry.portnoy Add a new pipeline, vertex type, and ubo-related structures to render … feature/imgui-sdl points-test
(edit) @f97c5e7   5 years dmitry.portnoy Create an initGraphicsPipelines() function and templatize and … feature/imgui-sdl points-test
(edit) @8e02b6b   5 years dmitry.portnoy To move to a more generic way of updating the scene, rename … feature/imgui-sdl points-test
(edit) @683dd55   5 years dmp1488 Add a getObjects() method to the GraphicsPipeline_Vulkan class that … feature/imgui-sdl points-test
(edit) @15104a8   5 years dmitry.portnoy In vulkangame, nitialize the view and projection metrices to what they … feature/imgui-sdl points-test
(edit) @5ab1b20   5 years dmitry.portnoy Make VulkanGame use the same projection matrix as the original OpenGL game feature/imgui-sdl points-test
Note: See TracRevisionLog for help on using the revision log.