source: opengl-game/vulkan-game.cpp

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @28ea92f   4 years dportnoy Rename the flag for recreating the swap chain to … feature/imgui-sdl
(edit) @4e2c709   4 years dportnoy In VulkanGame, separate renderScene() into renderFrame() and … feature/imgui-sdl
(edit) @9c0a614   4 years dportnoy Switch to using one command pool per swap chain image in VulkanGame feature/imgui-sdl
(edit) @9067efc   4 years dportnoy Use resourceCommandPool in a few more places in VulkanGame feature/imgui-sdl
(edit) @c6f0793   4 years dportnoy Use done instead of quit as the game loop flag and change it to an … feature/imgui-sdl
(edit) @d8cf709   4 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   5 years dmp1488 Spawn asteroids at a regular interval and make them move in the … feature/imgui-sdl points-test
(edit) @44f23af   5 years dmitry.portnoy In VulkanGame, add code to resize the storage buffer and update the … feature/imgui-sdl points-test
(edit) @3b84bb6   5 years dmitry.portnoy In VulkanGame, call centerObject() on all objects when they are … feature/imgui-sdl points-test
(edit) @2da64ef   5 years dmitry.portnoy In VulkanGame, move the logic of updating per-object data in the SSBO … feature/imgui-sdl points-test
(edit) @860a0da   5 years dmitry.portnoy In VulkanGame, move fields related to the ssbo, as well as code to … feature/imgui-sdl points-test
(edit) @d25381b   5 years dmitry.portnoy In VulkanGame, rename fields related to the ubo and ssbo for the model … feature/imgui-sdl points-test
(edit) @2d87297   5 years dmitry.portnoy In VulkanGame, add an ssbo field to SceneObject to hold per-object … feature/imgui-sdl points-test
(edit) @5a1ace0   5 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
(edit) @5a0242e   5 years dmp1488 Refactor GraphicsPipeline_Vulkan to allow adding new data after … feature/imgui-sdl points-test
(edit) @b8777b7   5 years dmitry.portnoy Templatize GraphicsPipeline_Vulkan by adding a VertexType parameter … feature/imgui-sdl points-test
(edit) @cd487fb   5 years dmitry.portnoy Replace some couts with runtime_exceptions and, in vulkangame, only … feature/imgui-sdl points-test
(edit) @e3bef3a   5 years dmp1488 Finish the rewrite of the original vulkangame project feature/imgui-sdl points-test
(edit) @0ae182f   5 years dmp1488 In vulkangame, finish implementing recreateSwapChain() feature/imgui-sdl points-test
(edit) @1f25a71   5 years dmitry.portnoy In vulkangame, print the SDL version and finish implementing … feature/imgui-sdl points-test
(edit) @cc4a8b5   5 years dmp1488 Make vulkangame compile under Linux feature/imgui-sdl points-test
(edit) @f985231   5 years dmp1488 In vulkangame, update the MVP matrix and copy it to the uniform buffer … feature/imgui-sdl points-test
(edit) @d2d9286   5 years dmp1488 In vulkangame, implement the renderScene function to draw a frame in … feature/imgui-sdl points-test
(edit) @87c8f1a   5 years dmitry.portnoy In vaulkangame, define vertex buffer and index buffer data and … feature/imgui-sdl points-test
(edit) @34bdf3a   5 years dmitry.portnoy In vulkangame, create Vulkan synchronization objects for rendering feature/imgui-sdl points-test
(edit) @603b5bc   5 years dmitry.portnoy In vulkangame, add code to create the frame buffers and command buffers feature/imgui-sdl points-test
(edit) @e83b155   5 years dmitry.portnoy In vulkangame, destroy the texture sampler, all the uniform buffer … feature/imgui-sdl points-test
(edit) @b794178   5 years dmitry.portnoy In vulkangame, add the ability to create vulkan resoirces and … feature/imgui-sdl points-test
(edit) @771b33a   5 years dmitry.portnoy In openglgame, port over some more of the pipeline creation code and … feature/imgui-sdl points-test
(edit) @7d2b0b9   5 years dmp1488 Add and begin implementing a GraphicsPipeline class to hold info for … feature/imgui-sdl points-test
(edit) @a0da009   5 years dmitry.portnoy Add a window resize callback in gamegui and add an unknown event type … feature/imgui-sdl points-test
(edit) @fa9fa1c   5 years dmitry.portnoy In vulkangame, create the command pool feature/imgui-sdl points-test
(edit) @0e09340   5 years dmitry.portnoy In vulkangame, detect when the framebuffer is resized feature/imgui-sdl points-test
(edit) @6fc24c7   5 years dmitry.portnoy In vulkangame, add code to create a render pass feature/imgui-sdl points-test
(edit) @f94eea9   5 years dmitry.portnoy In vulkangame, add code to create image views feature/imgui-sdl points-test
(edit) @502bd0b   5 years dmp1488 In vulkangame, add code to create a swap chain feature/imgui-sdl points-test
(edit) @c1c2021   5 years dmp1488 In vulkangame, add code to create a logical device feature/imgui-sdl points-test
(edit) @a0c5f28   5 years dmp1488 Add renderScene and renderUI functions to vulkangame feature/imgui-sdl points-test
(edit) @fe5c3ba   5 years dmp1488 In vulkangame, change the pickPhysicalDevice() and isDeviceSuitable() … feature/imgui-sdl points-test
(edit) @90a424f   5 years dmitry.portnoy In vulkangame, add code to create a Vulkan surface and pick a physical … feature/imgui-sdl points-test
(edit) @c1d9b2a   5 years dmp1488 In vulkangame, create a Vulkan instance and enable the Vulkan debug … feature/imgui-sdl points-test
(edit) @a6f6833   5 years dmp1488 Remove getWindowSize() from game-gui and instead add getWindowWidth(), … feature/imgui-sdl points-test
(edit) @c559904   5 years dmitry.portnoy Start using the logger class to output basic debugging info to a file … feature/imgui-sdl points-test
(edit) @2e77b3f   5 years dmitry.portnoy Move the debug status output from the main functions to the openglgame … feature/imgui-sdl points-test
(edit) @c61323a   5 years dmp1488 Implement processEvents() and pollEvent() for GameGui_GLFW and … feature/imgui-sdl points-test
(edit) @f6521fb   5 years dmitry.portnoy Add processEvents() and pollEvent() to GameGui, implement them for … feature/imgui-sdl points-test
(edit) @27c40ce   5 years dmp1488 Update vulkangame to correctly display a window in Windows and add … feature/imgui-sdl points-test
(edit) @ed7c953   5 years dmitry.portnoy Print an error message when game-gui fails to create a window feature/imgui-sdl points-test
(edit) @b6e60b4   5 years dmitry.portnoy In vulkangame and openglgame: - use int instead of usigned int for … feature/imgui-sdl points-test
(edit) @1ce9afe   5 years dmitry.portnoy Add a fullscreen flag to GameGui::CreateWindow and implement … feature/imgui-sdl points-test
(edit) @5edbd58   5 years dmitry.portnoy For both openglgame and vulkangame, pass in the window width and … feature/imgui-sdl points-test
(edit) @d5f2b42   5 years dmitry.portnoy Create a generic GetError() function in game-gui that returns the last … feature/imgui-sdl points-test
(edit) @99d44b2   5 years dmitry.portnoy Rename spacegame to vulkangame feature/imgui-sdl points-test
(edit) @4eb4d0a   5 years dmitry.portnoy Rename vulkan-game.cpp to vulkan-ref.cpp and define the … feature/imgui-sdl points-test
(edit) @eba8c0c   5 years dmitry.portnoy Expand on the upgrade TODO list and remove game-gui-glfw as a … feature/imgui-sdl points-test
(edit) @850e84c   5 years dmitry.portnoy Create space-game.cpp, which will be the original opengl game … feature/imgui-sdl points-test
(edit) @17714b8   5 years dmitry.portnoy Update the README and makefile to correctly setup and build vulkangame … feature/imgui-sdl points-test
Note: See TracRevisionLog for help on using the revision log.