• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

visgl / luma.gl / 25756190722

12 May 2026 07:06PM UTC coverage: 75.119% (+0.2%) from 74.932%
25756190722

push

github

web-flow
feat(arrow) Support RecordBatch stream to ArrowGPUTable (#2611)

5973 of 8932 branches covered (66.87%)

Branch coverage included in aggregate %.

271 of 333 new or added lines in 9 files covered. (81.38%)

3 existing lines in 2 files now uncovered.

13032 of 16368 relevant lines covered (79.62%)

831.06 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

18.75
/modules/test-utils/src/null-device/resources/null-command-buffer.ts
1
// luma.gl
2
// SPDX-License-Identifier: MIT
3
// Copyright (c) vis.gl contributors
4

5
import type {
6
  CommandBufferProps,
7
  CopyBufferToBufferOptions,
8
  CopyBufferToTextureOptions,
9
  CopyTextureToBufferOptions,
10
  CopyTextureToTextureOptions,
11
  QuerySet
12
} from '@luma.gl/core';
13
import {CommandBuffer} from '@luma.gl/core';
14
import type {NullDevice} from '../null-device';
15
import {NullBuffer} from './null-buffer';
16

17
export class NullCommandBuffer extends CommandBuffer {
18
  readonly device: NullDevice;
19
  readonly handle: null = null;
23✔
20

21
  constructor(device: NullDevice, props: CommandBufferProps) {
22
    super(device, props);
23✔
23
    this.device = device;
23✔
24
  }
25

26
  copyBufferToBuffer(options: CopyBufferToBufferOptions): void {
NEW
27
    if (!(options.sourceBuffer instanceof NullBuffer)) {
×
NEW
28
      throw new Error('NullCommandBuffer.copyBufferToBuffer requires a NullBuffer source');
×
29
    }
30

NEW
31
    options.sourceBuffer.copyToBuffer(
×
32
      options.destinationBuffer,
33
      options.sourceOffset || 0,
×
34
      options.destinationOffset || 0,
×
35
      options.size
36
    );
37
  }
38

39
  copyBufferToTexture(_options: CopyBufferToTextureOptions) {
40
    throw new Error('copyBufferToTexture is not supported on NullDevice');
×
41
  }
42

43
  copyTextureToBuffer(_options: CopyTextureToBufferOptions): void {
44
    throw new Error('copyTextureToBuffer is not supported on NullDevice');
×
45
  }
46

47
  copyTextureToTexture(_options: CopyTextureToTextureOptions): void {
48
    throw new Error('copyTextureToTexture is not supported on NullDevice');
×
49
  }
50

51
  pushDebugGroup(groupLabel: string): void {}
52
  popDebugGroup() {}
53

54
  insertDebugMarker(_markerLabel: string): void {}
55
  resolveQuerySet(_querySet: QuerySet): void {
56
    throw new Error('resolveQuerySet is not supported on NullDevice');
×
57
  }
58
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc