# parsegraph-compileprogram

> compileprogram

Latest version **2.2.23** (published 2023-02-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install parsegraph-compileprogram
pnpm add parsegraph-compileprogram
yarn add parsegraph-compileprogram
bun add parsegraph-compileprogram
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.2.23 |
| Published | 2023-02-01 |
| First published | 2020-12-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 62.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rainback, Inc. |
| Maintainers | dafrito, tracy3 |

## Links

- npm: https://www.npmjs.com/package/parsegraph-compileprogram
- Repository: https://github.com/parsegraph/compileprogram
- Homepage: https://github.com/parsegraph/compileprogram#readme
- Issues: https://github.com/parsegraph/compileprogram/issues
- npm.io page: https://npm.io/package/parsegraph-compileprogram

## Dependencies (4)

- [parsegraph-rect](https://npm.io/package/parsegraph-rect.md) ^1.5.5
- [parsegraph-color](https://npm.io/package/parsegraph-color.md) ^1.4.13
- [parsegraph-method](https://npm.io/package/parsegraph-method.md) ^1.4.26
- [parsegraph-shader](https://npm.io/package/parsegraph-shader.md) ^1.5.11

## Recent versions

- 2.2.23 (latest) — 2023-02-01
- 2.2.23-dev (dev) — 2023-02-01
- 2.0.15 (next) — 2021-08-17
- 2.2.22 — 2023-02-01
- 2.2.22-dev — 2023-02-01
- 2.2.21 — 2023-01-24
- 2.2.21-dev — 2023-01-24
- 2.2.20 — 2023-01-22
- 2.2.20-dev — 2023-01-22
- 2.2.18 — 2022-12-30
- 2.2.18-dev — 2022-12-30
- 2.2.17 — 2022-12-05
- 2.2.17-dev — 2022-12-05
- 2.2.16 — 2022-10-19
- 2.2.16-dev — 2022-10-19
- … 59 more at https://npm.io/package/parsegraph-compileprogram/versions

## README

# compileProgram

It is common for multiple WebGL painters to use the same shader program. But each
painter would need to compile its own version of the program.

A global registry would alleviate this problem, but it's possible that different GL
contexts would exist within the same process.

This library solves this problem by using a shared object that provides the GL instance,
as well as an shaders map, from shader name to the compiled WebGL program instance.

### Installing

If you are seeing errors about missing webgl-debug, and you are trying to build
this package, run make install-deps to install it.

---
_Source: https://npm.io/package/parsegraph-compileprogram · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
