glVertexAttribPointer performance

Pierre-Olivier Konecki <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAKcTk7NqWR2zxiqPYGNewWEt=aAdY+tvWy_P5WaH0kTGYf_ikA@mail.gmail.com>
Hello,

I'm currently developping some kind of Vulkan backed driver for OpenGL and
I was wondering how mesa devs handled glVertexAttribPointer data when not
using a VBO and passing a pointer to vertex data. In my implementation I
copy the data every frame and upload it to the GPU, which is not ideal when
the data is always the same. Is there some kind of optimization trick in
mesa for this?
If you have any other knowledge of performance trick used in mesa, I would
gladly hear about it too.

Thanks,

Pierre-Olivier KONECKI

_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.