1157 Commits

Author SHA1 Message Date
Robert Plummer
bcae4ba2bb Merge branch 'develop' into refed-textures 2019-12-18 13:33:08 -05:00
Robert Plummer
cc889285ae
Merge pull request #551 from gpujs/550-expose-typings
feat: Provide overloading methods with types
2.3.1
2019-12-17 09:41:08 -05:00
Robert Plummer
142f191eb4 fix: Bump version and build 2019-12-17 09:40:07 -05:00
Robert Plummer
103b5e19b4 fix: Add demos and fix return type 2019-12-17 09:37:35 -05:00
Robert Plummer
7456afd629 feat: Provide overloading methods with types
Also separate and better fine types for use therein.
2019-12-17 08:36:59 -05:00
Robert Plummer
f514e79d67
Merge pull request #548 from CoenraadS/CDN
Add cdn links to readme
2019-12-15 10:11:03 -05:00
Robert Plummer
5335a0d564
Merge pull request #549 from CoenraadS/documentation
Improve examples for loading images via HTML
2019-12-15 10:10:02 -05:00
Coenraad Stijne
38bd0a616e use v2 api 2019-12-15 12:47:48 +01:00
Coenraad Stijne
b5e4b72775 working example for images 2019-12-15 11:35:10 +01:00
Coenraad Stijne
63b5efa95d remove empty lines 2019-12-15 10:27:35 +01:00
Coenraad Stijne
169020859d add cdn links to readme 2019-12-15 10:25:34 +01:00
ddsol
b051d84031 feat: Made textures referenced
By making textures referenced, we prevent duplicating them when not needed and allow for reuse of textures where possible.
2019-12-13 20:02:09 -05:00
Robert Plummer
f78f6895ea
Merge pull request #540 from gpujs/pre-2.3.0
Pre 2.3.0 work
2.3.0
2019-11-26 10:56:56 -05:00
Robert Plummer
7669b7aeb8 fix: Fixes #537 for CPU 2019-11-26 10:56:13 -05:00
Robert Plummer
ed1cd94448 feat: Added features and fixes for the following issues:
...it kind of snowballed from some needs
Fixes #521 - If `tactic` is not set, check precision allowed from WebGL, and automatically change based off needs, otherwise use value from `tactic`.
Fixes #535 - Internally check if texture from argument is the same as output, if so, clone this texture, and then clean it up after the kernel runs.
Fixes #536 - Normalize all declarations to non-destructured, and then parse
Fixes #537 - Change logic
Fixes #538 - Found the GL script that would work, and reduced the methods to use it
Fixes #539 - Found a better way of testing random, and this gives me an error for 1 in 10 runs, acceptable

Some refactoring for less duplicate code and documentation
2019-11-26 10:55:28 -05:00
Robert Plummer
ae88e1b44c fix: Fix gulp 2019-11-06 17:38:58 -05:00
Robert Plummer
a7a9e1e3c9 Merge branch 'master' into develop 2019-11-05 04:41:18 -05:00
Robert Plummer
67f3b3c8ad fix: Allow false for removeIstanbulCoverage 2019-10-30 16:55:51 -04:00
Robert Plummer
01728ad36c fix: Bump version and build 2019-10-29 17:52:27 -04:00
Robert Plummer
c4f6a1b687
Merge pull request #528 from gpujs/524-coverage-compatibility
524 coverage compatibility
2019-10-29 17:49:56 -04:00
Robert Plummer
a1b80b7204
Merge pull request #527 from gpujs/523-texture-memory
fix: #523 cleanup texture memory
2019-10-29 17:48:48 -04:00
Robert Plummer
27dea69171
Merge pull request #526 from gpujs/498-uniformly-distributed
498 uniformly distributed
2019-10-29 17:47:46 -04:00
Robert Plummer
65de20bccf fix: Add credit from https://github.com/gpujs/gpu.js/issues/498#issuecomment-547535669 2019-10-29 17:46:58 -04:00
Robert Plummer
0841724e13 fix: Add missing test 2019-10-29 10:44:26 -04:00
Robert Plummer
ade8885672 fix: #524 Add default for webgl to remove coverage 2019-10-29 10:42:57 -04:00
Robert Plummer
c338399431 fix: #523 cleanup texture memory 2019-10-29 10:41:40 -04:00
Robert Plummer
29e2dd25c4 fix: #524 allow for coverage 2019-10-29 10:39:00 -04:00
Robert Plummer
64330ba6f1
Merge pull request #518 from chrisguttandin/add-browser-field
add browser field to package.json
2.2.0
2019-10-20 20:24:22 -04:00
Robert Plummer
9856270483
Merge pull request #494 from franciscofabian/develop
check array length before accessing array elements
2019-10-20 20:23:29 -04:00
Christoph Guttandin
5e8faf9e49 feat: add browser field to package.json 2019-10-18 13:22:02 +02:00
Robert Plummer
b98798b573 fix: Use uniformly distributed rather than triangle for random
fix: Rename plugin files for better identification
2019-10-18 07:20:03 -04:00
Robert Plummer
ab75103032 feat: Add texture.clone() support and tests
feat: Upgrade gpu-mock.js
fix: Typescript `Texture` definition
fix: Typescript JSON definition
fix: Some internal documentation
fix: Some removal of unused or duplicate code
2.1.0
2019-10-13 16:06:30 -04:00
Robert Plummer
33a23958a6 fix: Add nested custom function support 2.0.5 2019-10-11 07:28:02 -04:00
Robert Plummer
07cb307d9b fix: Add js highlighting 2.0.4 2019-10-08 10:35:48 -04:00
Robert Plummer
90292bba6e fix: Upgrade fluid simulation to use just GPU and no round trip and
fix: Upgrade controls UI to use HTML in favor of canvas for visuals
     to get clearer understanding of GPU load
