thanks to the patch that joshua posted in respond to keiths question, i can now do what i was trying to do with jit.gl.mesh and indeed it is faster than handing geometries to jit.gl.render by hand.
i have one question, however; i'd like to make the displacements of my geometry's vertices "smooth". i can accomplish that by blurring the matrix that defines the z-displacement. to get a nice cheap blur, i'd like to use the GPU bassed gaussian blur from the examples; however, in order to provide the blurred matrix to jit.gl.mesh, i need to copy it back to RAM from VRAM with jit.matrix which is an expensive step. is there any clever way to avoid that step?
the patch is below.