Copy over typed array utils to webgl

This commit is contained in:
Daniel Imms
2019-05-18 23:38:49 -07:00
parent 6922156d07
commit 29d3b8281b
15 changed files with 292 additions and 145 deletions
+2 -2
View File
@@ -10,11 +10,11 @@ import WebglCharAtlas from './atlas/WebglCharAtlas';
import { IWebGL2RenderingContext, IWebGLVertexArrayObject, IRenderModel, IRasterizedGlyph } from './Types';
import { INDICIES_PER_CELL } from './WebglRenderer';
import { COMBINED_CHAR_BIT_MASK } from './RenderModel';
import { fill, slice } from '../../common/TypedArrayUtils';
import { fill, slice } from './TypedArray';
import { NULL_CELL_CODE, WHITESPACE_CELL_CODE, CHAR_DATA_CHAR_INDEX } from '../../core/buffer/BufferLine';
import { IBufferLine } from '../../core/Types';
import { IColorSet } from '../../ui/Types';
import { getLuminance } from './ColorUtils';
import { IColorSet } from 'xterm';
interface IVertices {
attributes: Float32Array;