85 Commits

Author SHA1 Message Date
Robert Plummer
b60e571646 fix: 8 and 16 bit packing when using single precision float
fix: 2,3,4 array output render strategies
fix: Add deprecation handling
fix: Add addArgument and addConstant tests for webgl2
fix: remove floatTextures as a property
2019-04-21 12:02:34 -04:00
Robert Plummer
1e60084020 feat: Full type inference (this is a HUGE feature)
feat: Add mandelbulb.html example
fix: Bump and build
2019-03-19 19:51:03 -04:00
Robert Plummer
9540340751 fix: Fix floatTextures support test
fix: Rename `WebGLKernel._formatArrayTransfer()` to `WebGLKernel.formatArrayTransfer()` because it is used in more than just this class
fix: Add `HeadlessGL.features.isTextureFloat`
fix: Add `HeadlessGL.getIsTextureFloat()`
fix: Add operation to delete `HeadlessGLKernel.extensions.WEBGL_draw_buffers`
fix: Remove `assert.throws` from Issue #91 test
fix: Add "features/float-output-textures.js" back to all.html test
fix: Bump version number and build
2019-03-19 08:43:58 -04:00
Robert Plummer
4aa08ca393 fix: Casting for all non-float arguments used with Math.fn()
fix: Greater than, less than evaluation when comparing an integer with a literal that is a float, try not to cast left, but rather cast left to right
fix: Constants that do not have a type defined should fail
fix: Don't prevent "random" as a native function name
fix: Allow Texture constructor to inherit instance of GPU for easy .toArray()
fix: Texture constructor as settings object for easier understanding of order input
fix: Typescript corrections for Texture
fix: Bump headless-gl version to that of Multiple Render Targets
2019-03-17 22:12:09 -04:00
Robert Plummer
fb9be63b1e fix: Bump version and build 2019-03-13 12:43:00 -04:00
Robert Plummer
5f59354219 fix: this.thread, and this.output type handling, and block statements 2019-02-18 10:55:30 -05:00
Robert Plummer
85eba0e05b fix: Version to match intent 2019-02-10 23:01:27 -05:00
Robert Plummer
22046269b6 feat: Added "dev" mode, so we can easily debug
refactored webgl for statements, to be more performant
added unit tests for "for" statements
will do the same for cpu for statements next
fixed some issues in typings file
exposed FunctionNode from standard importer
2019-02-10 12:17:31 -05:00
Robert Plummer
82e4966551 feat: v2.0.0rc1
Cleanup and add random support (seeded by... Math.random()!)
I went through api and cleaned it up considerably
2019-01-31 18:24:25 -05:00
Robert Plummer
8bf362ad9a feat: No failing tests locally, only skipping and passing
Also:
feat: Typescript typings
feat: api cleanup and exports
feat: removal of building for node, only browser
2019-01-29 21:41:21 -05:00
Robert Plummer
bafac7831e feat: Huge rewrite for v2 2019-01-24 22:18:22 -05:00
Robert Plummer
3005828b86 fix: Migrating tests, and build
This was a good resting point.
Delete unneeded files.
2019-01-18 08:32:10 -05:00
Robert Plummer
87e2be5fba feat: Migrating to use gl, bump version number
Not ready yet, but close.  Need build scripts from headless-gl upstream.
2019-01-04 10:29:45 -05:00
Arjun Mehta
8fd007d376 Add benchmark test 2018-12-01 18:11:13 -08:00
Arjun Mehta
3543b20c78 Add headless gl to test in node 2018-12-01 17:27:43 -08:00
Robert Plummer
cb4d4f1d4a fix: cpu canvas check 2018-11-18 15:50:35 -05:00
Robert Plummer
4340d5cbef fix: NPM vulnerabilities by upgrading some packages 2018-11-18 14:41:12 -05:00
Robert Plummer
e3d80ea3e4 fix: double definitions for arrays when they are integers
fixes #399
2018-11-18 14:08:59 -05:00
Robert Plummer
b577c1a193 fix: CPU transpilation issue for type management
Refactored tests to test webgl, webgl2, and cpu individually and more generically.

