42 Commits

Author SHA1 Message Date
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
6c62bb263f implement new option to prevent overwrite of output texture 2018-02-12 12:15:03 -05:00
Robert Plummer
91519d4175 fix #218 with unit tests 2017-11-08 09:53:15 -05:00
Robert Plummer
881de164cc Implement #191 2017-09-29 14:01:24 -04:00
Junjie Bai
a175e91db3 Fix typo in setOutput 2017-09-17 13:07:00 -07:00
RationalCoding
a69d1fda70 fix spacing 2017-09-03 12:26:49 -04:00
RationalCoding
5560070859 fix #177 2017-09-03 12:25:14 -04:00
Robert Plummer
49c8af0a44 expose addFunction and addNativeFunction on kernel and gpu instance. 2017-08-28 09:11:25 -04:00
Robert Plummer
c57f543659 runDimensions to output 2017-08-17 14:41:46 -04:00
Robert Plummer
1fd535ee64 #156 create ability to add functions on createKernel and createKernelMap 2017-08-09 13:40:11 -04:00
Robert Plummer
4441a28e23 #156 use output rather than dimensions and support both object and array 2017-08-09 13:23:01 -04:00
Abhishek Soni
fdc4665eb2 beautify code 2017-07-14 00:43:00 +05:30
Robert Plummer
523cd88e0b Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	src/core/texture.js
2017-07-10 15:12:47 -04:00
Robert Plummer
3bca99f142 Add strict use 2017-07-10 15:12:09 -04:00
Abhishek Soni
c3200f5c22 Closes #119 : Rename createKernels to createKernelMap 2017-07-08 12:19:58 +05:30
Abhishek Soni
3bbb4a9af2 Fix member definitions to seperate static members 2017-07-05 00:48:04 +05:30
Abhishek Soni
6b52e1e5aa kernel-base.js done 2017-07-03 17:36:18 +05:30
Abhishek Soni
8f7a93c59f @function 2017-07-03 15:07:54 +05:30
Abhishek Soni
7ec3d2d9b4 {Number} -> {number} 2017-07-03 14:28:06 +05:30
Abhishek Soni
c57c076ef9 @param paramType paramName JSDoc syntax 2017-07-03 14:14:38 +05:30
Abhishek Soni
d13abcbed8 formatting of properties 2017-07-03 01:05:57 +05:30
Abhishek Soni
88fd43fb07 @constructor and @param formatting 2017-07-03 00:29:01 +05:30
Abhishek Soni
105e0e1e7c @param partially done 2017-07-02 23:49:07 +05:30
Abhishek Soni
5492604408 Class and function names done 2017-07-02 22:44:15 +05:30
Abhishek Soni
a118dd3ae9 ran it, removed it 2017-07-02 18:24:08 +05:30
Eugene Cheah
ab0a97401b get canvas and get webGl refactor to getCanvas and getWebGl respectively 2017-07-02 18:35:09 +08:00
Eugene Cheah
d84065b683 Reverting getter’s for
+ isCanvasSupported
+ isWebGlSupported
+ isWebGlDrawBuffersSupported
+ initWebGlDefaultOptions
+ systemEndianness
+ isFloatReadPixelsSupported
2017-07-02 18:21:14 +08:00
Eugene Cheah
f14dd0eedb Packages namespace cleanup, preparation for GPUCore reduced build. 2017-07-02 12:54:34 +08:00
Robert Plummer
81275b5ac0 make tests es5 and add the kernel .toString() method, so we can have the entire kernel, and nothing else. 2017-06-29 19:05:56 -04:00
Abhishek Soni
e369345df1 gpu.js, runner-base.js, function-builder-base.js docs 2017-06-28 15:26:55 +05:30
Abhishek Soni
c574393d42 kernel-base almost done 2017-06-28 00:56:04 +05:30
Abhishek Soni
e91304d24d kernel-base 2017-06-28 00:16:15 +05:30
Robert Plummer
7b0874b763 #95 add constants fixes, and simplify options usage via instantiation 2017-06-27 08:21:14 -04:00
Robert Plummer
08bc22a783 #84 some cpu optimization and basic createKernels support for cpu 2017-06-23 21:53:50 -04:00
Robert Plummer
fee38b9148 cleanup and mostly solves #72 2017-06-09 10:40:31 -04:00
Robert Plummer
9f072adb4f Much further, almost working output 2017-06-06 09:08:59 -04:00
Robert Plummer
8cea15c815 near poc #84 2017-05-28 11:38:17 -04:00
Robert Plummer
d234850f5e Flatten takes quite a bit more time to copy when arrays are of substantial size, added option to be able to flatten or copyFlatten, so if input arrays are fantastically huge (which they most certainly may be) there can be destructive compression into a single flat array. We now can get from 6 or 7, to 10 times faster on chrome and hordes faster in ff. 2017-05-25 21:10:11 -04:00
Robert Plummer
2c5f066d8e resolve #78 & resolve #79 2017-05-24 08:30:30 -04:00
Robert Plummer
61af3fa4ee added constants for variables that were continuously being looked up, and added missing methods, and corrected a method name 2017-05-16 10:08:33 -04:00
Eugene Cheah
60b8a877ee ran gulp beautify 2017-05-14 18:42:59 +08:00
Robert Plummer
e1ed6f9070 more cleanup, the GPU namespace changed to "WebGL" 2017-05-12 21:15:25 -04:00