xterm-addon-webgl
Advanced tools
Comparing version 0.16.0-beta.14 to 0.16.0-beta.15
{ | ||
"name": "xterm-addon-webgl", | ||
"version": "0.16.0-beta.14", | ||
"version": "0.16.0-beta.15", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "The xterm.js authors", |
@@ -14,2 +14,4 @@ /** | ||
import { TextureAtlas } from 'browser/renderer/shared/TextureAtlas'; | ||
import { ILogService } from 'common/services/Services'; | ||
import { traceCall } from 'common/services/LogService'; | ||
@@ -216,2 +218,3 @@ interface IVertices { | ||
@traceCall | ||
public updateCell(x: number, y: number, code: number, bg: number, fg: number, ext: number, chars: string, lastBg: number): void { | ||
@@ -218,0 +221,0 @@ // Since this function is called for every cell (`rows*cols`), it must be very optimized. It |
@@ -11,5 +11,6 @@ /** | ||
import { getSafariVersion, isSafari } from 'common/Platform'; | ||
import { ICoreService, IDecorationService, IOptionsService } from 'common/services/Services'; | ||
import { ICoreService, IDecorationService, ILogService, IOptionsService } from 'common/services/Services'; | ||
import { ITerminalAddon, Terminal } from 'xterm'; | ||
import { WebglRenderer } from './WebglRenderer'; | ||
import { setTraceLogger } from 'common/services/LogService'; | ||
@@ -55,4 +56,9 @@ export class WebglAddon extends Disposable implements ITerminalAddon { | ||
const decorationService: IDecorationService = unsafeCore._decorationService; | ||
const logService: ILogService = unsafeCore._logService; | ||
const themeService: IThemeService = unsafeCore._themeService; | ||
// Set trace logger just in case it hasn't been yet which could happen when the addon is | ||
// bundled separately to the core module | ||
setTraceLogger(logService); | ||
this._renderer = this.register(new WebglRenderer( | ||
@@ -59,0 +65,0 @@ terminal, |
@@ -20,3 +20,3 @@ /** | ||
import { Disposable, getDisposeArrayDisposable, toDisposable } from 'common/Lifecycle'; | ||
import { ICoreService, IDecorationService, IOptionsService } from 'common/services/Services'; | ||
import { ICoreService, IDecorationService, ILogService, IOptionsService } from 'common/services/Services'; | ||
import { CharData, IBufferLine, ICellData } from 'common/Types'; | ||
@@ -31,2 +31,3 @@ import { IDisposable, Terminal } from 'xterm'; | ||
import { IWebGL2RenderingContext } from './Types'; | ||
import { traceCall } from 'common/services/LogService'; | ||
@@ -328,2 +329,3 @@ export class WebglRenderer extends Disposable implements IRenderer { | ||
@traceCall | ||
public renderRows(start: number, end: number): void { | ||
@@ -330,0 +332,0 @@ if (!this._isAttached) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
554402
2187