Does double buffering for the purpose of vertex streaming do anything in webgl? -


i trying render many moving objects can webgl , updating objects position glbufferdata/glbuffersubdata each frame.i found recommended use double buffer reduce synchronization issues between gpu , cpu: https://developer.apple.com/library/ios/documentation/3ddrawing/conceptual/opengles_programmingguide/techniquesforworkingwithvertexdata/techniquesforworkingwithvertexdata.html , https://www.opengl.org/wiki/buffer_object_streaming , google's webgl optimizationg slides.

so have implemented double buffering , drawing expected. however, there no performance gains. (in fact made slower) curious if double buffer technique described in above 3 documents approriate webgl.

here doing (capture webgl inspector):

frame x:

enter image description here

frame x+1:

enter image description here


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -