deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

[Bug] HexagonLayer issues a warning if getColorValue is set and gpuAggregation is not

Open clo-vis opened this issue 8 months ago • 0 comments

Description

If gpuAggregation is not set (according to the documentation, the default value is false) and getColorValue is set, then the warning

Features not supported by GPU aggregation, falling back to CPU

is issued.

Expected Behavior

No warning, since I didn't ask for GPU aggregation.

Steps to Reproduce

Replace gpuAggregation: true with getColorValue: () => 1 in the HexagonLayer example:

const layer = new HexagonLayer<BikeRack>({
  …
  // gpuAggregation: true,
  getColorValue: () => 1
  …
});

Environment

  • Framework version: 9.1.4
  • Browser: Opera, Edge, Firefox
  • OS: Windows 10.0.19045

Logs

Features not supported by GPU aggregation, falling back to CPU

clo-vis avatar Mar 10 '25 09:03 clo-vis