Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Does swapping VBOs cause CPU : GPU Sync?

  1. #11
    Intern Contributor
    Join Date
    Jan 2018
    Posts
    51
    So here is my situation:
    Before I draw my instanced mesh, I need to update the per-instance information in the VBO that holds mesh instance data. All instances will be updated, indeed the entire buffer will be populated with data.

    The VBO will not be used again until the next frame, after glfw has swapped the screen buffer

    What should I use? glMapBufferRange? glBufferSubData? glBufferData?

  2. #12

  3. #13
    Intern Contributor
    Join Date
    Jan 2018
    Posts
    51
    I did! It didn't really tell me anything.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •