Webgl points / get back the instructions array from the worker
This means we won't have to recreate a binary buffer (through a typed array) on every `rebuildBuffer` call.
This commit is contained in:
@@ -291,6 +291,8 @@ class WebGLPointsLayerRenderer extends WebGLLayerRenderer {
|
||||
// saves the projection transform for the current frame state
|
||||
this.renderTransform_ = projectionTransform;
|
||||
makeInverseTransform(this.invertRenderTransform_, this.renderTransform_);
|
||||
|
||||
this.renderInstructions_ = new Float32Array(event.data.renderInstructions);
|
||||
}
|
||||
}.bind(this));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user