Changeset 9067efc in opengl-game


Ignore:
Timestamp:
Feb 14, 2021, 1:32:15 AM (4 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
9c0a614
Parents:
c6f0793
git-author:
Dmitry Portnoy <dportnoy@…> (02/14/21 01:27:41)
git-committer:
Dmitry Portnoy <dportnoy@…> (02/14/21 01:32:15)
Message:

Use resourceCommandPool in a few more places in VulkanGame

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.cpp

    rc6f0793 r9067efc  
    939939      // TODO: I'm pretty sure this severely slows down the pipeline since this functions waits for the copy to be
    940940      // complete before continuing. See if I can find a more efficient method.
    941       VulkanUtils::populateVulkanImageFromSDLTexture(device, physicalDevice, commandPool, uiOverlay, renderer,
     941      VulkanUtils::populateVulkanImageFromSDLTexture(device, physicalDevice, resourceCommandPool, uiOverlay, renderer,
    942942         sdlOverlayImage, graphicsQueue);
    943943
  • vulkan-game.hpp

    rc6f0793 r9067efc  
    497497
    498498   bool storageBufferResized = pipeline.addObject(obj.vertices, obj.indices, obj.ssbo,
    499       this->commandPool, this->graphicsQueue);
     499      resourceCommandPool, graphicsQueue);
    500500
    501501   if (pipelinesCreated) {
     
    536536void VulkanGame::updateObjectVertices(GraphicsPipeline_Vulkan<VertexType, SSBOType>& pipeline,
    537537      SceneObject<VertexType, SSBOType>& obj, size_t index) {
    538    pipeline.updateObjectVertices(index, obj.vertices, this->commandPool, this->graphicsQueue);
     538   pipeline.updateObjectVertices(index, obj.vertices, resourceCommandPool, graphicsQueue);
    539539}
    540540
Note: See TracChangeset for help on using the changeset viewer.