333 Commits

Author SHA1 Message Date
Robert Plummer
8be5dcec0c More refactoring towards es6 2017-04-20 10:28:56 -04:00
Robert Plummer
5c458c60c1 Some refactoring of method, function, & filenames for consistency, and to eventually support es6. 2017-04-16 21:38:46 -04:00
krawthekrow
8d6450687b Fixed android truncation bug. 2016-07-09 18:52:58 +08:00
Eugene Cheah
bad8f0403c Tweak to test function 2016-04-25 15:27:16 +08:00
Eugene Cheah
be3f065e21 Created the test case 2016-04-22 19:34:04 +08:00
Fazli Sapuan
dc38a637f2 Output function prototypes in GLSL 2016-04-15 15:53:59 +08:00
Eugene Cheah
d24b4486d1 Extended test case to throw an exception for getCanvas() before createKernel 2016-04-10 21:06:12 +08:00
Eugene Cheah
9897d974f6 Get canvas hot fix 2016-04-10 21:01:23 +08:00
Eugene Cheah
38ad34ccdb WIP getCanvas fix 2016-04-10 20:50:48 +08:00
Eugene Cheah
88b085d6d5 Updated test case for graphical mode 2016-04-10 20:23:06 +08:00
Eugene Cheah
380170ede3 canvas test case 2016-04-10 20:12:54 +08:00
Eugene Cheah
c3125fb435 Fixed parenthness test cases 2016-03-13 00:09:04 +08:00
Eugene Cheah
d4271edac4 Updated promise API 2016-03-12 23:58:07 +08:00
Eugene Cheah
b3baa76a50 Prototype promise implementation. 2016-03-12 14:26:44 +08:00
Eugene Cheah
366a139378 Follow standardised naming 2016-03-11 01:49:05 +08:00
Eugene Cheah
9853b9221e Merge branch 'master' into eugene-#4-async-api
Conflicts:
	gulpfile.js
	src/gpu.js
	src/utils.js
2016-03-10 23:28:28 +08:00
Fazli Sapuan
b9deeceb38 Standardize names 2016-02-28 21:41:30 +08:00
Eugene Cheah
c3ca03d4c2 Migrated gpu, to gpu core 2016-02-28 18:01:39 +08:00
Eugene Cheah
cb519949be Renamed backend files. to mode_(c/g)pu respectively 2016-02-28 17:00:38 +08:00
Eugene Cheah
112aad56d6 Lowered while loop test case to default value 2016-02-28 16:33:56 +08:00
Eugene Cheah
18f8974efe Merge commit 'e175f8a1a32f55d5ff34aacc715df7a0511642df' into eugene-#4-async-api 2016-02-28 16:32:31 +08:00
Eugene Cheah
cf3327c40c Utils function class 2016-02-28 16:31:56 +08:00
Eugene Cheah
a196265101 Added gpu_utils class, to centralised all the reuse util functions (that is not GPU.JS specific) 2016-02-28 16:07:15 +08:00
Fazli Sapuan
ec9c3304e2 Add loopMaxIterations option 2016-02-28 16:03:01 +08:00
Eugene Cheah
6ebdbcda68 Fixed issue #17 invalid test case 2016-02-28 14:46:50 +08:00
Eugene Cheah
198f094c68 Increased while loop_max to 10 million... added while loop 1k test case 2016-02-26 22:19:21 +08:00
Eugene Cheah
6a54671b8c Added while loop test case 2016-02-26 22:13:07 +08:00
Eugene Cheah
295ed8511f Made functionNode test case 'user_' voodoo resistant 2016-02-25 13:32:57 +08:00
Eugene Cheah
ddce018af5 Reorganised test files. Added a test-all.html to make it easier to do regression testing. 2016-02-25 13:26:19 +08:00
Eugene Cheah
952c0abbed Added nestedFunction test case 2016-02-25 13:01:07 +08:00
Fazli Sapuan
c2cbe2a1c4 Automatic inner functions 2016-02-25 00:24:05 +08:00
Eugene Cheah
6054a81a83 Fixe gulp, added closure jail. 2016-02-15 06:48:30 +08:00
Eugene Cheah
d5e701cbd9 Fixed up sqrt test case 2016-02-15 06:19:30 +08:00
Eugene Cheah
7e48127413 Basic custom function test case 2016-02-15 06:17:38 +08:00
Eugene Cheah
21377d9485 Now building the shader code, via the functionBuilder ! 2016-02-15 05:54:28 +08:00
Eugene Cheah
29404d49d7 Function builder tracer 2016-02-15 04:54:54 +08:00
Eugene Cheah
5f76154599 Updated functionNode documentation 2016-02-15 02:58:16 +08:00
Eugene Cheah
1ca7ba926d Function node prototype 2016-02-14 22:31:31 +08:00
Fazli Sapuan
24595f6ab8 Add basic if test 2016-02-09 21:35:42 +08:00
Fazli Sapuan
737e7335bf Fixed for loops with variable declarator list 2016-02-08 23:57:23 +08:00
Fazli Sapuan
4fb375dc94 Major API changes 2016-02-08 19:27:35 +08:00
Eugene Cheah
c00f7f0c76 Created WebGL_wrapper.js : Used to wrap around webCLGL, and will one day (when?) replace it 2016-01-30 22:20:10 +08:00
Eugene Cheah
3bc8c96460 Minor cleanup 2016-01-24 14:48:06 +08:00
Eugene Cheah
5c52739737 Merge commit '5a4e83bf1eaac0c5f4f79318595269d555aa1e5a'
Conflicts:
	demo/gpu.html
	src/js-to-webclgl.js
2016-01-24 13:13:11 +08:00
Eugene Cheah
af01fc2a2b For loop, that GPU can be better then CPU 2016-01-24 13:07:04 +08:00
Matthew Saw
f1be54244c Merge branch 'master' of https://bitbucket.org/fuzzie/gpu.js 2016-01-24 12:49:51 +08:00
Matthew Saw
cc62dbd4f1 added test case and some for loop stuff 2016-01-24 12:49:42 +08:00
Eugene Cheah
9b1106bcf0 removed old file 2016-01-24 12:17:29 +08:00
Eugene Cheah
05f63c837d sqrt support 2016-01-24 12:09:54 +08:00
Eugene Cheah
4265e4e3d5 Merge branch 'master' of bitbucket.org:fuzzie/gpu.js 2016-01-24 12:01:39 +08:00