MCPcopy Index your code
hub / github.com/codeaashu/claude-code / renderBackgrounds

Method renderBackgrounds

src/server/web/public/terminal.js:6936–6938  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6934 const _2 = new Uint8Array([0, 1, 2, 3]), u2 = l2.createBuffer();
6935 this.register((0, r.toDisposable)((() => l2.deleteBuffer(u2)))), l2.bindBuffer(l2.ELEMENT_ARRAY_BUFFER, u2), l2.bufferData(l2.ELEMENT_ARRAY_BUFFER, _2, l2.STATIC_DRAW), this._attributesBuffer = (0, s2.throwIfFalsy)(l2.createBuffer()), this.register((0, r.toDisposable)((() => l2.deleteBuffer(this._attributesBuffer)))), l2.bindBuffer(l2.ARRAY_BUFFER, this._attributesBuffer), l2.enableVertexAttribArray(0), l2.vertexAttribPointer(0, 2, l2.FLOAT, false, a, 0), l2.vertexAttribDivisor(0, 1), l2.enableVertexAttribArray(1), l2.vertexAttribPointer(1, 2, l2.FLOAT, false, a, 2 * Float32Array.BYTES_PER_ELEMENT), l2.vertexAttribDivisor(1, 1), l2.enableVertexAttribArray(2), l2.vertexAttribPointer(2, 4, l2.FLOAT, false, a, 4 * Float32Array.BYTES_PER_ELEMENT), l2.vertexAttribDivisor(2, 1), this._updateCachedColors(o2.colors), this.register(this._themeService.onChangeColors(((e4) => {
6936 this._updateCachedColors(e4), this._updateViewportRectangle();
6937 })));
6938 }
6939 renderBackgrounds() {
6940 this._renderVertices(this._vertices);
6941 }

Callers 1

renderRowsMethod · 0.80

Calls 1

_renderVerticesMethod · 0.95

Tested by

no test coverage detected