Fixes #392
2018-11-01 14:17:08 -04:00
Robert Plummer
87ccce51df fix: thread & output variabel assignment
Fixes #390
2018-11-01 10:03:18 -04:00
Robert Plummer
2599966e7c fix: Better defining internal lookups of types and documentation 2018-10-28 14:05:44 -04:00
Robert Plummer
43bb07e879 fix: Make package smaller using package.json's files 2018-10-24 15:15:23 -04:00
Robert Plummer
0e4c04917a feat: Update for offscreen canvas and retool for cleaner CPU kernel backend
fix toString for kernels as well
Added documentation
Updated release year
2018-10-24 14:12:12 -04:00
Robert Plummer
ff88834bb5 fix: Build and version number 2018-09-21 06:54:10 -04:00
Robert Plummer
e3d6d3be0a fix: Accept provided webgl context from GPU instance to kernel 2018-09-14 11:52:16 -04:00
Robert Plummer
e2996f8229 bump version number
remove some unneeded console.log messages
remove commented out utility line
2018-09-05 16:55:00 -04:00
Robert Plummer
a1b65b5ad7 bump, build, and ready for release 2018-09-03 16:23:22 -04:00
Robert Plummer
6c30071e73 fix: Bump version and build 2018-09-02 13:36:19 -04:00
Robert Plummer
700c3b6dfa fix: Bump version and build 2018-09-02 12:26:16 -04:00
Robert Plummer
4485ba0d3a chore: Add missing readme, and bump version 2018-08-05 15:42:29 -04:00
Robert Plummer
46a90a0a27 bump version number 2018-07-26 13:00:35 -04:00
Robert Plummer
8ee7428e35 Closes #350 - Add Float32Array support on CPU fallback 2018-07-24 15:16:28 -04:00
Robert Plummer
f6b08e2961 bump version number 2018-07-23 09:51:45 -04:00
Robert Plummer
4491498787 bump version number 2018-07-13 15:00:30 -04:00
Robert Plummer
f074c4e7c7 bump version number 2018-07-12 17:30:24 -04:00
Robert Plummer
b7e9dfc47b Fix unit test, and bump release numbers 2018-07-12 16:29:36 -04:00
Nick Hingston
41b1ef8a20 fix merge conflicts from develop 2018-07-12 20:03:09 +01:00
Nick Hingston
a51f735abb fix code review comments 2018-07-12 19:57:48 +01:00
Robert Plummer
a8d5d02c79 Minor fix for 3d kernel maps and test 2018-07-11 18:54:01 -04:00
Robert Plummer
01a18acbdb Minor cleanup
Removal of unused methods and properties, and a doc cleanup.
Version bump
2018-07-11 16:06:25 -04:00
Robert Plummer
efdc14a770 Fix 335 by checking output setting at build time.
bump version for release
2018-07-04 16:06:50 -04:00
Robert Plummer
b093d5834e Bump version number for release 2018-07-03 16:24:12 -04:00
Robert Plummer
ed9c38c18f Bump version number for release 2018-07-03 16:14:27 -04:00
Robert Plummer
03e13826c6 Bump version number for release 2018-07-02 16:41:24 -04:00
Robert Plummer
54d985a47d Edge case for #243, prevent identifier from getting wrapped in math dealing with input-index 2018-06-29 21:16:44 -04:00
Robert Plummer
3e0f72a433 Some related changes to #243, include IdentifierExpressions 2018-06-29 20:31:28 -04:00
Robert Plummer
27772251f6 Some related changes to #243 that make index selection based off the actual argument and not the kernel size
some cleanup to system I noticed along the way
2018-06-29 18:42:44 -04:00
Robert Plummer
2d57f2a0b4 simplify tests, fix z and y edge cases, button up for release 2018-06-28 22:26:39 -04:00
Robert Plummer
4165099c60 fix #319 add rudimentary infinity handling 2018-06-14 10:53:15 -04:00
Robert Plummer
b2df0ab604 fix #316
Change `HTMLImageArray` render strategy to `gl.NEAREST`, like all the others
Let `WebGL2FunctionNode` extend `WebGLFunctionNode` and lighten
Remove all the different html pages associated with tests, and just use one file to handle them and use qunit for filtering them
Bump version number
2018-06-12 14:07:41 -04:00