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

visgl / deck.gl / 11742225817

08 Nov 2024 12:36PM CUT coverage: 80.812% (-10.8%) from 91.643%
11742225817

Pull #9161

github

web-flow
Merge ad9dcea1b into 2de1bc5d3
Pull Request #9161: chore: Bump to luma.gl@9.1.0-beta, math.gl@4.3.0

4769 of 5426 branches covered (87.89%)

Branch coverage included in aggregate %.

13 of 14 new or added lines in 3 files covered. (92.86%)

6854 existing lines in 152 files now uncovered.

47062 of 58712 relevant lines covered (80.16%)

4938.11 hits per line

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

88.37
/modules/extensions/src/terrain/utils.ts
1
// deck.gl
1✔
2
// SPDX-License-Identifier: MIT
1✔
3
// Copyright (c) vis.gl contributors
1✔
4

1✔
5
import type {Device} from '@luma.gl/core';
1✔
6
import {GL} from '@luma.gl/constants';
1✔
7

1✔
8
export function createRenderTarget(
1✔
9
  device: Device,
11✔
10
  opts: {
11✔
11
    id: string;
11✔
12
    float?: boolean;
11✔
13
    interpolate?: boolean;
11✔
14
  }
11✔
15
) {
11✔
16
  return device.createFramebuffer({
11✔
17
    id: opts.id,
11✔
18
    colorAttachments: [
11✔
19
      device.createTexture({
11✔
20
        id: opts.id,
11✔
21
        ...(opts.float && {
11✔
22
          format: 'rgba32float',
1✔
23
          type: GL.FLOAT
1✔
24
        }),
1✔
25
        mipmaps: false,
11✔
26
        sampler:
11✔
27
          opts.interpolate === false
11!
UNCOV
28
            ? {
×
UNCOV
29
                minFilter: 'nearest',
×
UNCOV
30
                magFilter: 'nearest'
×
UNCOV
31
              }
×
32
            : {
11✔
33
                minFilter: 'linear',
11✔
34
                magFilter: 'linear'
11✔
35
              }
11✔
36
      })
11✔
37
    ]
11✔
38
  });
11✔
39
}
11✔
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

© 2025 Coveralls, Inc