Move WEBGL_TEXTURE_CACHE_HIGH_WATER_MARK to the WebGL map renderer

This commit is contained in:
Tim Schaub
2017-12-12 16:27:13 -07:00
parent 6afd7b4783
commit 7725bc37bc
2 changed files with 8 additions and 10 deletions

View File

@@ -1,9 +1,8 @@
/**
* @module ol/renderer/webgl/Map
*/
// FIXME check against gl.getParameter(webgl.MAX_TEXTURE_SIZE)
import {WEBGL_TEXTURE_CACHE_HIGH_WATER_MARK, inherits} from '../../index.js';
import {inherits} from '../../index.js';
import _ol_array_ from '../../array.js';
import _ol_css_ from '../../css.js';
import _ol_dom_ from '../../dom.js';
@@ -22,6 +21,13 @@ import _ol_webgl_ from '../../webgl.js';
import _ol_webgl_Context_ from '../../webgl/Context.js';
import _ol_webgl_ContextEventType_ from '../../webgl/ContextEventType.js';
/**
* @type {number} Texture cache high water mark.
*/
var WEBGL_TEXTURE_CACHE_HIGH_WATER_MARK = 1024;
/**
* @constructor
* @extends {ol.renderer.Map}