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

visgl / luma.gl / 23412316304

22 Mar 2026 08:56PM UTC coverage: 73.59% (-0.6%) from 74.227%
23412316304

push

github

web-flow
feat(engine): add async texture buffer read (#2439)

4597 of 7074 branches covered (64.98%)

Branch coverage included in aggregate %.

111 of 213 new or added lines in 20 files covered. (52.11%)

40 existing lines in 8 files now uncovered.

10525 of 13475 relevant lines covered (78.11%)

263.46 hits per line

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

37.5
/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

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

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

25
  copyBufferToBuffer(_options: CopyBufferToBufferOptions): void {
NEW
26
    throw new Error('copyBufferToBuffer is not supported on NullDevice');
×
27
  }
28

29
  copyBufferToTexture(_options: CopyBufferToTextureOptions) {
NEW
30
    throw new Error('copyBufferToTexture is not supported on NullDevice');
×
31
  }
32

33
  copyTextureToBuffer(_options: CopyTextureToBufferOptions): void {
NEW
34
    throw new Error('copyTextureToBuffer is not supported on NullDevice');
×
35
  }
36

37
  copyTextureToTexture(_options: CopyTextureToTextureOptions): void {
NEW
38
    throw new Error('copyTextureToTexture is not supported on NullDevice');
×
39
  }
40

41
  pushDebugGroup(groupLabel: string): void {}
42
  popDebugGroup() {}
43

44
  insertDebugMarker(_markerLabel: string): void {}
45
  resolveQuerySet(_querySet: QuerySet): void {
NEW
46
    throw new Error('resolveQuerySet is not supported on NullDevice');
×
47
  }
48
}
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