@next2d/player 1.14.16 → 1.14.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/interface/PropertyBitmapDataMessageImpl.d.ts +8 -0
- package/dist/interface/PropertyBitmapDataMessageImpl.js +1 -0
- package/dist/player/index.js +1 -1
- package/dist/player/next2d/display/BitmapData.js +6 -9
- package/dist/player/next2d/display/DisplayObject.d.ts +0 -6
- package/dist/player/next2d/display/DisplayObject.js +1 -65
- package/dist/player/next2d/display/DisplayObjectContainer.js +2 -16
- package/dist/player/next2d/display/FrameLabel.js +0 -2
- package/dist/player/next2d/display/Graphics.js +0 -32
- package/dist/player/next2d/display/GraphicsBitmapFill.js +0 -4
- package/dist/player/next2d/display/GraphicsGradientFill.js +0 -9
- package/dist/player/next2d/display/InteractiveObject.js +0 -1
- package/dist/player/next2d/display/Loader.js +13 -16
- package/dist/player/next2d/display/LoaderInfo.js +0 -7
- package/dist/player/next2d/display/LoopConfig.js +0 -4
- package/dist/player/next2d/display/MovieClip.d.ts +4 -2
- package/dist/player/next2d/display/MovieClip.js +5 -23
- package/dist/player/next2d/display/Shape.d.ts +5 -3
- package/dist/player/next2d/display/Shape.js +4 -9
- package/dist/player/next2d/display/Sprite.d.ts +3 -2
- package/dist/player/next2d/display/Sprite.js +7 -15
- package/dist/player/next2d/display/Stage.js +0 -4
- package/dist/player/next2d/events/Event.js +0 -9
- package/dist/player/next2d/events/EventDispatcher.js +0 -1
- package/dist/player/next2d/events/HTTPStatusEvent.js +0 -3
- package/dist/player/next2d/events/IOErrorEvent.js +0 -1
- package/dist/player/next2d/events/ProgressEvent.js +0 -2
- package/dist/player/next2d/events/VideoEvent.js +0 -2
- package/dist/player/next2d/filters/BevelFilter.js +0 -10
- package/dist/player/next2d/filters/BitmapFilter.js +0 -1
- package/dist/player/next2d/filters/BlurFilter.js +0 -3
- package/dist/player/next2d/filters/ColorMatrixFilter.js +0 -1
- package/dist/player/next2d/filters/ConvolutionFilter.js +0 -9
- package/dist/player/next2d/filters/DisplacementMapFilter.js +0 -9
- package/dist/player/next2d/filters/DropShadowFilter.js +0 -9
- package/dist/player/next2d/filters/GlowFilter.js +0 -6
- package/dist/player/next2d/filters/GradientBevelFilter.js +0 -9
- package/dist/player/next2d/filters/GradientGlowFilter.js +0 -9
- package/dist/player/next2d/geom/ColorTransform.js +0 -1
- package/dist/player/next2d/geom/Matrix.js +0 -1
- package/dist/player/next2d/geom/Point.js +0 -2
- package/dist/player/next2d/geom/Rectangle.js +0 -4
- package/dist/player/next2d/geom/Transform.js +0 -5
- package/dist/player/next2d/media/Sound.js +0 -11
- package/dist/player/next2d/media/SoundTransform.js +0 -2
- package/dist/player/next2d/media/Video.d.ts +5 -3
- package/dist/player/next2d/media/Video.js +4 -19
- package/dist/player/next2d/net/URLRequest.js +0 -7
- package/dist/player/next2d/net/URLRequestHeader.js +0 -2
- package/dist/player/next2d/text/TextField.d.ts +5 -3
- package/dist/player/next2d/text/TextField.js +4 -50
- package/dist/player/next2d/text/TextFormat.js +0 -13
- package/dist/player/next2d/ui/Job.js +0 -11
- package/dist/player/player/Next2D.js +0 -10
- package/dist/player/player/Player.js +0 -49
- package/dist/player/util/CacheStore.js +0 -4
- package/dist/player/util/Util.d.ts +5 -4
- package/dist/player/util/Util.js +20 -14
- package/dist/webgl/BezierConverter.js +0 -1
- package/dist/webgl/CanvasGradientToWebGL.js +0 -6
- package/dist/webgl/CanvasPatternToWebGL.js +0 -4
- package/dist/webgl/CanvasToWebGLContext.js +0 -32
- package/dist/webgl/CanvasToWebGLContextBlend.js +0 -4
- package/dist/webgl/CanvasToWebGLContextGrid.js +0 -31
- package/dist/webgl/CanvasToWebGLContextMask.js +0 -7
- package/dist/webgl/CanvasToWebGLContextPath.js +0 -3
- package/dist/webgl/CanvasToWebGLContextStyle.js +0 -6
- package/dist/webgl/ColorBufferPool.js +0 -3
- package/dist/webgl/FrameBufferManager.js +0 -9
- package/dist/webgl/StencilBufferPool.js +0 -5
- package/dist/webgl/TextureManager.js +0 -7
- package/dist/webgl/VertexArrayObjectManager.js +0 -12
- package/dist/webgl/WebGLFillMeshGenerator.js +1 -4
- package/dist/webgl/WebGLStrokeMeshGenerator.js +12 -18
- package/dist/webgl/shader/CanvasToWebGLShader.js +0 -4
- package/dist/webgl/shader/CanvasToWebGLShaderList.js +0 -6
- package/dist/webgl/shader/GradientLUTGenerator.js +0 -6
- package/dist/webgl/shader/WebGLShaderUniform.js +0 -3
- package/dist/webgl/shader/variants/BlendShaderVariantCollection.js +0 -3
- package/dist/webgl/shader/variants/FilterShaderVariantCollection.js +0 -3
- package/dist/webgl/shader/variants/GradientLUTShaderVariantCollection.js +0 -3
- package/dist/webgl/shader/variants/GradientShapeShaderVariantCollection.js +0 -3
- package/dist/webgl/shader/variants/ShapeShaderVariantCollection.js +0 -3
- package/package.json +8 -6
|
@@ -3,37 +3,6 @@ import { $Math } from "../player/util/RenderUtil";
|
|
|
3
3
|
* @class
|
|
4
4
|
*/
|
|
5
5
|
export class CanvasToWebGLContextGrid {
|
|
6
|
-
enabled;
|
|
7
|
-
parentMatrixA;
|
|
8
|
-
parentMatrixB;
|
|
9
|
-
parentMatrixC;
|
|
10
|
-
parentMatrixD;
|
|
11
|
-
parentMatrixE;
|
|
12
|
-
parentMatrixF;
|
|
13
|
-
parentMatrixG;
|
|
14
|
-
parentMatrixH;
|
|
15
|
-
parentMatrixI;
|
|
16
|
-
ancestorMatrixA;
|
|
17
|
-
ancestorMatrixB;
|
|
18
|
-
ancestorMatrixC;
|
|
19
|
-
ancestorMatrixD;
|
|
20
|
-
ancestorMatrixE;
|
|
21
|
-
ancestorMatrixF;
|
|
22
|
-
ancestorMatrixG;
|
|
23
|
-
ancestorMatrixH;
|
|
24
|
-
ancestorMatrixI;
|
|
25
|
-
parentViewportX;
|
|
26
|
-
parentViewportY;
|
|
27
|
-
parentViewportW;
|
|
28
|
-
parentViewportH;
|
|
29
|
-
minXST;
|
|
30
|
-
minYST;
|
|
31
|
-
minXPQ;
|
|
32
|
-
minYPQ;
|
|
33
|
-
maxXST;
|
|
34
|
-
maxYST;
|
|
35
|
-
maxXPQ;
|
|
36
|
-
maxYPQ;
|
|
37
6
|
/**
|
|
38
7
|
* @constructor
|
|
39
8
|
* @public
|
|
@@ -4,13 +4,6 @@ import { $poolArray } from "../player/util/RenderUtil";
|
|
|
4
4
|
* @class
|
|
5
5
|
*/
|
|
6
6
|
export class CanvasToWebGLContextMask {
|
|
7
|
-
_$context;
|
|
8
|
-
_$gl;
|
|
9
|
-
_$clips;
|
|
10
|
-
_$poolClip;
|
|
11
|
-
_$clipStatus;
|
|
12
|
-
_$containerClip;
|
|
13
|
-
_$currentClip;
|
|
14
7
|
/**
|
|
15
8
|
* @param {CanvasToWebGLContext} context
|
|
16
9
|
* @param {WebGL2RenderingContext} gl
|
|
@@ -5,12 +5,6 @@ import { $getFloat32Array4, $poolFloat32Array4, $Float32Array } from "../player/
|
|
|
5
5
|
* @class
|
|
6
6
|
*/
|
|
7
7
|
export class CanvasToWebGLContextStyle {
|
|
8
|
-
_$fillStyle;
|
|
9
|
-
_$strokeStyle;
|
|
10
|
-
_$lineWidth;
|
|
11
|
-
_$lineCap;
|
|
12
|
-
_$lineJoin;
|
|
13
|
-
_$miterLimit;
|
|
14
8
|
/**
|
|
15
9
|
* @constructor
|
|
16
10
|
* @public
|
|
@@ -5,15 +5,6 @@ import { ColorBufferPool } from "./ColorBufferPool";
|
|
|
5
5
|
* @class
|
|
6
6
|
*/
|
|
7
7
|
export class FrameBufferManager {
|
|
8
|
-
_$gl;
|
|
9
|
-
_$objectPool;
|
|
10
|
-
_$frameBuffer;
|
|
11
|
-
_$frameBufferTexture;
|
|
12
|
-
_$currentAttachment;
|
|
13
|
-
_$isBinding;
|
|
14
|
-
_$textureManager;
|
|
15
|
-
_$stencilBufferPool;
|
|
16
|
-
_$colorBufferPool;
|
|
17
8
|
/**
|
|
18
9
|
* @param {WebGL2RenderingContext} gl
|
|
19
10
|
* @param {number} samples
|
|
@@ -5,18 +5,6 @@ import { $Float32Array, $getArray, $upperPowerOfTwo } from "../player/util/Rende
|
|
|
5
5
|
* @class
|
|
6
6
|
*/
|
|
7
7
|
export class VertexArrayObjectManager {
|
|
8
|
-
_$gl;
|
|
9
|
-
_$fillVertexArrayPool;
|
|
10
|
-
_$strokeVertexArrayPool;
|
|
11
|
-
_$boundVertexArray;
|
|
12
|
-
_$fillAttrib_vertex;
|
|
13
|
-
_$fillAttrib_bezier;
|
|
14
|
-
_$strokeAttrib_vertex;
|
|
15
|
-
_$strokeAttrib_option1;
|
|
16
|
-
_$strokeAttrib_option2;
|
|
17
|
-
_$strokeAttrib_type;
|
|
18
|
-
_$vertexBufferData;
|
|
19
|
-
_$commonVertexArray;
|
|
20
8
|
/**
|
|
21
9
|
* @param {WebGL2RenderingContext} gl
|
|
22
10
|
* @constructor
|
|
@@ -3,10 +3,6 @@ import { $Float32Array, $getArray } from "../player/util/RenderUtil";
|
|
|
3
3
|
* @class
|
|
4
4
|
*/
|
|
5
5
|
export class WebGLFillMeshGenerator {
|
|
6
|
-
static _$vertexBufferData;
|
|
7
|
-
static _$indexRanges;
|
|
8
|
-
static _$indexRangePool = $getArray();
|
|
9
|
-
static _$currentIndex;
|
|
10
6
|
/**
|
|
11
7
|
* @member {array}
|
|
12
8
|
* @static
|
|
@@ -102,3 +98,4 @@ export class WebGLFillMeshGenerator {
|
|
|
102
98
|
this._$currentIndex = currentIndex;
|
|
103
99
|
}
|
|
104
100
|
}
|
|
101
|
+
WebGLFillMeshGenerator._$indexRangePool = $getArray();
|
|
@@ -3,12 +3,6 @@ import { $Float32Array, $Int16Array, $Math } from "../player/util/RenderUtil";
|
|
|
3
3
|
* @class
|
|
4
4
|
*/
|
|
5
5
|
export class WebGLStrokeMeshGenerator {
|
|
6
|
-
static _$vertexBufferData;
|
|
7
|
-
static _$vertexBufferPos;
|
|
8
|
-
static _$indexBufferData;
|
|
9
|
-
static _$indexBufferPos;
|
|
10
|
-
static _$lineCap;
|
|
11
|
-
static _$lineJoin;
|
|
12
6
|
/**
|
|
13
7
|
* @param {array} vertices
|
|
14
8
|
* @param {string} line_cap
|
|
@@ -187,18 +181,6 @@ export class WebGLStrokeMeshGenerator {
|
|
|
187
181
|
this._$addLineJoinMesh(vbd[v], vbd[v + 1], vbd[v + 21], vbd[v + 22], vbd[v + 27], vbd[v + 49], vbd[v + 50], indexOffset + 2, indexOffset + 3, indexOffset + 4, indexOffset + 5);
|
|
188
182
|
}
|
|
189
183
|
}
|
|
190
|
-
/**
|
|
191
|
-
* @param {number} x1
|
|
192
|
-
* @param {number} y1
|
|
193
|
-
* @param {number} x2
|
|
194
|
-
* @param {number} y2
|
|
195
|
-
* @return {number}
|
|
196
|
-
* @method
|
|
197
|
-
* @static
|
|
198
|
-
*/
|
|
199
|
-
static _$cross = (x1, y1, x2, y2) => {
|
|
200
|
-
return x1 * y2 - x2 * y1;
|
|
201
|
-
};
|
|
202
184
|
/**
|
|
203
185
|
* @param {number} x1 線分Aの始点のx座標
|
|
204
186
|
* @param {number} y1 線分Aの始点のy座標
|
|
@@ -508,3 +490,15 @@ export class WebGLStrokeMeshGenerator {
|
|
|
508
490
|
this._$vertexBufferPos = vbp;
|
|
509
491
|
}
|
|
510
492
|
}
|
|
493
|
+
/**
|
|
494
|
+
* @param {number} x1
|
|
495
|
+
* @param {number} y1
|
|
496
|
+
* @param {number} x2
|
|
497
|
+
* @param {number} y2
|
|
498
|
+
* @return {number}
|
|
499
|
+
* @method
|
|
500
|
+
* @static
|
|
501
|
+
*/
|
|
502
|
+
WebGLStrokeMeshGenerator._$cross = (x1, y1, x2, y2) => {
|
|
503
|
+
return x1 * y2 - x2 * y1;
|
|
504
|
+
};
|
|
@@ -7,12 +7,6 @@ import { BlendShaderVariantCollection } from "./variants/BlendShaderVariantColle
|
|
|
7
7
|
* @class
|
|
8
8
|
*/
|
|
9
9
|
export class CanvasToWebGLShaderList {
|
|
10
|
-
_$currentProgramId;
|
|
11
|
-
_$shapeShaderVariants;
|
|
12
|
-
_$gradientShapeShaderVariants;
|
|
13
|
-
_$gradientLUTShaderVariants;
|
|
14
|
-
_$filterShaderVariants;
|
|
15
|
-
_$blendShaderVariants;
|
|
16
10
|
/**
|
|
17
11
|
* @param {CanvasToWebGLContext} context
|
|
18
12
|
* @param {WebGL2RenderingContext} gl
|
|
@@ -3,12 +3,6 @@ import { $Math } from "../../player/util/RenderUtil";
|
|
|
3
3
|
* @class
|
|
4
4
|
*/
|
|
5
5
|
export class GradientLUTGenerator {
|
|
6
|
-
_$context;
|
|
7
|
-
_$gl;
|
|
8
|
-
_$attachment;
|
|
9
|
-
_$maxLength;
|
|
10
|
-
_$rgbToLinearTable;
|
|
11
|
-
_$rgbIdentityTable;
|
|
12
6
|
/**
|
|
13
7
|
* @param {CanvasToWebGLContext} context
|
|
14
8
|
* @param {WebGL2RenderingContext} gl
|
|
@@ -10,9 +10,6 @@ import { $Math, $getMap } from "../../../player/util/RenderUtil";
|
|
|
10
10
|
* @class
|
|
11
11
|
*/
|
|
12
12
|
export class FilterShaderVariantCollection {
|
|
13
|
-
_$context;
|
|
14
|
-
_$gl;
|
|
15
|
-
_$collection;
|
|
16
13
|
/**
|
|
17
14
|
* @param {CanvasToWebGLContext} context
|
|
18
15
|
* @param {WebGL2RenderingContext} gl
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next2d/player",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.18",
|
|
4
4
|
"description": "Experience the fast and beautiful anti-aliased rendering of WebGL. You can create rich, interactive graphics, cross-platform applications and games without worrying about browser or device compatibility.",
|
|
5
5
|
"author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,16 +24,18 @@
|
|
|
24
24
|
"jsdoc": "tsc && jsdoc -c jsdoc.conf.js -r dist DOCS.md"
|
|
25
25
|
},
|
|
26
26
|
"types": "dist",
|
|
27
|
-
"files": [
|
|
27
|
+
"files": [
|
|
28
|
+
"dist"
|
|
29
|
+
],
|
|
28
30
|
"devDependencies": {
|
|
29
31
|
"@babel/core": "^7.22.5",
|
|
30
32
|
"@babel/preset-env": "^7.22.5",
|
|
31
33
|
"@next2d/jsdoc-template": "^1.0.7",
|
|
32
34
|
"@next2d/webpack-worker-loader-plugin": "^1.0.0",
|
|
33
35
|
"@types/jest": "^29.5.2",
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
35
|
-
"@typescript-eslint/parser": "^5.
|
|
36
|
-
"eslint": "^8.
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^5.60.0",
|
|
37
|
+
"@typescript-eslint/parser": "^5.60.0",
|
|
38
|
+
"eslint": "^8.43.0",
|
|
37
39
|
"eslint-webpack-plugin": "^4.0.1",
|
|
38
40
|
"fflate": "^0.8.0",
|
|
39
41
|
"jest": "^29.5.0",
|
|
@@ -42,7 +44,7 @@
|
|
|
42
44
|
"ts-loader": "^9.4.3",
|
|
43
45
|
"ts-node": "^10.9.1",
|
|
44
46
|
"typescript": "^5.1.3",
|
|
45
|
-
"webpack": "^5.
|
|
47
|
+
"webpack": "^5.88.0",
|
|
46
48
|
"webpack-cli": "^5.1.4",
|
|
47
49
|
"webpack-dev-server": "^4.15.1"
|
|
48
50
|
}
|