801 Commits

Author SHA1 Message Date
Robert Plummer
33a7dca5df process images in reverse y on cpu
bump version number
2018-06-08 16:42:24 -04:00
Robert Plummer
cfd3c777d9 Move usage of Number.isInteger to utilities and cleanup some number checking
Tests pass same as before
2018-06-07 21:44:25 -04:00
Robert Plummer
26e14d9ab8
Merge pull request #305 from gpujs/297-array-images
Closes #297 array of images
1.4.0
2018-06-05 20:36:37 -04:00
Robert Plummer
b0ccde2869 update readme 2018-06-05 20:36:19 -04:00
Robert Plummer
a154c1fb5a update readme 2018-06-05 20:30:57 -04:00
Robert Plummer
08ca02b8ef cleanup tests, bump version number, prep for release 2018-06-05 20:29:04 -04:00
Robert Plummer
2dc7c12fdc cleanup on webgl1 and move over to webgl2 where html image array is only supported. 2018-06-05 20:02:53 -04:00
Robert Plummer
b41b51dc96 remove console logging
simplify test
2018-06-05 17:07:29 -04:00
Robert Plummer
3c152beb85 Nearly completed, though not fully working 2018-06-05 15:16:46 -04:00
Robert Plummer
419be53fc0
Merge pull request #304 from gpujs/296-image-support
Closes #296 adds image support
1.3.0
2018-06-04 20:17:57 -04:00
Robert Plummer
9913eeaafe Add documentation 2018-06-04 20:12:28 -04:00
Robert Plummer
20745c8671 cleanup test, fix kernel for webgl 2, bump version number, and build awaiting release 2018-06-04 20:07:44 -04:00
Robert Plummer
24d9ac4e1a working 100% cpu fallback 2018-06-04 20:00:48 -04:00
Robert Plummer
6b25e95649 slightly improve the output of image on cpu 2018-06-04 19:41:41 -04:00
Robert Plummer
2e1c1c7438 get cpu version running, but still distorted 2018-06-04 19:40:46 -04:00
Robert Plummer
bd2885085a Implement (slightly broken) api usage of:
```js
var imageKernel = gpu.createKernel(function(image) {
  const pixel = image[this.thread.y][this.thread.x];
  this.color(pixel[0], pixel[1], pixel[2], pixel[3]);
}, {
  debug: true,
  output : [276, 183],
  graphical: true
});
```
2018-06-02 15:17:35 -04:00
Robert Plummer
697c112d83
Closes #299
Add documentation for sharing canvas and contexts.
2018-06-01 11:34:46 -04:00
Robert Plummer
b00950a829 flip the image and move color to fragment shader for webgl1 2018-05-28 14:32:45 -04:00
Robert Plummer
23f1ce74c0 flip the image and move color to fragment shader 2018-05-27 22:23:36 -04:00
Robert Plummer
9a914e2e85 #296 Add initial working support, with visual test 2018-05-26 15:48:12 -04:00
Robert Plummer
1bb63042a0
Merge pull request #287 from rwieruch/patch-1
Join Slack Community: Briim - Machine Learning in JavaScript
2018-05-17 11:21:29 -04:00
Robert Plummer
788fcf212a
Merge pull request #286 from galatolofederico/develop
Support for the do-while construct
2018-05-17 11:18:54 -04:00
Robert Plummer
4125599567
Merge pull request #291 from chocolateboy/patch-1
Fix doc typo
2018-05-17 11:16:37 -04:00
chocolateboy
a2c2b1c729
Fix doc typo 2018-05-17 15:04:04 +00:00
Robin Wieruch
c60df1a132
add slack community to README.md 2018-05-01 15:01:05 +08:00
Federico Galatolo
265aaae9d6 Wrote tests for the do{...}while(...) construct 2018-04-27 19:39:17 +02:00
Federico Galatolo
e2c00aadcd Added support for the do{...}while(...) construct 2018-04-27 19:38:50 +02:00
Robert Plummer
53c42a7e11
Add link to automatically built documentation
doxdox rocks
2018-03-28 17:54:52 -04:00
Robert Plummer
b99960c9d1
Merge pull request #262 from gpujs/261-webgl2
261 - webgl2
1.2.0
2018-03-08 20:13:26 -05:00
Robert Plummer
af7060d88e webgl1 and webgl2, together at last, and tested. 2018-03-08 20:00:05 -05:00
Robert Plummer
ed247f51ff first build, getting ready to test 2018-03-08 14:36:37 -05:00
Robert Plummer
01fa8369d9 making both webgl's play nice together 2018-03-08 14:34:14 -05:00
Robert Plummer
f84bee295c shrinking webgl2 to only what is needed, this broke a lot, but will resolve shortly. 2018-03-08 14:03:59 -05:00
Robert Plummer
36e47132fb moving to correct home 2018-03-08 12:58:27 -05:00
Robert Plummer
0824151477 moving to correct home 2018-03-08 12:57:52 -05:00
Robert Plummer
f0970cd32c build 2018-03-06 19:54:27 -05:00
Robert Plummer
ab7ab1799b Merge branch 'develop' into 261-webgl2 2018-03-06 19:53:25 -05:00
Robert Plummer
d1ce3da35c
Merge pull request #276 from gpujs/272-framebuffer-performance
272 increase performance on framebuffers
2018-03-06 19:49:20 -05:00
Robert Plummer
283b249bd0 more framebufferTexture2D to where textures are created, thus making framebuffers more something that is setup at build, or if absolutely needed to modify 2018-03-06 19:32:23 -05:00
Robert Plummer
61af1139c1
Merge pull request #275 from gpujs/272-cached-uniform-setting
make uniforms only set if their values indeed change, and add tests
2018-03-06 13:23:33 -05:00
Robert Plummer
504735e4fb build 2018-03-06 13:21:51 -05:00
Robert Plummer
bdc0b6bf9f Merge branch '272-cached-uniform-setting' into 261-webgl2 2018-03-06 13:08:59 -05:00
Robert Plummer
5850030e81 make uniforms only set if their values indeed change, and add tests 2018-03-06 10:42:24 -05:00
Robert Plummer
c94ee123ff merge latest from develop 2018-03-03 14:30:14 -05:00
Robert Plummer
1d99c94499 Merge branch 'develop' into 261-webgl2 2018-03-03 14:28:15 -05:00
Robert Plummer
2f37e8762d
Merge pull request #274 from gpujs/272-kernel-performance
272 kernel performance
2018-03-03 14:26:53 -05:00
Robert Plummer
98bd5b8203 passing unit tests, bump version in preparation for release 2018-03-03 14:26:25 -05:00
Robert Plummer
5c7187af79 reuse dimensions on textures to prevent utils.getDimensions(inputTexture, true); call, which clones deep 2018-03-01 19:40:36 -05:00
Robert Plummer
42882d714f Merge branch 'develop' into 261-webgl2 2018-03-01 18:51:01 -05:00
Robert Plummer
21bb5ba265 remove unneeded texture generation 1.0.5 2018-03-01 18:48:43 -05:00