Use 'module:ol/PluggableMap~FrameState' instead of 'olx.FrameState'

This commit is contained in:
Frederic Junod
2018-03-13 16:06:46 +01:00
parent 120307b193
commit 8c58bb4332
14 changed files with 54 additions and 54 deletions
+5 -5
View File
@@ -91,7 +91,7 @@ inherits(WebGLLayerRenderer, LayerRenderer);
/**
* @param {olx.FrameState} frameState Frame state.
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
* @param {number} framebufferDimension Framebuffer dimension.
* @protected
*/
@@ -137,7 +137,7 @@ WebGLLayerRenderer.prototype.bindFramebuffer = function(frameState, framebufferD
/**
* @param {olx.FrameState} frameState Frame state.
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
* @param {module:ol/layer/Layer~State} layerState Layer state.
* @param {ol.webgl.Context} context Context.
*/
@@ -184,7 +184,7 @@ WebGLLayerRenderer.prototype.composeFrame = function(frameState, layerState, con
/**
* @param {ol.render.EventType} type Event type.
* @param {ol.webgl.Context} context WebGL context.
* @param {olx.FrameState} frameState Frame state.
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
* @private
*/
WebGLLayerRenderer.prototype.dispatchComposeEvent_ = function(type, context, frameState) {
@@ -243,7 +243,7 @@ WebGLLayerRenderer.prototype.handleWebGLContextLost = function() {
/**
* @abstract
* @param {olx.FrameState} frameState Frame state.
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
* @param {module:ol/layer/Layer~State} layerState Layer state.
* @param {ol.webgl.Context} context Context.
* @return {boolean} whether composeFrame should be called.
@@ -254,7 +254,7 @@ WebGLLayerRenderer.prototype.prepareFrame = function(frameState, layerState, con
/**
* @abstract
* @param {module:ol~Pixel} pixel Pixel.
* @param {olx.FrameState} frameState FrameState.
* @param {module:ol/PluggableMap~FrameState} frameState FrameState.
* @param {function(this: S, ol.layer.Layer, (Uint8ClampedArray|Uint8Array)): T} callback Layer
* callback.
* @param {S} thisArg Value to use as `this` when executing `callback`.
+3 -3
View File
@@ -142,7 +142,7 @@ const WebGLMapRenderer = function(container, map) {
/**
* @param {ol.PluggableMap} map Map.
* @param {?olx.FrameState} frameState Frame state.
* @param {?module:ol/PluggableMap~FrameState} frameState Frame state.
* @return {boolean} false.
* @this {ol.renderer.webgl.Map}
*/
@@ -261,7 +261,7 @@ WebGLMapRenderer.prototype.bindTileTexture = function(tile, tileSize, tileGutter
/**
* @param {ol.render.EventType} type Event type.
* @param {olx.FrameState} frameState Frame state.
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
* @private
*/
WebGLMapRenderer.prototype.dispatchComposeEvent_ = function(type, frameState) {
@@ -311,7 +311,7 @@ WebGLMapRenderer.prototype.disposeInternal = function() {
/**
* @param {ol.PluggableMap} map Map.
* @param {olx.FrameState} frameState Frame state.
* @param {module:ol/PluggableMap~FrameState} frameState Frame state.
* @private
*/
WebGLMapRenderer.prototype.expireCache_ = function(map, frameState) {