Comparing version 8.8.0-rc.1-dev.723c605 to 8.8.0
/*! | ||
* PixiJS - v8.8.0-rc.1 | ||
* Compiled Tue, 11 Feb 2025 09:16:02 UTC | ||
* PixiJS - v8.8.0 | ||
* Compiled Tue, 11 Feb 2025 15:45:29 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * PixiJS is licensed under the MIT License. |
/*! | ||
* PixiJS - v8.8.0-rc.1 | ||
* Compiled Tue, 11 Feb 2025 09:16:02 UTC | ||
* PixiJS - v8.8.0 | ||
* Compiled Tue, 11 Feb 2025 15:45:29 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * PixiJS is licensed under the MIT License. |
/*! | ||
* PixiJS - v8.8.0-rc.1 | ||
* Compiled Tue, 11 Feb 2025 09:16:02 UTC | ||
* PixiJS - v8.8.0 | ||
* Compiled Tue, 11 Feb 2025 15:45:29 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * PixiJS is licensed under the MIT License. |
/*! | ||
* PixiJS - v8.8.0-rc.1 | ||
* Compiled Tue, 11 Feb 2025 09:16:02 UTC | ||
* PixiJS - v8.8.0 | ||
* Compiled Tue, 11 Feb 2025 15:45:29 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * PixiJS is licensed under the MIT License. |
/*! | ||
* PixiJS - v8.8.0-rc.1 | ||
* Compiled Tue, 11 Feb 2025 09:16:02 UTC | ||
* PixiJS - v8.8.0 | ||
* Compiled Tue, 11 Feb 2025 15:45:29 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * PixiJS is licensed under the MIT License. |
/*! | ||
* PixiJS - v8.8.0-rc.1 | ||
* Compiled Tue, 11 Feb 2025 09:16:02 UTC | ||
* PixiJS - v8.8.0 | ||
* Compiled Tue, 11 Feb 2025 15:45:29 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * PixiJS is licensed under the MIT License. |
/*! | ||
* PixiJS - v8.8.0-rc.1 | ||
* Compiled Tue, 11 Feb 2025 09:16:02 UTC | ||
* PixiJS - v8.8.0 | ||
* Compiled Tue, 11 Feb 2025 15:45:29 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * PixiJS is licensed under the MIT License. |
/*! | ||
* PixiJS - v8.8.0-rc.1 | ||
* Compiled Tue, 11 Feb 2025 09:16:02 UTC | ||
* PixiJS - v8.8.0 | ||
* Compiled Tue, 11 Feb 2025 15:45:29 UTC | ||
* | ||
@@ -5,0 +5,0 @@ * PixiJS is licensed under the MIT License. |
@@ -37,2 +37,5 @@ 'use strict'; | ||
} | ||
if (removed.length > 0) { | ||
this._didViewChangeTick++; | ||
} | ||
return removed; | ||
@@ -39,0 +42,0 @@ } else if (range === 0 && this.children.length === 0) { |
@@ -53,2 +53,8 @@ import { ExtensionType } from '../../../extensions/Extensions'; | ||
private _increaseReferenceCount; | ||
/** | ||
* Returns a texture that was created wit the above `getTexture` function. | ||
* Handy if you are done with a texture and want to return it to the pool. | ||
* @param texture - The texture to be returned. | ||
*/ | ||
returnTexture(texture: Texture): void; | ||
decreaseReferenceCount(textKey: string): void; | ||
@@ -55,0 +61,0 @@ getReferenceCount(textKey: string): number; |
@@ -86,2 +86,14 @@ 'use strict'; | ||
} | ||
/** | ||
* Returns a texture that was created wit the above `getTexture` function. | ||
* Handy if you are done with a texture and want to return it to the pool. | ||
* @param texture - The texture to be returned. | ||
*/ | ||
returnTexture(texture) { | ||
const source = texture.source; | ||
source.resource = null; | ||
source.uploadMethodId = "unknown"; | ||
source.alphaMode = "no-premultiply-alpha"; | ||
TexturePool.TexturePool.returnTexture(texture); | ||
} | ||
decreaseReferenceCount(textKey) { | ||
@@ -92,7 +104,3 @@ const activeTexture = this._activeTextures[textKey]; | ||
CanvasPool.CanvasPool.returnCanvasAndContext(activeTexture.canvasAndContext); | ||
TexturePool.TexturePool.returnTexture(activeTexture.texture); | ||
const source = activeTexture.texture.source; | ||
source.resource = null; | ||
source.uploadMethodId = "unknown"; | ||
source.alphaMode = "no-premultiply-alpha"; | ||
this.returnTexture(activeTexture.texture); | ||
this._activeTextures[textKey] = null; | ||
@@ -99,0 +107,0 @@ } |
@@ -133,2 +133,3 @@ 'use strict'; | ||
data: { | ||
textureOptions, | ||
ignoreMultiPack: true | ||
@@ -135,0 +136,0 @@ } |
@@ -7,3 +7,3 @@ 'use strict'; | ||
const DATA_URI = /^\s*data:(?:([\w-]+)\/([\w+.-]+))?(?:;charset=([\w-]+))?(?:;(base64))?,(.*)/i; | ||
const VERSION = "8.8.0-rc.1"; | ||
const VERSION = "8.8.0"; | ||
@@ -10,0 +10,0 @@ exports.EventEmitter = EventEmitter; |
{ | ||
"name": "pixi.js", | ||
"version": "8.8.0-rc.1-dev.723c605", | ||
"version": "8.8.0", | ||
"author": "PixiJS Team", | ||
@@ -5,0 +5,0 @@ "homepage": "http://pixijs.com/", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
53179467
362575
0