Skip to content

Commit

Permalink
Release: 1.2.0
Browse files Browse the repository at this point in the history
Performance improvements on Lines.
Render Bundling Option `renderBatch`.
Now supports Clipping.
Fixed a bug regarding Path offsets.
  • Loading branch information
KaNaDaAT committed Mar 11, 2024
1 parent 5192810 commit 0f3e880
Show file tree
Hide file tree
Showing 11 changed files with 7,783 additions and 25 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Readme has to be changed manually yet.
| 1.0.0 | [vega-webgpu-renderer](https://kanadaat.github.io/vega-webgpu/releases/1_0_0/vega-webgpu-renderer.js) | First WebGPU Implementation |
| 1.1.0 | [vega-webgpu-renderer](https://kanadaat.github.io/vega-webgpu/releases/1_1_0/vega-webgpu-renderer.js) | Over all improvements in terms of performance and structure. |
| 1.1.1 | [vega-webgpu-renderer](https://kanadaat.github.io/vega-webgpu/releases/1_1_1/vega-webgpu-renderer.js) | Performance improvements on Paths.<br>Introducing WebGPU Render Option `renderLock`. |

| 1.2.0 | [vega-webgpu-renderer](https://kanadaat.github.io/vega-webgpu/releases/1_2_0/vega-webgpu-renderer.js) | Performance improvements on Lines. Render Bundling Option `renderBatch`. Support Clipping. Path offset fixed. |
Have a look at all versions [here](https://kanadaat.github.io/vega-webgpu/releases).


Expand All @@ -103,12 +103,13 @@ view._renderer.wgOptions.debugLog = true;
// For Version 1.0.0 it is:
// view._renderer.debugLog = true;
```
| Option | Description | Default | Version | |
| Option | Description | Default | Version | Note |
|------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|---------|---|
| debugLog | Allows the renderer to log the time needed for the frame | false | 1.0.0 | |
| simpleLine | When set to `false` the renderer will use a different type of line rendering that is optimized for small amount of lines with alot of points (curved lines) | true | 1.0.0 | |
| simpleLine | When set to `false` the renderer will use a different type of line rendering that is optimized for small amount of lines with alot of points (curved lines) | true | 1.0.0 | Since 1.2.0 Deprecated. Look at renderBatch |
| cacheShape | Allows shapes to cache its entries so it might be faster (experimental) | false | 1.1.0 | |
| renderLock | Will lock the render loop from beeing called again until the previous call is finished. Might skip render steps. The most recent will always be called. Will enhance the performance, esspecially for interactive GUI. | true | 1.1.1 | |
| renderBatch | Will enable to render marks in batches if possible. Will render multiple lines at once instead of one after another (parallel coordinates). | true | 1.2.0 | |

**Note:** Its a bit different on Version 1.0.0. Have a look at the demos index.js

Expand Down
Loading

0 comments on commit 0f3e880

Please sign in to comment.