2019-10-08 10:31:30 -04:00
Robert Plummer
c7df01e66f fix: #514 fix and upgrade tests to detect behaviour
fix: Documentation for what types are and are not tracked
fix: Added documentation for testing and building
fix: Some destructuring
2019-10-08 10:29:54 -04:00
Robert Plummer
045b470280 fix: Remove unneeded files 2.0.3 2019-10-02 21:36:32 -04:00
Robert Plummer
cab4d033bc fix: Fix #512, upgrade gl-wiretap and fix some .toString()
Also fix default dynamicOutput = true, it should be false
Also add .DS_Store to .gitignore
Also update package-lock.json
Also fix some unit tests that deal with dynamic output
Also add `setDynamicOutput` and `setDynamicArguments` to typescript
Also fix issue where `uOutputDim` needs `Int32Array` in `.toString()`
Also added some spaces for `.toString()` to look more pretty
2019-10-02 21:34:20 -04:00
Robert Plummer
fa9478ac66
Merge pull request #508 from chrisguttandin/fix-validate-settings-declaration
fix: define args of validateSettings() function
2019-09-29 10:21:09 -04:00
Christoph Guttandin
0430518916 fix: define args of validateSettings() function 2019-09-29 14:23:45 +02:00
Robert Plummer
cbf9b5cfa9
Merge pull request #506 from gnandretta/develop
Fix calls to FunctionNode.astErrorOutput, it's not a constructor
2019-09-26 13:03:04 -04:00
Gabriel Andretta
cf4cd273ce
Fix calls to FunctionNode.astErrorOutput, it's not a constructor 2019-09-26 12:49:26 -03:00
Robert Plummer
d01a0d5c62 fix: add missing test 2019-09-25 11:07:26 -04:00
Robert Plummer
bccc5c0923 fix: build 2.0.2 2019-09-25 10:15:13 -04:00
Robert Plummer
92def8cb00 fix: #485 and remove unused method 2019-09-25 10:14:53 -04:00
Robert Plummer
4dba2e7352 fix: Remove unneeded line 2.0.1 2019-09-24 10:39:17 -04:00
Robert Plummer
354c2014ee fix: A few broken unit test for node 2019-09-24 10:38:52 -04:00
Robert Plummer
83cedd89a7 fix: Unit tests for #500, #501, #502, #503, #504
fix: typescript to include video and KernelValues
fix: Duplicate image in unit test
fix: Bump and build
2019-09-24 10:22:16 -04:00
Robert Plummer
10c0349e16 fix: Unhandled "ConditionalExpression" 2019-09-24 10:19:51 -04:00
Robert Plummer
c35fe823c9 fix: #501 check all ast's for thruthy before proceeding
Remove where there is a check, to simplify code
Add "ContinueStatement"
Reorder some of the cases for less duplication
2019-09-24 10:19:25 -04:00