Dispatch precompose and postcompose events for WebGL layers

This commit is contained in:
Tim Schaub
2021-12-15 09:41:29 -07:00
parent 848965b25c
commit 68ea485e69
9 changed files with 176 additions and 14 deletions
+5 -1
View File
@@ -552,7 +552,11 @@ class WebGLTileLayerRenderer extends WebGLLayerRenderer {
}
}
this.helper.finalizeDraw(frameState);
this.helper.finalizeDraw(
frameState,
this.dispatchPreComposeEvent,
this.dispatchPostComposeEvent
);
const canvas = this.helper.getCanvas();