Changeset e3bef3a in opengl-game for vulkan-ref.cpp


Ignore:
Timestamp:
Nov 12, 2019, 6:55:07 AM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
cd487fb
Parents:
5a23277
Message:

Finish the rewrite of the original vulkangame project

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-ref.cpp

    r5a23277 re3bef3a  
    2727using namespace glm;
    2828
    29 /*** START OF REFACTORED CODE ***/
    3029const int SCREEN_WIDTH = 800;
    3130const int SCREEN_HEIGHT = 600;
     
    217216
    218217      size_t currentFrame = 0;
    219 /*** END OF REFACTORED CODE ***/
    220 
    221218      size_t numPlanes = 0; // temp
    222219
    223 /*** START OF REFACTORED CODE ***/
    224220      bool framebufferResized = false;
    225221
     
    14651461         vkBindBufferMemory(device, buffer, bufferMemory, 0);
    14661462      }
    1467 /*** END OF REFACTORED CODE ***/
    14681463
    14691464      void copyDataToBuffer(const void* srcData, VkBuffer dst, VkDeviceSize dstOffset, VkDeviceSize dataSize) {
     
    14851480      }
    14861481
    1487 /*** START OF REFACTORED CODE ***/
    14881482      void copyBuffer(VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize srcOffset, VkDeviceSize dstOffset,
    14891483            VkDeviceSize size) {
     
    16891683         }
    16901684      }
    1691 /*** END OF REFACTORED CODE ***/
    16921685
    16931686      bool addObjectToScene(GraphicsPipelineInfo& info,
     
    17221715      }
    17231716
    1724 /*** START OF REFACTORED CODE ***/
    17251717      void mainLoop() {
    17261718         // TODO: Create some generic event-handling functions in game-gui-*
     
    20752067   return EXIT_SUCCESS;
    20762068}
    2077 /*** END OF REFACTORED CODE ***/
Note: See TracChangeset for help on using the changeset viewer.