Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 49ee619

Browse files
chore: Bump version number and docs
1 parent 5622b01 commit 49ee619

File tree

7 files changed

+24
-12
lines changed

7 files changed

+24
-12
lines changed

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,9 @@ Types that can be used with GPU.js are as follows:
748748
* 'Array3D(3)' **New in V2!**
749749
* 'Array3D(4)' **New in V2!**
750750
* 'HTMLCanvas' **New in V2.6**
751+
* 'OffscreenCanvas' **New in V2.13**
751752
* 'HTMLImage'
753+
* 'ImageBitmap' **New in V2.14**
752754
* 'HTMLImageArray'
753755
* 'HTMLVideo' **New in V2!**
754756
* 'Number'

‎dist/gpu-browser-core.js‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*
55
* GPU Accelerated JavaScript
66
*
7-
* @version 2.13.0
8-
* @date Wed Jan 26 2022 16:24:01 GMT-0500 (Eastern Standard Time)
7+
* @version 2.14.0
8+
* @date Wed Jan 26 2022 16:31:42 GMT-0500 (Eastern Standard Time)
99
*
1010
* @license MIT
1111
* The MIT License
@@ -8556,7 +8556,9 @@ class WebGLFunctionNode extends FunctionNode {
85568556
}
85578557
break;
85588558
case 'HTMLCanvas':
8559+
case 'OffscreenCanvas':
85598560
case 'HTMLImage':
8561+
case 'ImageBitmap':
85608562
case 'HTMLImageArray':
85618563
case 'HTMLVideo':
85628564
case 'ArrayTexture(1)':
@@ -8668,7 +8670,9 @@ const typeMap = {
86688670
'ArrayTexture(4)': 'sampler2D',
86698671
'HTMLVideo': 'sampler2D',
86708672
'HTMLCanvas': 'sampler2D',
8673+
'OffscreenCanvas': 'sampler2D',
86718674
'HTMLImage': 'sampler2D',
8675+
'ImageBitmap': 'sampler2D',
86728676
'HTMLImageArray': 'sampler2DArray',
86738677
};
86748678

@@ -8680,6 +8684,7 @@ const operatorMap = {
86808684
module.exports = {
86818685
WebGLFunctionNode
86828686
};
8687+
86838688
},{"../../utils":113,"../function-node":9}],38:[function(require,module,exports){
86848689
const { WebGLKernelValueBoolean } = require('./kernel-value/boolean');
86858690
const { WebGLKernelValueFloat } = require('./kernel-value/float');

‎dist/gpu-browser-core.min.js‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/gpu-browser.js‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*
55
* GPU Accelerated JavaScript
66
*
7-
* @version 2.13.0
8-
* @date Wed Jan 26 2022 16:24:01 GMT-0500 (Eastern Standard Time)
7+
* @version 2.14.0
8+
* @date Wed Jan 26 2022 16:31:43 GMT-0500 (Eastern Standard Time)
99
*
1010
* @license MIT
1111
* The MIT License
@@ -13009,7 +13009,9 @@ class WebGLFunctionNode extends FunctionNode {
1300913009
}
1301013010
break;
1301113011
case 'HTMLCanvas':
13012+
case 'OffscreenCanvas':
1301213013
case 'HTMLImage':
13014+
case 'ImageBitmap':
1301313015
case 'HTMLImageArray':
1301413016
case 'HTMLVideo':
1301513017
case 'ArrayTexture(1)':
@@ -13121,7 +13123,9 @@ const typeMap = {
1312113123
'ArrayTexture(4)': 'sampler2D',
1312213124
'HTMLVideo': 'sampler2D',
1312313125
'HTMLCanvas': 'sampler2D',
13126+
'OffscreenCanvas': 'sampler2D',
1312413127
'HTMLImage': 'sampler2D',
13128+
'ImageBitmap': 'sampler2D',
1312513129
'HTMLImageArray': 'sampler2DArray',
1312613130
};
1312713131

@@ -13133,6 +13137,7 @@ const operatorMap = {
1313313137
module.exports = {
1313413138
WebGLFunctionNode
1313513139
};
13140+
1313613141
},{"../../utils":114,"../function-node":10}],39:[function(require,module,exports){
1313713142
const { WebGLKernelValueBoolean } = require('./kernel-value/boolean');
1313813143
const { WebGLKernelValueFloat } = require('./kernel-value/float');

‎dist/gpu-browser.min.js‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gpu.js",
3-
"version": "2.13.0",
3+
"version": "2.14.0",
44
"description": "GPU Accelerated JavaScript",
55
"engines": {
66
"node": ">=8.0.0"

‎src/backend/web-gl/function-node.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1600,4 +1600,4 @@ const operatorMap = {
16001600

16011601
module.exports = {
16021602
WebGLFunctionNode
1603-
};
1603+
};

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /