drawing webgl primitives