Socket
Socket
Sign inDemoInstall

@pixi/core

Package Overview
Dependencies
Maintainers
2
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/core - npm Package Compare versions

Comparing version 7.1.0-alpha to 7.1.0

lib/batch/canUploadSameBuffer.d.ts

29

global.d.ts

@@ -50,2 +50,31 @@ declare namespace GlobalMixins

}
interface Settings
{
/** @deprecated */
FILTER_RESOLUTION: number;
/** @deprecated */
FILTER_MULTISAMPLE: import('@pixi/constants').MSAA_QUALITY;
/** @deprecated */
SPRITE_MAX_TEXTURES: number;
/** @deprecated */
SPRITE_BATCH_SIZE: number;
/** @deprecated */
MIPMAP_TEXTURES: import('@pixi/constants').MIPMAP_MODES;
/** @deprecated */
ANISOTROPIC_LEVEL: number;
/** @deprecated */
WRAP_MODE: import('@pixi/constants').WRAP_MODES;
/** @deprecated */
SCALE_MODE: import('@pixi/constants').SCALE_MODES;
/** @deprecated */
CAN_UPLOAD_SAME_BUFFER: boolean;
/** @deprecated */
PRECISION_VERTEX: import('@pixi/constants').PRECISION,
/** @deprecated */
PRECISION_FRAGMENT: import('@pixi/constants').PRECISION,
STRICT_TEXTURE_CACHE: boolean;
PREFER_ENV: import('@pixi/constants').ENV;
}
}

2

lib/background/BackgroundSystem.js

@@ -5,4 +5,4 @@ 'use strict';

var extensions = require('@pixi/extensions');
var utils = require('@pixi/utils');
var extensions = require('@pixi/extensions');

@@ -9,0 +9,0 @@ class BackgroundSystem {

@@ -0,3 +1,3 @@

import { Buffer } from '../geometry/Buffer';
import { Geometry } from '../geometry/Geometry';
import { Buffer } from '../geometry/Buffer';
/**

@@ -4,0 +4,0 @@ * Geometry used to batch standard PIXI content (e.g. Mesh, Sprite, Graphics objects).

@@ -6,4 +6,4 @@ 'use strict';

var constants = require('@pixi/constants');
var Buffer = require('../geometry/Buffer.js');
var Geometry = require('../geometry/Geometry.js');
var Buffer = require('../geometry/Buffer.js');

@@ -10,0 +10,0 @@ class BatchGeometry extends Geometry.Geometry {

@@ -0,14 +1,14 @@

import { ViewableBuffer } from '../geometry/ViewableBuffer';
import { State } from '../state/State';
import { BaseTexture } from '../textures/BaseTexture';
import { BatchDrawCall } from './BatchDrawCall';
import { BatchGeometry } from './BatchGeometry';
import { BatchShaderGenerator } from './BatchShaderGenerator';
import { BatchTextureArray } from './BatchTextureArray';
import { BaseTexture } from '../textures/BaseTexture';
import { ObjectRenderer } from './ObjectRenderer';
import { State } from '../state/State';
import { ViewableBuffer } from '../geometry/ViewableBuffer';
import { BatchShaderGenerator } from './BatchShaderGenerator';
import { BatchGeometry } from './BatchGeometry';
import type { BLEND_MODES } from '@pixi/constants';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { Renderer } from '../Renderer';
import type { Shader } from '../shader/Shader';
import type { Texture } from '../textures/Texture';
import type { BLEND_MODES } from '@pixi/constants';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -37,3 +37,27 @@ * Interface for elements like Sprite, Mesh etc. for batching.

export declare class BatchRenderer extends ObjectRenderer {
/**
* The maximum textures that this device supports.
* @static
* @default 32
*/
static get defaultMaxTextures(): number;
static set defaultMaxTextures(value: number);
/** @ignore */
private static _defaultMaxTextures;
/**
* The default sprite batch size.
*
* The default aims to balance desktop and mobile devices.
* @static
*/
static defaultBatchSize: number;
/**
* Can we upload the same buffer in a single frame?
* @static
*/
static get canUploadSameBuffer(): boolean;
static set canUploadSameBuffer(value: boolean);
/** @ignore */
private static _canUploadSameBuffer;
/** @ignore */
static extension: ExtensionMetadata;

@@ -45,3 +69,3 @@ /** The WebGL state in which this renderer will work. */

* occurs automatically.
* @default settings.SPRITE_BATCH_SIZE * 4
* @default PIXI.BatchRenderer.defaultBatchSize * 4
*/

@@ -56,3 +80,3 @@ size: number;

*/
MAX_TEXTURES: number;
maxTextures: number;
/**

@@ -116,3 +140,3 @@ * This is used to generate a shader that can

* frame. On iOS devices or when
* `settings.CAN_UPLOAD_SAME_BUFFER` is false, the
* `BatchRenderer.canUploadSameBuffer` is false, the
* batch renderer does not upload data to the same

@@ -180,2 +204,8 @@ * `WebGLBuffer` for performance reasons.

/**
* @see PIXI.BatchRenderer#maxTextures
* @deprecated since 7.1.0
* @readonly
*/
get MAX_TEXTURES(): number;
/**
* The default vertex shader source

@@ -203,3 +233,3 @@ * @readonly

*
* It calculates `this.MAX_TEXTURES` and allocating the packed-geometry object pool.
* It calculates `this.maxTextures` and allocating the packed-geometry object pool.
*/

@@ -206,0 +236,0 @@ contextChange(): void;

@@ -5,17 +5,19 @@ 'use strict';

var constants = require('@pixi/constants');
var extensions = require('@pixi/extensions');
var settings = require('@pixi/settings');
var utils = require('@pixi/utils');
var ViewableBuffer = require('../geometry/ViewableBuffer.js');
var checkMaxIfStatementsInShader = require('../shader/utils/checkMaxIfStatementsInShader.js');
var State = require('../state/State.js');
var BaseTexture = require('../textures/BaseTexture.js');
var BatchDrawCall = require('./BatchDrawCall.js');
var BatchGeometry = require('./BatchGeometry.js');
var BatchShaderGenerator = require('./BatchShaderGenerator.js');
var BatchTextureArray = require('./BatchTextureArray.js');
var BaseTexture = require('../textures/BaseTexture.js');
var canUploadSameBuffer = require('./canUploadSameBuffer.js');
var maxRecommendedTextures = require('./maxRecommendedTextures.js');
var ObjectRenderer = require('./ObjectRenderer.js');
var State = require('../state/State.js');
var ViewableBuffer = require('../geometry/ViewableBuffer.js');
var BatchShaderGenerator = require('./BatchShaderGenerator.js');
var checkMaxIfStatementsInShader = require('../shader/utils/checkMaxIfStatementsInShader.js');
var settings = require('@pixi/settings');
var utils = require('@pixi/utils');
var constants = require('@pixi/constants');
var BatchGeometry = require('./BatchGeometry.js');
var texture = require('./texture.js');
var texture$1 = require('./texture2.js');
var extensions = require('@pixi/extensions');
var texture$1 = require('./texture.js');
var texture = require('./texture2.js');

@@ -29,3 +31,3 @@ const _BatchRenderer = class extends ObjectRenderer.ObjectRenderer {

this.state = State.State.for2d();
this.size = settings.settings.SPRITE_BATCH_SIZE * 4;
this.size = _BatchRenderer.defaultBatchSize * 4;
this._vertexCount = 0;

@@ -42,3 +44,3 @@ this._indexCount = 0;

this._iBuffers = {};
this.MAX_TEXTURES = 1;
this.maxTextures = 1;
this.renderer.on("prerender", this.onPrerender, this);

@@ -53,2 +55,20 @@ renderer.runners.contextChange.add(this);

}
static get defaultMaxTextures() {
this._defaultMaxTextures = this._defaultMaxTextures ?? maxRecommendedTextures.maxRecommendedTextures(32);
return this._defaultMaxTextures;
}
static set defaultMaxTextures(value) {
this._defaultMaxTextures = value;
}
static get canUploadSameBuffer() {
this._canUploadSameBuffer = this._canUploadSameBuffer ?? canUploadSameBuffer.canUploadSameBuffer();
return this._canUploadSameBuffer;
}
static set canUploadSameBuffer(value) {
this._canUploadSameBuffer = value;
}
get MAX_TEXTURES() {
utils.deprecation("7.1.0", "BatchRenderer#MAX_TEXTURES renamed to BatchRenderer#maxTextures");
return this.maxTextures;
}
static get defaultVertexSrc() {

@@ -69,8 +89,8 @@ return texture["default"];

if (settings.settings.PREFER_ENV === constants.ENV.WEBGL_LEGACY) {
this.MAX_TEXTURES = 1;
this.maxTextures = 1;
} else {
this.MAX_TEXTURES = Math.min(gl.getParameter(gl.MAX_TEXTURE_IMAGE_UNITS), settings.settings.SPRITE_MAX_TEXTURES);
this.MAX_TEXTURES = checkMaxIfStatementsInShader.checkMaxIfStatementsInShader(this.MAX_TEXTURES, gl);
this.maxTextures = Math.min(gl.getParameter(gl.MAX_TEXTURE_IMAGE_UNITS), _BatchRenderer.defaultMaxTextures);
this.maxTextures = checkMaxIfStatementsInShader.checkMaxIfStatementsInShader(this.maxTextures, gl);
}
this._shader = this.shaderGenerator.generateShader(this.MAX_TEXTURES);
this._shader = this.shaderGenerator.generateShader(this.maxTextures);
for (let i = 0; i < this._packedGeometryPoolSize; i++) {

@@ -87,3 +107,3 @@ this._packedGeometries[i] = new this.geometryClass();

const MAX_SPRITES = this.size / 4;
const MAX_TA = Math.floor(MAX_SPRITES / this.MAX_TEXTURES) + 1;
const MAX_TA = Math.floor(MAX_SPRITES / this.maxTextures) + 1;
while (_drawCallPool.length < MAX_SPRITES) {

@@ -95,3 +115,3 @@ _drawCallPool.push(new BatchDrawCall.BatchDrawCall());

}
for (let i = 0; i < this.MAX_TEXTURES; i++) {
for (let i = 0; i < this.maxTextures; i++) {
this._tempBoundTextures[i] = null;

@@ -118,3 +138,3 @@ }

_bufferedTextures: textures,
MAX_TEXTURES
maxTextures
} = this;

@@ -129,3 +149,3 @@ const textureArrays = _BatchRenderer._textureArrayPool;

let start = 0;
batch.copyBoundTextures(boundTextures, MAX_TEXTURES);
batch.copyBoundTextures(boundTextures, maxTextures);
for (let i = 0; i < this._bufferSize; ++i) {

@@ -137,4 +157,4 @@ const tex = textures[i];

}
if (texArray.count >= MAX_TEXTURES) {
batch.boundArray(texArray, boundTextures, TICK, MAX_TEXTURES);
if (texArray.count >= maxTextures) {
batch.boundArray(texArray, boundTextures, TICK, maxTextures);
this.buildDrawCalls(texArray, start, i);

@@ -150,3 +170,3 @@ start = i;

if (texArray.count > 0) {
batch.boundArray(texArray, boundTextures, TICK, MAX_TEXTURES);
batch.boundArray(texArray, boundTextures, TICK, maxTextures);
this.buildDrawCalls(texArray, start, this._bufferSize);

@@ -214,3 +234,3 @@ ++countTexArrays;

} = this;
if (!settings.settings.CAN_UPLOAD_SAME_BUFFER) {
if (!_BatchRenderer.canUploadSameBuffer) {
if (this._packedGeometryPoolSize <= this._flushId) {

@@ -265,5 +285,5 @@ this._packedGeometryPoolSize++;

this.renderer.state.set(this.state);
this.renderer.texture.ensureSamplerType(this.MAX_TEXTURES);
this.renderer.texture.ensureSamplerType(this.maxTextures);
this.renderer.shader.bind(this._shader);
if (settings.settings.CAN_UPLOAD_SAME_BUFFER) {
if (_BatchRenderer.canUploadSameBuffer) {
this.renderer.geometry.bind(this._packedGeometries[this._flushId]);

@@ -345,2 +365,3 @@ }

let BatchRenderer = _BatchRenderer;
BatchRenderer.defaultBatchSize = 4096;
BatchRenderer.extension = {

@@ -347,0 +368,0 @@ name: "batch",

@@ -0,3 +1,3 @@

import { Program } from '../shader/Program';
import { Shader } from '../shader/Shader';
import { Program } from '../shader/Program';
import { UniformGroup } from '../shader/UniformGroup';

@@ -4,0 +4,0 @@ /**

@@ -5,6 +5,6 @@ 'use strict';

var math = require('@pixi/math');
var Program = require('../shader/Program.js');
var Shader = require('../shader/Shader.js');
var Program = require('../shader/Program.js');
var UniformGroup = require('../shader/UniformGroup.js');
var math = require('@pixi/math');

@@ -11,0 +11,0 @@ class BatchShaderGenerator {

import { ObjectRenderer } from './ObjectRenderer';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { Renderer } from '../Renderer';
import type { BaseTexture } from '../textures/BaseTexture';
import type { BatchTextureArray } from './BatchTextureArray';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -8,0 +8,0 @@ * System plugin to the renderer to manage batching.

@@ -5,4 +5,4 @@ 'use strict';

var extensions = require('@pixi/extensions');
var ObjectRenderer = require('./ObjectRenderer.js');
var extensions = require('@pixi/extensions');

@@ -9,0 +9,0 @@ class BatchSystem {

@@ -0,3 +1,3 @@

import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { Renderer } from '../Renderer';
/**

@@ -4,0 +4,0 @@ * Base for a common object renderer that can be used as a

@@ -5,5 +5,5 @@ 'use strict';

var defaultVertex = "precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform vec4 tint;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vTextureId = aTextureId;\n vColor = aColor * tint;\n}\n";
var defaultFragment = "varying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\nuniform sampler2D uSamplers[%count%];\n\nvoid main(void){\n vec4 color;\n %forloop%\n gl_FragColor = color * vColor;\n}\n";
exports["default"] = defaultVertex;
exports["default"] = defaultFragment;
//# sourceMappingURL=texture.js.map

@@ -5,5 +5,5 @@ 'use strict';

var defaultFragment = "varying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\nuniform sampler2D uSamplers[%count%];\n\nvoid main(void){\n vec4 color;\n %forloop%\n gl_FragColor = color * vColor;\n}\n";
var defaultVertex = "precision highp float;\nattribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\nattribute vec4 aColor;\nattribute float aTextureId;\n\nuniform mat3 projectionMatrix;\nuniform mat3 translationMatrix;\nuniform vec4 tint;\n\nvarying vec2 vTextureCoord;\nvarying vec4 vColor;\nvarying float vTextureId;\n\nvoid main(void){\n gl_Position = vec4((projectionMatrix * translationMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vTextureId = aTextureId;\n vColor = aColor * tint;\n}\n";
exports["default"] = defaultFragment;
exports["default"] = defaultVertex;
//# sourceMappingURL=texture2.js.map
import type { ExtensionMetadata } from '@pixi/extensions';
import type { ICanvas } from '@pixi/settings';
import type { IRenderingContext } from '../IRenderer';
import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { Renderer } from '../Renderer';
import type { WebGLExtensions } from './WebGLExtensions';
import type { IRenderingContext } from '../IRenderer';
export interface ISupportDict {

@@ -8,0 +8,0 @@ uint32Indices: boolean;

@@ -7,3 +7,2 @@ 'use strict';

var extensions = require('@pixi/extensions');
require('../settings.js');
var settings = require('@pixi/settings');

@@ -30,5 +29,2 @@

this.renderer.CONTEXT_UID = CONTEXT_UID_COUNTER++;
if (gl.isContextLost() && gl.getExtension("WEBGL_lose_context")) {
gl.getExtension("WEBGL_lose_context").restoreContext();
}
}

@@ -40,3 +36,3 @@ init(options) {

const alpha = this.renderer.background.alpha < 1;
const premultipliedAlpha = options.premultipliedAlpha ?? true;
const premultipliedAlpha = options.premultipliedAlpha;
this.preserveDrawingBuffer = options.preserveDrawingBuffer;

@@ -92,2 +88,3 @@ this.useContextAlpha = options.useContextAlpha;

const common = {
loseContext: gl.getExtension("WEBGL_lose_context"),
anisotropicFiltering: gl.getExtension("EXT_texture_filter_anisotropic"),

@@ -107,3 +104,2 @@ floatTextureLinear: gl.getExtension("OES_texture_float_linear"),

depthTexture: gl.getExtension("WEBGL_depth_texture"),
loseContext: gl.getExtension("WEBGL_lose_context"),
vertexArrayObject: gl.getExtension("OES_vertex_array_object") || gl.getExtension("MOZ_OES_vertex_array_object") || gl.getExtension("WEBKIT_OES_vertex_array_object"),

@@ -124,2 +120,7 @@ uint32ElementIndex: gl.getExtension("OES_element_index_uint"),

event.preventDefault();
setTimeout(() => {
if (this.gl.isContextLost() && this.extensions.loseContext) {
this.extensions.loseContext.restoreContext();
}
}, 0);
}

@@ -126,0 +127,0 @@ handleContextRestored() {

@@ -0,4 +1,5 @@

import { MSAA_QUALITY } from '@pixi/constants';
import { Shader } from '../shader/Shader';
import { State } from '../state/State';
import type { MSAA_QUALITY, BLEND_MODES, CLEAR_MODES } from '@pixi/constants';
import type { BLEND_MODES, CLEAR_MODES } from '@pixi/constants';
import type { Dict } from '@pixi/utils';

@@ -13,3 +14,3 @@ import type { RenderTexture } from '../renderTexture/RenderTexture';

* {@link http://pixijs.io/examples/#/filters/blur-filter.js Example} of the
* {@link PIXI.filters.BlurFilter BlurFilter}.
* {@link PIXI.BlurFilter BlurFilter}.
*

@@ -41,3 +42,3 @@ * ### Usage

* Also be aware that we have changed default vertex shader, please consult
* {@link https://github.com/pixijs/pixi.js/wiki/v5-Creating-filters Wiki}.
* {@link https://github.com/pixijs/pixijs/wiki/v5-Creating-filters Wiki}.
*

@@ -107,3 +108,3 @@ * ### Frames

*
* This filter is just one uniform less than {@link PIXI.filters.AlphaFilter AlphaFilter}.
* This filter is just one uniform less than {@link PIXI.AlphaFilter AlphaFilter}.
*

@@ -156,3 +157,3 @@ * **outputFrame**

*
* It's handy for filters that use neighbour pixels, like {@link PIXI.filters.FXAAFilter FXAAFilter}.
* It's handy for filters that use neighbour pixels, like {@link PIXI.FXAAFilter FXAAFilter}.
*

@@ -180,3 +181,3 @@ * **inputClamp**

* Complete documentation on Filter usage is located in the
* {@link https://github.com/pixijs/pixi.js/wiki/v5-Creating-filters Wiki}.
* {@link https://github.com/pixijs/pixijs/wiki/v5-Creating-filters Wiki}.
*

@@ -189,2 +190,14 @@ * Since PixiJS only had a handful of built-in filters, additional filters can be downloaded

/**
* Default filter resolution for any filter.
* @static
*/
static defaultResolution: number;
/**
* Default filter samples for any filter.
* @static
* @type {PIXI.MSAA_QUALITY}
* @default PIXI.MSAA_QUALITY.NONE
*/
static defaultMultisample: MSAA_QUALITY;
/**
* The padding of the filter. Some filters require extra space to breath such as a blur.

@@ -195,3 +208,3 @@ * Increasing this will add extra width and height to the bounds of the object that the

padding: number;
/** The samples of the filter. */
/** The samples override of the filter instance. */
multisample: MSAA_QUALITY;

@@ -245,3 +258,3 @@ /** If enabled is true the filter is applied, if false it will not. */

* The default vertex shader source
* @constant
* @readonly
*/

@@ -251,3 +264,3 @@ static get defaultVertexSrc(): string;

* The default fragment shader source
* @constant
* @readonly
*/

@@ -254,0 +267,0 @@ static get defaultFragmentSrc(): string;

@@ -5,3 +5,3 @@ 'use strict';

var settings = require('@pixi/settings');
var constants = require('@pixi/constants');
var Program = require('../shader/Program.js');

@@ -13,9 +13,9 @@ var Shader = require('../shader/Shader.js');

class Filter extends Shader.Shader {
const _Filter = class extends Shader.Shader {
constructor(vertexSrc, fragmentSrc, uniforms) {
const program = Program.Program.from(vertexSrc || Filter.defaultVertexSrc, fragmentSrc || Filter.defaultFragmentSrc);
const program = Program.Program.from(vertexSrc || _Filter.defaultVertexSrc, fragmentSrc || _Filter.defaultFragmentSrc);
super(program, uniforms);
this.padding = 0;
this.resolution = settings.settings.FILTER_RESOLUTION;
this.multisample = settings.settings.FILTER_MULTISAMPLE;
this.resolution = _Filter.defaultResolution;
this.multisample = _Filter.defaultMultisample;
this.enabled = true;

@@ -46,5 +46,8 @@ this.autoFit = true;

}
}
};
let Filter = _Filter;
Filter.defaultResolution = 1;
Filter.defaultMultisample = constants.MSAA_QUALITY.NONE;
exports.Filter = Filter;
//# sourceMappingURL=Filter.js.map

@@ -0,7 +1,7 @@

import { MSAA_QUALITY } from '@pixi/constants';
import { Rectangle } from '@pixi/math';
import type { Matrix } from '@pixi/math';
import { Rectangle } from '@pixi/math';
import { MSAA_QUALITY } from '@pixi/constants';
import type { RenderTexture } from '../renderTexture/RenderTexture';
import type { Filter } from './Filter';
import type { IFilterTarget } from './IFilterTarget';
import type { RenderTexture } from '../renderTexture/RenderTexture';
/**

@@ -8,0 +8,0 @@ * System plugin to the renderer to manage filter states.

@@ -5,4 +5,4 @@ 'use strict';

var constants = require('@pixi/constants');
var math = require('@pixi/math');
var constants = require('@pixi/constants');

@@ -9,0 +9,0 @@ class FilterState {

@@ -0,8 +1,11 @@

import { CLEAR_MODES, MSAA_QUALITY } from '@pixi/constants';
import { Matrix } from '@pixi/math';
import { RenderTexturePool } from '../renderTexture/RenderTexturePool';
import { UniformGroup } from '../shader/UniformGroup';
import { Quad } from '../utils/Quad';
import { QuadUv } from '../utils/QuadUv';
import { Matrix } from '@pixi/math';
import { UniformGroup } from '../shader/UniformGroup';
import { CLEAR_MODES, MSAA_QUALITY } from '@pixi/constants';
import { FilterState } from './FilterState';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { Renderer } from '../Renderer';
import type { RenderTexture } from '../renderTexture/RenderTexture';
import type { ISystem } from '../system/ISystem';

@@ -12,5 +15,2 @@ import type { Filter } from './Filter';

import type { ISpriteMaskTarget } from './spriteMask/SpriteMaskFilter';
import type { RenderTexture } from '../renderTexture/RenderTexture';
import type { Renderer } from '../Renderer';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -17,0 +17,0 @@ * System plugin to the renderer to manage filters.

@@ -5,10 +5,10 @@ 'use strict';

var constants = require('@pixi/constants');
var extensions = require('@pixi/extensions');
var math = require('@pixi/math');
var RenderTexturePool = require('../renderTexture/RenderTexturePool.js');
var UniformGroup = require('../shader/UniformGroup.js');
var Quad = require('../utils/Quad.js');
var QuadUv = require('../utils/QuadUv.js');
var math = require('@pixi/math');
var UniformGroup = require('../shader/UniformGroup.js');
var constants = require('@pixi/constants');
var FilterState = require('./FilterState.js');
var extensions = require('@pixi/extensions');

@@ -15,0 +15,0 @@ const tempPoints = [new math.Point(), new math.Point(), new math.Point(), new math.Point()];

@@ -0,10 +1,10 @@

import { Matrix } from '@pixi/math';
import { Filter } from '../Filter';
import type { CLEAR_MODES } from '@pixi/constants';
import type { Point } from '@pixi/math';
import { Matrix } from '@pixi/math';
import type { CLEAR_MODES } from '@pixi/constants';
import type { FilterSystem } from '../FilterSystem';
import type { Dict } from '@pixi/utils';
import type { IMaskTarget } from '../../mask/MaskData';
import type { RenderTexture } from '../../renderTexture/RenderTexture';
import type { Texture } from '../../textures/Texture';
import type { RenderTexture } from '../../renderTexture/RenderTexture';
import type { Dict } from '@pixi/utils';
import type { FilterSystem } from '../FilterSystem';
export interface ISpriteMaskTarget extends IMaskTarget {

@@ -11,0 +11,0 @@ _texture: Texture;

@@ -5,7 +5,7 @@ 'use strict';

var Filter = require('../Filter.js');
var math = require('@pixi/math');
var spriteMaskFilter = require('./spriteMaskFilter2.js');
var spriteMaskFilter$1 = require('./spriteMaskFilter3.js');
var TextureMatrix = require('../../textures/TextureMatrix.js');
var Filter = require('../Filter.js');
var spriteMaskFilter$1 = require('./spriteMaskFilter2.js');
var spriteMaskFilter = require('./spriteMaskFilter3.js');

@@ -12,0 +12,0 @@ class SpriteMaskFilter extends Filter.Filter {

@@ -5,5 +5,5 @@ 'use strict';

var vertex = "attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 otherMatrix;\n\nvarying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vMaskCoord = ( otherMatrix * vec3( aTextureCoord, 1.0) ).xy;\n}\n";
var fragment = "varying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform sampler2D mask;\nuniform float alpha;\nuniform float npmAlpha;\nuniform vec4 maskClamp;\n\nvoid main(void)\n{\n float clip = step(3.5,\n step(maskClamp.x, vMaskCoord.x) +\n step(maskClamp.y, vMaskCoord.y) +\n step(vMaskCoord.x, maskClamp.z) +\n step(vMaskCoord.y, maskClamp.w));\n\n vec4 original = texture2D(uSampler, vTextureCoord);\n vec4 masky = texture2D(mask, vMaskCoord);\n float alphaMul = 1.0 - npmAlpha * (1.0 - masky.a);\n\n original *= (alphaMul * masky.r * alpha * clip);\n\n gl_FragColor = original;\n}\n";
exports["default"] = vertex;
exports["default"] = fragment;
//# sourceMappingURL=spriteMaskFilter2.js.map

@@ -5,5 +5,5 @@ 'use strict';

var fragment = "varying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform sampler2D mask;\nuniform float alpha;\nuniform float npmAlpha;\nuniform vec4 maskClamp;\n\nvoid main(void)\n{\n float clip = step(3.5,\n step(maskClamp.x, vMaskCoord.x) +\n step(maskClamp.y, vMaskCoord.y) +\n step(vMaskCoord.x, maskClamp.z) +\n step(vMaskCoord.y, maskClamp.w));\n\n vec4 original = texture2D(uSampler, vTextureCoord);\n vec4 masky = texture2D(mask, vMaskCoord);\n float alphaMul = 1.0 - npmAlpha * (1.0 - masky.a);\n\n original *= (alphaMul * masky.r * alpha * clip);\n\n gl_FragColor = original;\n}\n";
var vertex = "attribute vec2 aVertexPosition;\nattribute vec2 aTextureCoord;\n\nuniform mat3 projectionMatrix;\nuniform mat3 otherMatrix;\n\nvarying vec2 vMaskCoord;\nvarying vec2 vTextureCoord;\n\nvoid main(void)\n{\n gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);\n\n vTextureCoord = aTextureCoord;\n vMaskCoord = ( otherMatrix * vec3( aTextureCoord, 1.0) ).xy;\n}\n";
exports["default"] = fragment;
exports["default"] = vertex;
//# sourceMappingURL=spriteMaskFilter3.js.map

@@ -13,2 +13,2 @@ /**

declare const defaultFilterVertex: string;
export { defaultVertex, defaultFilterVertex };
export { defaultFilterVertex, defaultVertex };

@@ -0,4 +1,4 @@

import { MSAA_QUALITY } from '@pixi/constants';
import { Runner } from '@pixi/runner';
import { BaseTexture } from '../textures/BaseTexture';
import { MSAA_QUALITY } from '@pixi/constants';
import type { GLFramebuffer } from './GLFramebuffer';

@@ -5,0 +5,0 @@ /**

@@ -5,6 +5,6 @@ 'use strict';

var constants = require('@pixi/constants');
var runner = require('@pixi/runner');
var BaseTexture = require('../textures/BaseTexture.js');
var DepthResource = require('../textures/resources/DepthResource.js');
var constants = require('@pixi/constants');

@@ -11,0 +11,0 @@ class Framebuffer {

@@ -0,9 +1,9 @@

import { BUFFER_BITS, MSAA_QUALITY } from '@pixi/constants';
import { Rectangle } from '@pixi/math';
import { BUFFER_BITS, MSAA_QUALITY } from '@pixi/constants';
import { Framebuffer } from './Framebuffer';
import { GLFramebuffer } from './GLFramebuffer';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { IRenderingContext } from '../IRenderer';
import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { Renderer } from '../Renderer';
import type { IRenderingContext } from '../IRenderer';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -10,0 +10,0 @@ * System plugin to the renderer to manage framebuffers.

@@ -5,9 +5,8 @@ 'use strict';

var constants = require('@pixi/constants');
var extensions = require('@pixi/extensions');
var math = require('@pixi/math');
var constants = require('@pixi/constants');
require('../settings.js');
var settings = require('@pixi/settings');
var Framebuffer = require('./Framebuffer.js');
var GLFramebuffer = require('./GLFramebuffer.js');
var extensions = require('@pixi/extensions');
var settings = require('@pixi/settings');

@@ -23,2 +22,3 @@ const tempRectangle = new math.Rectangle();

contextChange() {
this.disposeAll(true);
const gl = this.gl = this.renderer.gl;

@@ -30,3 +30,2 @@ this.CONTEXT_UID = this.renderer.CONTEXT_UID;

this.writeDepthTexture = true;
this.disposeAll(true);
if (this.renderer.context.webGLVersion === 1) {

@@ -33,0 +32,0 @@ let nativeDrawBuffersExtension = this.renderer.context.extensions.drawBuffers;

import { MSAA_QUALITY } from '@pixi/constants';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { IRenderingContext } from '../IRenderer';
import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { Renderer } from '../Renderer';
import type { IRenderingContext } from '../IRenderer';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -7,0 +7,0 @@ * System that manages the multisample property on the WebGL renderer

import { GLBuffer } from './GLBuffer';
import type { BUFFER_TYPE } from '@pixi/constants';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { IRenderingContext } from '../IRenderer';
import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { Buffer } from './Buffer';
import type { ISystem } from '../system/ISystem';
import type { IRenderingContext } from '../IRenderer';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { BUFFER_TYPE } from '@pixi/constants';
/**

@@ -9,0 +9,0 @@ * System plugin to the renderer to manage buffers.

@@ -5,4 +5,4 @@ 'use strict';

var extensions = require('@pixi/extensions');
var GLBuffer = require('./GLBuffer.js');
var extensions = require('@pixi/extensions');

@@ -9,0 +9,0 @@ class BufferSystem {

@@ -0,4 +1,4 @@

import { Runner } from '@pixi/runner';
import { Attribute } from './Attribute';
import { Buffer } from './Buffer';
import { Runner } from '@pixi/runner';
import type { TYPES } from '@pixi/constants';

@@ -5,0 +5,0 @@ import type { IArrayBuffer } from './Buffer';

@@ -5,8 +5,8 @@ 'use strict';

var constants = require('@pixi/constants');
var runner = require('@pixi/runner');
var utils = require('@pixi/utils');
var Attribute = require('./Attribute.js');
var Buffer = require('./Buffer.js');
var interleaveTypedArrays = require('./utils/interleaveTypedArrays.js');
var utils = require('@pixi/utils');
var runner = require('@pixi/runner');
var constants = require('@pixi/constants');

@@ -13,0 +13,0 @@ const byteSizeMap = { 5126: 4, 5123: 2, 5121: 1 };

@@ -1,10 +0,10 @@

import type { GLBuffer } from './GLBuffer';
import type { ISystem } from '../system/ISystem';
import type { DRAW_MODES } from '@pixi/constants';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { IRenderingContext } from '../IRenderer';
import type { Renderer } from '../Renderer';
import type { Program } from '../shader/Program';
import type { Shader } from '../shader/Shader';
import type { ISystem } from '../system/ISystem';
import type { Geometry } from './Geometry';
import type { Shader } from '../shader/Shader';
import type { Program } from '../shader/Program';
import type { IRenderingContext } from '../IRenderer';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { GLBuffer } from './GLBuffer';
/**

@@ -11,0 +11,0 @@ * System plugin to the renderer to manage geometry.

@@ -6,3 +6,2 @@ 'use strict';

var constants = require('@pixi/constants');
require('../settings.js');
var extensions = require('@pixi/extensions');

@@ -9,0 +8,0 @@ var settings = require('@pixi/settings');

@@ -17,75 +17,74 @@ /// <reference path="../global.d.ts" />

export * from '@pixi/ticker';
import * as utils from '@pixi/utils';
export { utils };
export * from './textures/resources';
export * from './systems';
export * from './IRenderer';
export * as utils from '@pixi/utils';
export * from './autoDetectRenderer';
export * from './fragments';
export * from './system/ISystem';
export * from './IRenderer';
export * from './plugin/PluginSystem';
export * from './Renderer';
export * from './framebuffer/Framebuffer';
export * from './framebuffer/GLFramebuffer';
export * from './textures/Texture';
export * from './textures/BaseTexture';
export * from './textures/GLTexture';
export * from './textures/TextureMatrix';
export * from './renderTexture/RenderTexture';
export * from './renderTexture/RenderTexturePool';
export * from './renderTexture/BaseRenderTexture';
export * from './textures/TextureUvs';
export * from './state/State';
export * from './batch/ObjectRenderer';
export * from './background/BackgroundSystem';
export * from './batch/BatchDrawCall';
export * from './batch/BatchGeometry';
export * from './batch/BatchRenderer';
export * from './batch/BatchShaderGenerator';
export * from './batch/BatchGeometry';
export * from './batch/BatchDrawCall';
export * from './batch/BatchSystem';
export * from './batch/BatchTextureArray';
export * from './utils/Quad';
export * from './utils/QuadUv';
export * from './shader/utils/checkMaxIfStatementsInShader';
export * from './shader/utils/generateUniformBufferSync';
export * from './shader/utils/generateProgram';
export * from './shader/utils/getTestContext';
export * from './shader/utils/uniformParsers';
export * from './shader/utils/unsafeEvalSupported';
export * from './shader/GLProgram';
export * from './shader/Program';
export * from './shader/Shader';
export * from './shader/UniformGroup';
export * from './mask/MaskData';
export * from './filters/spriteMask/SpriteMaskFilter';
export * from './batch/ObjectRenderer';
export * from './context/ContextSystem';
export * from './filters/Filter';
export * from './filters/FilterState';
export * from './filters/FilterSystem';
export * from './filters/IFilterTarget';
export * from './filters/spriteMask/SpriteMaskFilter';
export * from './fragments';
export * from './framebuffer/Framebuffer';
export * from './framebuffer/FramebufferSystem';
export * from './framebuffer/GLFramebuffer';
export * from './framebuffer/MultisampleSystem';
export * from './geometry/Attribute';
export * from './geometry/Buffer';
export * from './geometry/BufferSystem';
export * from './geometry/Geometry';
export * from './geometry/GeometrySystem';
export * from './geometry/ViewableBuffer';
export * from './transformFeedback/TransformFeedback';
export * from './IRenderer';
export * from './IRenderer';
export * from './mask/MaskData';
export * from './mask/MaskSystem';
export * from './mask/ScissorSystem';
export * from './mask/StencilSystem';
export * from './mask/ScissorSystem';
export * from './filters/FilterSystem';
export * from './framebuffer/FramebufferSystem';
export * from './renderTexture/RenderTextureSystem';
export * from './textures/TextureSystem';
export * from './plugin/PluginSystem';
export * from './plugin/PluginSystem';
export * from './projection/ProjectionSystem';
export * from './state/StateSystem';
export * from './geometry/GeometrySystem';
export * from './shader/ShaderSystem';
export * from './context/ContextSystem';
export * from './batch/BatchSystem';
export * from './textures/TextureGCSystem';
export * from './geometry/BufferSystem';
export * from './plugin/PluginSystem';
export * from './framebuffer/MultisampleSystem';
export * from './render/ObjectRendererSystem';
export * from './Renderer';
export * from './renderTexture/BaseRenderTexture';
export * from './renderTexture/GenerateTextureSystem';
export * from './renderTexture/GenerateTextureSystem';
export * from './background/BackgroundSystem';
export * from './view/ViewSystem';
export * from './render/ObjectRendererSystem';
export * from './renderTexture/RenderTexture';
export * from './renderTexture/RenderTexturePool';
export * from './renderTexture/RenderTextureSystem';
export * from './shader/GLProgram';
export * from './shader/Program';
export * from './shader/Shader';
export * from './shader/ShaderSystem';
export * from './shader/UniformGroup';
export * from './shader/utils/checkMaxIfStatementsInShader';
export * from './shader/utils/generateProgram';
export * from './shader/utils/generateUniformBufferSync';
export * from './shader/utils/getTestContext';
export * from './shader/utils/uniformParsers';
export * from './shader/utils/unsafeEvalSupported';
export * from './startup/StartupSystem';
export * from './state/State';
export * from './state/StateSystem';
export * from './system/ISystem';
export * from './systems';
export * from './textures/BaseTexture';
export * from './textures/GLTexture';
export * from './textures/resources';
export * from './textures/Texture';
export * from './textures/TextureGCSystem';
export * from './textures/TextureMatrix';
export * from './textures/TextureSystem';
export * from './textures/TextureUvs';
export * from './transformFeedback/TransformFeedback';
export * from './transformFeedback/TransformFeedbackSystem';
export * from './utils/Quad';
export * from './utils/QuadUv';
export * from './view/ViewSystem';

@@ -12,85 +12,85 @@ 'use strict';

var ticker = require('@pixi/ticker');
var utils = require('@pixi/utils');
require('./textures/resources/index.js');
require('./systems.js');
require('./IRenderer.js');
var utils$1 = require('@pixi/utils');
var autoDetectRenderer = require('./autoDetectRenderer.js');
var index = require('./fragments/index.js');
require('./system/ISystem.js');
var PluginSystem = require('./plugin/PluginSystem.js');
var Renderer = require('./Renderer.js');
var Framebuffer = require('./framebuffer/Framebuffer.js');
var GLFramebuffer = require('./framebuffer/GLFramebuffer.js');
var Texture = require('./textures/Texture.js');
var BaseTexture = require('./textures/BaseTexture.js');
var GLTexture = require('./textures/GLTexture.js');
var TextureMatrix = require('./textures/TextureMatrix.js');
var RenderTexture = require('./renderTexture/RenderTexture.js');
var RenderTexturePool = require('./renderTexture/RenderTexturePool.js');
var BaseRenderTexture = require('./renderTexture/BaseRenderTexture.js');
var TextureUvs = require('./textures/TextureUvs.js');
var State = require('./state/State.js');
var ObjectRenderer = require('./batch/ObjectRenderer.js');
var BackgroundSystem = require('./background/BackgroundSystem.js');
var BatchDrawCall = require('./batch/BatchDrawCall.js');
var BatchGeometry = require('./batch/BatchGeometry.js');
var BatchRenderer = require('./batch/BatchRenderer.js');
var BatchShaderGenerator = require('./batch/BatchShaderGenerator.js');
var BatchGeometry = require('./batch/BatchGeometry.js');
var BatchDrawCall = require('./batch/BatchDrawCall.js');
var BatchSystem = require('./batch/BatchSystem.js');
var BatchTextureArray = require('./batch/BatchTextureArray.js');
var Quad = require('./utils/Quad.js');
var QuadUv = require('./utils/QuadUv.js');
var checkMaxIfStatementsInShader = require('./shader/utils/checkMaxIfStatementsInShader.js');
var generateUniformBufferSync = require('./shader/utils/generateUniformBufferSync.js');
var generateProgram = require('./shader/utils/generateProgram.js');
var getTestContext = require('./shader/utils/getTestContext.js');
var uniformParsers = require('./shader/utils/uniformParsers.js');
var unsafeEvalSupported = require('./shader/utils/unsafeEvalSupported.js');
var GLProgram = require('./shader/GLProgram.js');
var Program = require('./shader/Program.js');
var Shader = require('./shader/Shader.js');
var UniformGroup = require('./shader/UniformGroup.js');
var MaskData = require('./mask/MaskData.js');
var SpriteMaskFilter = require('./filters/spriteMask/SpriteMaskFilter.js');
var ObjectRenderer = require('./batch/ObjectRenderer.js');
var ContextSystem = require('./context/ContextSystem.js');
var Filter = require('./filters/Filter.js');
var FilterState = require('./filters/FilterState.js');
var FilterSystem = require('./filters/FilterSystem.js');
require('./filters/IFilterTarget.js');
var SpriteMaskFilter = require('./filters/spriteMask/SpriteMaskFilter.js');
var index = require('./fragments/index.js');
var Framebuffer = require('./framebuffer/Framebuffer.js');
var FramebufferSystem = require('./framebuffer/FramebufferSystem.js');
var GLFramebuffer = require('./framebuffer/GLFramebuffer.js');
var MultisampleSystem = require('./framebuffer/MultisampleSystem.js');
var Attribute = require('./geometry/Attribute.js');
var Buffer = require('./geometry/Buffer.js');
var BufferSystem = require('./geometry/BufferSystem.js');
var Geometry = require('./geometry/Geometry.js');
var GeometrySystem = require('./geometry/GeometrySystem.js');
var ViewableBuffer = require('./geometry/ViewableBuffer.js');
var TransformFeedback = require('./transformFeedback/TransformFeedback.js');
require('./IRenderer.js');
var MaskData = require('./mask/MaskData.js');
var MaskSystem = require('./mask/MaskSystem.js');
var ScissorSystem = require('./mask/ScissorSystem.js');
var StencilSystem = require('./mask/StencilSystem.js');
var ScissorSystem = require('./mask/ScissorSystem.js');
var FilterSystem = require('./filters/FilterSystem.js');
var FramebufferSystem = require('./framebuffer/FramebufferSystem.js');
var PluginSystem = require('./plugin/PluginSystem.js');
var ProjectionSystem = require('./projection/ProjectionSystem.js');
var ObjectRendererSystem = require('./render/ObjectRendererSystem.js');
var Renderer = require('./Renderer.js');
var BaseRenderTexture = require('./renderTexture/BaseRenderTexture.js');
var GenerateTextureSystem = require('./renderTexture/GenerateTextureSystem.js');
var RenderTexture = require('./renderTexture/RenderTexture.js');
var RenderTexturePool = require('./renderTexture/RenderTexturePool.js');
var RenderTextureSystem = require('./renderTexture/RenderTextureSystem.js');
var TextureSystem = require('./textures/TextureSystem.js');
var ProjectionSystem = require('./projection/ProjectionSystem.js');
var GLProgram = require('./shader/GLProgram.js');
var Program = require('./shader/Program.js');
var Shader = require('./shader/Shader.js');
var ShaderSystem = require('./shader/ShaderSystem.js');
var UniformGroup = require('./shader/UniformGroup.js');
var checkMaxIfStatementsInShader = require('./shader/utils/checkMaxIfStatementsInShader.js');
var generateProgram = require('./shader/utils/generateProgram.js');
var generateUniformBufferSync = require('./shader/utils/generateUniformBufferSync.js');
var getTestContext = require('./shader/utils/getTestContext.js');
var uniformParsers = require('./shader/utils/uniformParsers.js');
var unsafeEvalSupported = require('./shader/utils/unsafeEvalSupported.js');
var StartupSystem = require('./startup/StartupSystem.js');
var State = require('./state/State.js');
var StateSystem = require('./state/StateSystem.js');
var GeometrySystem = require('./geometry/GeometrySystem.js');
var ShaderSystem = require('./shader/ShaderSystem.js');
var ContextSystem = require('./context/ContextSystem.js');
var BatchSystem = require('./batch/BatchSystem.js');
require('./system/ISystem.js');
require('./systems.js');
var BaseTexture = require('./textures/BaseTexture.js');
var GLTexture = require('./textures/GLTexture.js');
require('./textures/resources/index.js');
var Texture = require('./textures/Texture.js');
var TextureGCSystem = require('./textures/TextureGCSystem.js');
var BufferSystem = require('./geometry/BufferSystem.js');
var MultisampleSystem = require('./framebuffer/MultisampleSystem.js');
var GenerateTextureSystem = require('./renderTexture/GenerateTextureSystem.js');
var BackgroundSystem = require('./background/BackgroundSystem.js');
var TextureMatrix = require('./textures/TextureMatrix.js');
var TextureSystem = require('./textures/TextureSystem.js');
var TextureUvs = require('./textures/TextureUvs.js');
var TransformFeedback = require('./transformFeedback/TransformFeedback.js');
var TransformFeedbackSystem = require('./transformFeedback/TransformFeedbackSystem.js');
var Quad = require('./utils/Quad.js');
var QuadUv = require('./utils/QuadUv.js');
var ViewSystem = require('./view/ViewSystem.js');
var ObjectRendererSystem = require('./render/ObjectRendererSystem.js');
var StartupSystem = require('./startup/StartupSystem.js');
var TransformFeedbackSystem = require('./transformFeedback/TransformFeedbackSystem.js');
var SystemManager = require('./system/SystemManager.js');
var BaseImageResource = require('./textures/resources/BaseImageResource.js');
var Resource = require('./textures/resources/Resource.js');
var BaseImageResource = require('./textures/resources/BaseImageResource.js');
var autoDetectResource = require('./textures/resources/autoDetectResource.js');
var AbstractMultiResource = require('./textures/resources/AbstractMultiResource.js');
var ArrayResource = require('./textures/resources/ArrayResource.js');
var autoDetectResource = require('./textures/resources/autoDetectResource.js');
var BufferResource = require('./textures/resources/BufferResource.js');
var CanvasResource = require('./textures/resources/CanvasResource.js');
var CubeResource = require('./textures/resources/CubeResource.js');
var ImageBitmapResource = require('./textures/resources/ImageBitmapResource.js');
var ImageResource = require('./textures/resources/ImageResource.js');
var SVGResource = require('./textures/resources/SVGResource.js');
var VideoResource = require('./textures/resources/VideoResource.js');
var ImageBitmapResource = require('./textures/resources/ImageBitmapResource.js');
var SystemManager = require('./system/SystemManager.js');

@@ -115,89 +115,89 @@ function _interopNamespace(e) {

var utils__namespace = /*#__PURE__*/_interopNamespace(utils);
var utils__namespace = /*#__PURE__*/_interopNamespace(utils$1);
const VERSION = "7.1.0-alpha";
const VERSION = "7.1.0";
exports.utils = utils__namespace;
exports.autoDetectRenderer = autoDetectRenderer.autoDetectRenderer;
exports.BackgroundSystem = BackgroundSystem.BackgroundSystem;
exports.BatchDrawCall = BatchDrawCall.BatchDrawCall;
exports.BatchGeometry = BatchGeometry.BatchGeometry;
exports.BatchRenderer = BatchRenderer.BatchRenderer;
exports.BatchShaderGenerator = BatchShaderGenerator.BatchShaderGenerator;
exports.BatchSystem = BatchSystem.BatchSystem;
exports.BatchTextureArray = BatchTextureArray.BatchTextureArray;
exports.ObjectRenderer = ObjectRenderer.ObjectRenderer;
exports.ContextSystem = ContextSystem.ContextSystem;
exports.Filter = Filter.Filter;
exports.FilterState = FilterState.FilterState;
exports.FilterSystem = FilterSystem.FilterSystem;
exports.SpriteMaskFilter = SpriteMaskFilter.SpriteMaskFilter;
exports.defaultFilterVertex = index.defaultFilterVertex;
exports.defaultVertex = index.defaultVertex;
exports.Framebuffer = Framebuffer.Framebuffer;
exports.FramebufferSystem = FramebufferSystem.FramebufferSystem;
exports.GLFramebuffer = GLFramebuffer.GLFramebuffer;
exports.MultisampleSystem = MultisampleSystem.MultisampleSystem;
exports.Attribute = Attribute.Attribute;
exports.Buffer = Buffer.Buffer;
exports.BufferSystem = BufferSystem.BufferSystem;
exports.Geometry = Geometry.Geometry;
exports.GeometrySystem = GeometrySystem.GeometrySystem;
exports.ViewableBuffer = ViewableBuffer.ViewableBuffer;
exports.MaskData = MaskData.MaskData;
exports.MaskSystem = MaskSystem.MaskSystem;
exports.ScissorSystem = ScissorSystem.ScissorSystem;
exports.StencilSystem = StencilSystem.StencilSystem;
exports.PluginSystem = PluginSystem.PluginSystem;
exports.ProjectionSystem = ProjectionSystem.ProjectionSystem;
exports.ObjectRendererSystem = ObjectRendererSystem.ObjectRendererSystem;
exports.Renderer = Renderer.Renderer;
exports.Framebuffer = Framebuffer.Framebuffer;
exports.GLFramebuffer = GLFramebuffer.GLFramebuffer;
exports.Texture = Texture.Texture;
exports.BaseTexture = BaseTexture.BaseTexture;
exports.GLTexture = GLTexture.GLTexture;
exports.TextureMatrix = TextureMatrix.TextureMatrix;
exports.BaseRenderTexture = BaseRenderTexture.BaseRenderTexture;
exports.GenerateTextureSystem = GenerateTextureSystem.GenerateTextureSystem;
exports.RenderTexture = RenderTexture.RenderTexture;
exports.RenderTexturePool = RenderTexturePool.RenderTexturePool;
exports.BaseRenderTexture = BaseRenderTexture.BaseRenderTexture;
exports.TextureUvs = TextureUvs.TextureUvs;
exports.State = State.State;
exports.ObjectRenderer = ObjectRenderer.ObjectRenderer;
exports.BatchRenderer = BatchRenderer.BatchRenderer;
exports.BatchShaderGenerator = BatchShaderGenerator.BatchShaderGenerator;
exports.BatchGeometry = BatchGeometry.BatchGeometry;
exports.BatchDrawCall = BatchDrawCall.BatchDrawCall;
exports.BatchTextureArray = BatchTextureArray.BatchTextureArray;
exports.Quad = Quad.Quad;
exports.QuadUv = QuadUv.QuadUv;
exports.RenderTextureSystem = RenderTextureSystem.RenderTextureSystem;
exports.GLProgram = GLProgram.GLProgram;
exports.IGLUniformData = GLProgram.IGLUniformData;
exports.Program = Program.Program;
exports.Shader = Shader.Shader;
exports.ShaderSystem = ShaderSystem.ShaderSystem;
exports.UniformGroup = UniformGroup.UniformGroup;
exports.checkMaxIfStatementsInShader = checkMaxIfStatementsInShader.checkMaxIfStatementsInShader;
exports.generateProgram = generateProgram.generateProgram;
exports.createUBOElements = generateUniformBufferSync.createUBOElements;
exports.generateUniformBufferSync = generateUniformBufferSync.generateUniformBufferSync;
exports.getUBOData = generateUniformBufferSync.getUBOData;
exports.generateProgram = generateProgram.generateProgram;
exports.getTestContext = getTestContext.getTestContext;
exports.uniformParsers = uniformParsers.uniformParsers;
exports.unsafeEvalSupported = unsafeEvalSupported.unsafeEvalSupported;
exports.GLProgram = GLProgram.GLProgram;
exports.IGLUniformData = GLProgram.IGLUniformData;
exports.Program = Program.Program;
exports.Shader = Shader.Shader;
exports.UniformGroup = UniformGroup.UniformGroup;
exports.MaskData = MaskData.MaskData;
exports.SpriteMaskFilter = SpriteMaskFilter.SpriteMaskFilter;
exports.Filter = Filter.Filter;
exports.FilterState = FilterState.FilterState;
exports.Attribute = Attribute.Attribute;
exports.Buffer = Buffer.Buffer;
exports.Geometry = Geometry.Geometry;
exports.ViewableBuffer = ViewableBuffer.ViewableBuffer;
exports.TransformFeedback = TransformFeedback.TransformFeedback;
exports.MaskSystem = MaskSystem.MaskSystem;
exports.StencilSystem = StencilSystem.StencilSystem;
exports.ScissorSystem = ScissorSystem.ScissorSystem;
exports.FilterSystem = FilterSystem.FilterSystem;
exports.FramebufferSystem = FramebufferSystem.FramebufferSystem;
exports.RenderTextureSystem = RenderTextureSystem.RenderTextureSystem;
exports.TextureSystem = TextureSystem.TextureSystem;
exports.ProjectionSystem = ProjectionSystem.ProjectionSystem;
exports.StartupSystem = StartupSystem.StartupSystem;
exports.State = State.State;
exports.StateSystem = StateSystem.StateSystem;
exports.GeometrySystem = GeometrySystem.GeometrySystem;
exports.ShaderSystem = ShaderSystem.ShaderSystem;
exports.ContextSystem = ContextSystem.ContextSystem;
exports.BatchSystem = BatchSystem.BatchSystem;
exports.BaseTexture = BaseTexture.BaseTexture;
exports.GLTexture = GLTexture.GLTexture;
exports.Texture = Texture.Texture;
exports.TextureGCSystem = TextureGCSystem.TextureGCSystem;
exports.BufferSystem = BufferSystem.BufferSystem;
exports.MultisampleSystem = MultisampleSystem.MultisampleSystem;
exports.GenerateTextureSystem = GenerateTextureSystem.GenerateTextureSystem;
exports.BackgroundSystem = BackgroundSystem.BackgroundSystem;
exports.TextureMatrix = TextureMatrix.TextureMatrix;
exports.TextureSystem = TextureSystem.TextureSystem;
exports.TextureUvs = TextureUvs.TextureUvs;
exports.TransformFeedback = TransformFeedback.TransformFeedback;
exports.TransformFeedbackSystem = TransformFeedbackSystem.TransformFeedbackSystem;
exports.Quad = Quad.Quad;
exports.QuadUv = QuadUv.QuadUv;
exports.ViewSystem = ViewSystem.ViewSystem;
exports.ObjectRendererSystem = ObjectRendererSystem.ObjectRendererSystem;
exports.StartupSystem = StartupSystem.StartupSystem;
exports.TransformFeedbackSystem = TransformFeedbackSystem.TransformFeedbackSystem;
exports.SystemManager = SystemManager.SystemManager;
exports.BaseImageResource = BaseImageResource.BaseImageResource;
exports.Resource = Resource.Resource;
exports.BaseImageResource = BaseImageResource.BaseImageResource;
exports.AbstractMultiResource = AbstractMultiResource.AbstractMultiResource;
exports.ArrayResource = ArrayResource.ArrayResource;
exports.INSTALLED = autoDetectResource.INSTALLED;
exports.autoDetectResource = autoDetectResource.autoDetectResource;
exports.AbstractMultiResource = AbstractMultiResource.AbstractMultiResource;
exports.ArrayResource = ArrayResource.ArrayResource;
exports.BufferResource = BufferResource.BufferResource;
exports.CanvasResource = CanvasResource.CanvasResource;
exports.CubeResource = CubeResource.CubeResource;
exports.ImageBitmapResource = ImageBitmapResource.ImageBitmapResource;
exports.ImageResource = ImageResource.ImageResource;
exports.SVGResource = SVGResource.SVGResource;
exports.VideoResource = VideoResource.VideoResource;
exports.ImageBitmapResource = ImageBitmapResource.ImageBitmapResource;
exports.SystemManager = SystemManager.SystemManager;
exports.VERSION = VERSION;

@@ -204,0 +204,0 @@ Object.keys(constants).forEach(function (k) {

@@ -52,5 +52,12 @@ import type { RENDERER_TYPE } from '@pixi/constants';

}
/**
* Renderer options supplied to constructor.
* @memberof PIXI
*/
export interface IRendererOptions extends GlobalMixins.IRendererOptions {
/** Width of the view */
width?: number;
/** Height of the view */
height?: number;
/** Canvas or OffscreenCanvas to use, will be created if omitted */
view?: ICanvas;

@@ -62,13 +69,25 @@ /**

useContextAlpha?: boolean | 'notMultiplied';
/** Consider the resolution when resizing the view */
autoDensity?: boolean;
/** Antialias turn on for WebGL, impacts performance */
antialias?: boolean;
/** Base resolution for the Renderer */
resolution?: number;
/** Preserve the drawing buffer */
preserveDrawingBuffer?: boolean;
/** Clear the draw before render */
clearBeforeRender?: boolean;
/** The background color, can be number (`0xff0000`) or string (`#f00`) */
backgroundColor?: number | string;
/** Alias for `backgroundColor` */
background?: number | string;
/** Background color alpha */
backgroundAlpha?: number;
/** Premultiply alpha */
premultipliedAlpha?: boolean;
/** Power preference, for multiple GPUs */
powerPreference?: WebGLPowerPreference;
/** User-proviced rendering context object */
context?: IRenderingContext;
/** Console log the version and type of Renderer */
hello?: boolean;

@@ -90,3 +109,3 @@ }

render(displayObject: IRenderableObject, options?: IRendererRenderOptions): void;
generateTexture(displayObject: IRenderableObject, options?: IGenerateTextureOptions): void;
generateTexture(displayObject: IRenderableObject, options?: IGenerateTextureOptions): RenderTexture;
destroy(removeView?: boolean): void;

@@ -100,2 +119,7 @@ clear(): void;

readonly type: RENDERER_TYPE;
/**
* The options passed in to create a new instance of the renderer.
* @type {PIXI.IRendererOptions}
*/
readonly options: IRendererOptions;
/** When logging Pixi to the console, this is the name we will show */

@@ -102,0 +126,0 @@ readonly rendererLogId: string;

@@ -0,4 +1,4 @@

import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { MaskData } from './MaskData';
import type { Renderer } from '../Renderer';
/**

@@ -5,0 +5,0 @@ * System plugin to the renderer to manage specific types of masking operations.

import { MASK_TYPES } from '@pixi/constants';
import type { COLOR_MASK_BITS, MSAA_QUALITY } from '@pixi/constants';
import type { ISpriteMaskFilter } from '@pixi/core';
import type { COLOR_MASK_BITS, MSAA_QUALITY } from '@pixi/constants';
import type { Rectangle, Matrix } from '@pixi/math';
import type { Matrix, Rectangle } from '@pixi/math';
import type { IFilterTarget } from '../filters/IFilterTarget';

@@ -6,0 +6,0 @@ import type { Renderer } from '../Renderer';

@@ -0,7 +1,7 @@

import { SpriteMaskFilter } from '../filters/spriteMask/SpriteMaskFilter';
import { MaskData } from './MaskData';
import { SpriteMaskFilter } from '../filters/spriteMask/SpriteMaskFilter';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { IMaskTarget } from './MaskData';
import type { Renderer } from '../Renderer';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -8,0 +8,0 @@ * System plugin to the renderer to manage masks.

@@ -5,6 +5,6 @@ 'use strict';

var MaskData = require('./MaskData.js');
var SpriteMaskFilter = require('../filters/spriteMask/SpriteMaskFilter.js');
var constants = require('@pixi/constants');
var extensions = require('@pixi/extensions');
var SpriteMaskFilter = require('../filters/spriteMask/SpriteMaskFilter.js');
var MaskData = require('./MaskData.js');

@@ -11,0 +11,0 @@ class MaskSystem {

import { AbstractMaskSystem } from './AbstractMaskSystem';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { Renderer } from '../Renderer';
import type { MaskData } from './MaskData';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -6,0 +6,0 @@ * System plugin to the renderer to manage scissor masking.

@@ -5,6 +5,6 @@ 'use strict';

var AbstractMaskSystem = require('./AbstractMaskSystem.js');
var extensions = require('@pixi/extensions');
var math = require('@pixi/math');
var extensions = require('@pixi/extensions');
var settings = require('@pixi/settings');
var AbstractMaskSystem = require('./AbstractMaskSystem.js');

@@ -11,0 +11,0 @@ const tempMatrix = new math.Matrix();

import { AbstractMaskSystem } from './AbstractMaskSystem';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { Renderer } from '../Renderer';
import type { IMaskTarget, MaskData } from './MaskData';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -6,0 +6,0 @@ * System plugin to the renderer to manage stencils (used for masks).

@@ -5,5 +5,5 @@ 'use strict';

var AbstractMaskSystem = require('./AbstractMaskSystem.js');
var extensions = require('@pixi/extensions');
var settings = require('@pixi/settings');
var AbstractMaskSystem = require('./AbstractMaskSystem.js');

@@ -10,0 +10,0 @@ class StencilSystem extends AbstractMaskSystem.AbstractMaskSystem {

@@ -6,2 +6,3 @@ 'use strict';

var extensions = require('@pixi/extensions');
var utils = require('@pixi/utils');

@@ -12,2 +13,25 @@ class PluginSystem {

this.plugins = {};
Object.defineProperties(this.plugins, {
extract: {
enumerable: false,
get() {
utils.deprecation("7.0.0", "renderer.plugins.extract has moved to renderer.extract");
return renderer.extract;
}
},
prepare: {
enumerable: false,
get() {
utils.deprecation("7.0.0", "renderer.plugins.prepare has moved to renderer.prepare");
return renderer.prepare;
}
},
interaction: {
enumerable: false,
get() {
utils.deprecation("7.0.0", "renderer.plugins.interaction has been deprecated, use renderer.events");
return renderer.events;
}
}
});
}

@@ -14,0 +38,0 @@ init(staticMap) {

import { Matrix } from '@pixi/math';
import type { ISystem } from '../system/ISystem';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { Rectangle } from '@pixi/math';
import type { Renderer } from '../Renderer';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { ISystem } from '../system/ISystem';
/**

@@ -7,0 +7,0 @@ * System plugin to the renderer to manage the projection matrix.

@@ -5,4 +5,4 @@ 'use strict';

var extensions = require('@pixi/extensions');
var math = require('@pixi/math');
var extensions = require('@pixi/extensions');

@@ -9,0 +9,0 @@ class ProjectionSystem {

@@ -0,5 +1,5 @@

import type { ExtensionMetadata } from '@pixi/extensions';
import type { IRenderableObject, IRendererRenderOptions } from '../IRenderer';
import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { Renderer } from '../Renderer';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -6,0 +6,0 @@ * system that provides a render function that focussing on rendering Pixi Scene Graph objects

@@ -0,36 +1,34 @@

import { UniformGroup } from './shader/UniformGroup';
import { SystemManager } from './system/SystemManager';
import type { MSAA_QUALITY, RENDERER_TYPE } from '@pixi/constants';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { Rectangle } from '@pixi/math';
import type { ICanvas } from '@pixi/settings';
import type { BackgroundSystem } from './background/BackgroundSystem';
import type { BatchSystem } from './batch/BatchSystem';
import type { ContextSystem } from './context/ContextSystem';
import type { FilterSystem } from './filters/FilterSystem';
import type { FramebufferSystem } from './framebuffer/FramebufferSystem';
import type { MultisampleSystem } from './framebuffer/MultisampleSystem';
import type { BufferSystem } from './geometry/BufferSystem';
import type { GeometrySystem } from './geometry/GeometrySystem';
import type { IRenderableObject, IRenderer, IRendererOptions, IRendererRenderOptions, IRenderingContext } from './IRenderer';
import type { MaskSystem } from './mask/MaskSystem';
import type { ScissorSystem } from './mask/ScissorSystem';
import type { StencilSystem } from './mask/StencilSystem';
import type { ScissorSystem } from './mask/ScissorSystem';
import type { FilterSystem } from './filters/FilterSystem';
import type { FramebufferSystem } from './framebuffer/FramebufferSystem';
import type { IRendererPlugins, PluginSystem } from './plugin/PluginSystem';
import type { ProjectionSystem } from './projection/ProjectionSystem';
import type { ObjectRendererSystem } from './render/ObjectRendererSystem';
import type { GenerateTextureSystem, IGenerateTextureOptions } from './renderTexture/GenerateTextureSystem';
import type { RenderTexture } from './renderTexture/RenderTexture';
import type { RenderTextureSystem } from './renderTexture/RenderTextureSystem';
import type { TextureSystem } from './textures/TextureSystem';
import type { ProjectionSystem } from './projection/ProjectionSystem';
import type { ShaderSystem } from './shader/ShaderSystem';
import type { StartupSystem } from './startup/StartupSystem';
import type { StateSystem } from './state/StateSystem';
import type { GeometrySystem } from './geometry/GeometrySystem';
import type { ShaderSystem } from './shader/ShaderSystem';
import type { ContextSystem } from './context/ContextSystem';
import type { BatchSystem } from './batch/BatchSystem';
import type { TextureGCSystem } from './textures/TextureGCSystem';
import type { MSAA_QUALITY, RENDERER_TYPE } from '@pixi/constants';
import { UniformGroup } from './shader/UniformGroup';
import type { Rectangle } from '@pixi/math';
import type { BufferSystem } from './geometry/BufferSystem';
import type { RenderTexture } from './renderTexture/RenderTexture';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { PluginSystem, IRendererPlugins } from './plugin/PluginSystem';
import type { MultisampleSystem } from './framebuffer/MultisampleSystem';
import type { IGenerateTextureOptions, GenerateTextureSystem } from './renderTexture/GenerateTextureSystem';
import type { BackgroundSystem } from './background/BackgroundSystem';
import type { TextureSystem } from './textures/TextureSystem';
import type { TransformFeedbackSystem } from './transformFeedback/TransformFeedbackSystem';
import type { ViewSystem } from './view/ViewSystem';
import type { ObjectRendererSystem } from './render/ObjectRendererSystem';
import type { ICanvas } from '@pixi/settings';
import { SystemManager } from './system/SystemManager';
import type { IRenderableObject, IRenderer, IRendererOptions, IRendererRenderOptions, IRenderingContext } from './IRenderer';
import type { StartupSystem } from './startup/StartupSystem';
import type { TransformFeedbackSystem } from './transformFeedback/TransformFeedbackSystem';
export interface Renderer extends GlobalMixins.Renderer {
}
export interface Renderer extends GlobalMixins.Renderer {
}
/**

@@ -96,2 +94,7 @@ * The Renderer draws the scene and all its content onto a WebGL enabled canvas.

/**
* Options passed to the constructor.
* @type {PIXI.IRendererOptions}
*/
readonly options: IRendererOptions;
/**
* WebGL context, set by {@link PIXI.ContextSystem this.context}.

@@ -240,5 +243,3 @@ * @readonly

* @param {PIXI.ICanvas} [options.view] - The canvas to use as a view, optional.
* @param {boolean} [options.useContextAlpha=true] - Pass-through value for canvas' context `alpha` property.
* If you want to set transparency, please use `backgroundAlpha`. This option is for cases where the
* canvas needs to be opaque, possibly for performance reasons on some older devices.
* @param {boolean} [options.premultipliedAlpha=true] - Set to `false` to disable premultipliedAlpha.
* @param {boolean} [options.autoDensity=false] - Resizes renderer view in CSS pixels to allow for

@@ -292,3 +293,3 @@ * resolutions other than 1.

* @param [removeView=false] - Removes the Canvas element from the DOM.
* See: https://github.com/pixijs/pixi.js/issues/2233
* See: https://github.com/pixijs/pixijs/issues/2233
*/

@@ -295,0 +296,0 @@ destroy(removeView?: boolean): void;

@@ -5,7 +5,7 @@ 'use strict';

var extensions = require('@pixi/extensions');
var math = require('@pixi/math');
var settings = require('@pixi/settings');
var utils = require('@pixi/utils');
var UniformGroup = require('./shader/UniformGroup.js');
var math = require('@pixi/math');
var extensions = require('@pixi/extensions');
var settings = require('@pixi/settings');
var SystemManager = require('./system/SystemManager.js');

@@ -61,2 +61,7 @@

this.setup(systemConfig);
if ("useContextAlpha" in options) {
utils.deprecation("7.0.0", "options.useContextAlpha is deprecated, use options.premultipliedAlpha and options.backgroundAlpha instead");
options.premultipliedAlpha = options.useContextAlpha && options.useContextAlpha !== "notMultiplied";
options.backgroundAlpha = options.useContextAlpha === false ? 1 : options.backgroundAlpha;
}
const startupOptions = {

@@ -81,3 +86,3 @@ hello: options.hello,

powerPreference: options.powerPreference,
premultipliedAlpha: options.premultipliedAlpha ?? (options.useContextAlpha && options.useContextAlpha !== "notMultiplied"),
premultipliedAlpha: options.premultipliedAlpha,
preserveDrawingBuffer: options.preserveDrawingBuffer

@@ -87,2 +92,3 @@ }

this.startup.run(startupOptions);
this.options = options;
}

@@ -154,23 +160,31 @@ static test(options) {

get clearBeforeRender() {
utils.deprecation("7.0.0", "renderer.clearBeforeRender has been deprecated, please use renderer.background.clearBeforeRender instead.");
return this.background.clearBeforeRender;
}
get useContextAlpha() {
utils.deprecation("7.0.0", "renderer.useContextAlpha has been deprecated, please use renderer.context.premultipliedAlpha instead.");
return this.context.useContextAlpha;
}
get preserveDrawingBuffer() {
utils.deprecation("7.0.0", "renderer.preserveDrawingBuffer has been deprecated, we cannot truly know this unless pixi created the context");
return this.context.preserveDrawingBuffer;
}
get backgroundColor() {
utils.deprecation("7.0.0", "renderer.backgroundColor has been deprecated, use renderer.background.color instead.");
return this.background.color;
}
set backgroundColor(value) {
utils.deprecation("7.0.0", "renderer.backgroundColor has been deprecated, use renderer.background.color instead.");
this.background.color = value;
}
get backgroundAlpha() {
utils.deprecation("7.0.0", "renderer.backgroundAlpha has been deprecated, use renderer.background.alpha instead.");
return this.background.color;
}
set backgroundAlpha(value) {
utils.deprecation("7.0.0", "renderer.backgroundAlpha has been deprecated, use renderer.background.alpha instead.");
this.background.alpha = value;
}
get powerPreference() {
utils.deprecation("7.0.0", "renderer.powerPreference has been deprecated, we can only know this if pixi creates the context");
return this.context.powerPreference;

@@ -177,0 +191,0 @@ }

@@ -0,5 +1,5 @@

import { Framebuffer } from '../framebuffer/Framebuffer';
import { BaseTexture } from '../textures/BaseTexture';
import { Framebuffer } from '../framebuffer/Framebuffer';
import type { MaskData } from '../mask/MaskData';
import type { IBaseTextureOptions } from '../textures/BaseTexture';
import type { MaskData } from '../mask/MaskData';
export interface BaseRenderTexture extends GlobalMixins.BaseRenderTexture, BaseTexture {

@@ -6,0 +6,0 @@ }

@@ -5,5 +5,5 @@ 'use strict';

var constants = require('@pixi/constants');
var Framebuffer = require('../framebuffer/Framebuffer.js');
var BaseTexture = require('../textures/BaseTexture.js');
var Framebuffer = require('../framebuffer/Framebuffer.js');
var constants = require('@pixi/constants');

@@ -10,0 +10,0 @@ class BaseRenderTexture extends BaseTexture.BaseTexture {

@@ -0,7 +1,7 @@

import { RenderTexture } from './RenderTexture';
import type { MSAA_QUALITY, SCALE_MODES } from '@pixi/constants';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { Rectangle } from '@pixi/math';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { IRenderer, IRenderableObject } from '../IRenderer';
import type { IRenderableObject, IRenderer } from '../IRenderer';
import type { ISystem } from '../system/ISystem';
import { RenderTexture } from './RenderTexture';
export interface IGenerateTextureOptions {

@@ -8,0 +8,0 @@ /** The scale mode of the texture. Optional, defaults to `PIXI.settings.SCALE_MODE`. */

@@ -5,4 +5,4 @@ 'use strict';

var extensions = require('@pixi/extensions');
var math = require('@pixi/math');
var extensions = require('@pixi/extensions');
var RenderTexture = require('./RenderTexture.js');

@@ -9,0 +9,0 @@

@@ -0,7 +1,7 @@

import { Texture } from '../textures/Texture';
import { BaseRenderTexture } from './BaseRenderTexture';
import { Texture } from '../textures/Texture';
import type { MSAA_QUALITY } from '@pixi/constants';
import type { Rectangle } from '@pixi/math';
import type { Framebuffer } from '../framebuffer/Framebuffer';
import type { IBaseTextureOptions } from '../textures/BaseTexture';
import type { MSAA_QUALITY } from '@pixi/constants';
/**

@@ -8,0 +8,0 @@ * A RenderTexture is a special texture that allows any PixiJS display object to be rendered to it.

@@ -5,4 +5,4 @@ 'use strict';

var Texture = require('../textures/Texture.js');
var BaseRenderTexture = require('./BaseRenderTexture.js');
var Texture = require('../textures/Texture.js');

@@ -9,0 +9,0 @@ class RenderTexture extends Texture.Texture {

@@ -0,5 +1,5 @@

import { MSAA_QUALITY } from '@pixi/constants';
import { RenderTexture } from './RenderTexture';
import { MSAA_QUALITY } from '@pixi/constants';
import type { ISize } from '@pixi/math';
import type { IBaseTextureOptions } from '../textures/BaseTexture';
import type { ISize } from '@pixi/math';
/**

@@ -84,5 +84,5 @@ * Texture pool, used by FilterSystem and plugins.

* Key that is used to store fullscreen renderTextures in a pool
* @constant
* @readonly
*/
static SCREEN_KEY: number;
}

@@ -5,6 +5,6 @@ 'use strict';

var constants = require('@pixi/constants');
var utils = require('@pixi/utils');
var BaseRenderTexture = require('./BaseRenderTexture.js');
var RenderTexture = require('./RenderTexture.js');
var BaseRenderTexture = require('./BaseRenderTexture.js');
var utils = require('@pixi/utils');
var constants = require('@pixi/constants');

@@ -11,0 +11,0 @@ class RenderTexturePool {

import { Rectangle } from '@pixi/math';
import type { BUFFER_BITS } from '@pixi/constants';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { MaskData } from '../mask/MaskData';
import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { Renderer } from '../Renderer';
import type { RenderTexture } from './RenderTexture';
import type { MaskData } from '../mask/MaskData';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -9,0 +9,0 @@ * System plugin to the renderer to manage render textures.

@@ -5,4 +5,4 @@ 'use strict';

var extensions = require('@pixi/extensions');
var math = require('@pixi/math');
var extensions = require('@pixi/extensions');

@@ -9,0 +9,0 @@ const tempRect = new math.Rectangle();

@@ -1,2 +0,1 @@

import { settings } from '@pixi/settings';
export { settings };
export {};
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var constants = require('@pixi/constants');
var settings = require('@pixi/settings');
var constants = require('@pixi/constants');
var utils = require('@pixi/utils');
var BatchRenderer = require('./batch/BatchRenderer.js');
var Filter = require('./filters/Filter.js');
var Program = require('./shader/Program.js');
require('./systems.js');
var BaseTexture = require('./textures/BaseTexture.js');
var TextureGCSystem = require('./textures/TextureGCSystem.js');
settings.settings.PREFER_ENV = constants.ENV.WEBGL2;
settings.settings.STRICT_TEXTURE_CACHE = false;
Object.defineProperty(exports, 'settings', {
enumerable: true,
get: function () { return settings.settings; }
Object.defineProperties(settings.settings, {
WRAP_MODE: {
get() {
return BaseTexture.BaseTexture.defaultOptions.wrapMode;
},
set(value) {
utils.deprecation("7.1.0", "settings.WRAP_MODE is deprecated, use BaseTeture.defaultOptions.wrapMode");
BaseTexture.BaseTexture.defaultOptions.wrapMode = value;
}
},
SCALE_MODE: {
get() {
return BaseTexture.BaseTexture.defaultOptions.scaleMode;
},
set(value) {
utils.deprecation("7.1.0", "settings.SCALE_MODE is deprecated, use BaseTeture.defaultOptions.scaleMode");
BaseTexture.BaseTexture.defaultOptions.scaleMode = value;
}
},
MIPMAP_TEXTURES: {
get() {
return BaseTexture.BaseTexture.defaultOptions.mipmap;
},
set(value) {
utils.deprecation("7.1.0", "settings.MIPMAP_TEXTURES is deprecated, use BaseTeture.defaultOptions.mipmap");
BaseTexture.BaseTexture.defaultOptions.mipmap = value;
}
},
ANISOTROPIC_LEVEL: {
get() {
return BaseTexture.BaseTexture.defaultOptions.anisotropicLevel;
},
set(value) {
utils.deprecation("7.1.0", "settings.ANISOTROPIC_LEVEL is deprecated, use BaseTeture.defaultOptions.anisotropicLevel");
BaseTexture.BaseTexture.defaultOptions.anisotropicLevel = value;
}
},
FILTER_RESOLUTION: {
get() {
utils.deprecation("7.1.0", "settings.FILTER_RESOLUTION is deprecated, use Filter.defaultResolution");
return Filter.Filter.defaultResolution;
},
set(value) {
Filter.Filter.defaultResolution = value;
}
},
FILTER_MULTISAMPLE: {
get() {
utils.deprecation("7.1.0", "settings.FILTER_MULTISAMPLE is deprecated, use Filter.defaultMultisample");
return Filter.Filter.defaultMultisample;
},
set(value) {
Filter.Filter.defaultMultisample = value;
}
},
SPRITE_MAX_TEXTURES: {
get() {
return BatchRenderer.BatchRenderer.defaultMaxTextures;
},
set(value) {
utils.deprecation("7.1.0", "settings.SPRITE_MAX_TEXTURES is deprecated, use BatchRenderer.defaultMaxTextures");
BatchRenderer.BatchRenderer.defaultMaxTextures = value;
}
},
SPRITE_BATCH_SIZE: {
get() {
return BatchRenderer.BatchRenderer.defaultBatchSize;
},
set(value) {
utils.deprecation("7.1.0", "settings.SPRITE_BATCH_SIZE is deprecated, use BatchRenderer.defaultBatchSize");
BatchRenderer.BatchRenderer.defaultBatchSize = value;
}
},
CAN_UPLOAD_SAME_BUFFER: {
get() {
return BatchRenderer.BatchRenderer.canUploadSameBuffer;
},
set(value) {
utils.deprecation("7.1.0", "settings.CAN_UPLOAD_SAME_BUFFER is deprecated, use BatchRenderer.canUploadSameBuffer");
BatchRenderer.BatchRenderer.canUploadSameBuffer = value;
}
},
GC_MODE: {
get() {
return TextureGCSystem.TextureGCSystem.defaultMode;
},
set(value) {
utils.deprecation("7.1.0", "settings.GC_MODE is deprecated, use TextureGCSystem.defaultMode");
TextureGCSystem.TextureGCSystem.defaultMode = value;
}
},
GC_MAX_IDLE: {
get() {
return TextureGCSystem.TextureGCSystem.defaultMaxIdle;
},
set(value) {
utils.deprecation("7.1.0", "settings.GC_MAX_IDLE is deprecated, use TextureGCSystem.defaultMaxIdle");
TextureGCSystem.TextureGCSystem.defaultMaxIdle = value;
}
},
GC_MAX_CHECK_COUNT: {
get() {
return TextureGCSystem.TextureGCSystem.defaultCheckCountMax;
},
set(value) {
utils.deprecation("7.1.0", "settings.GC_MAX_CHECK_COUNT is deprecated, use TextureGCSystem.defaultCheckCountMax");
TextureGCSystem.TextureGCSystem.defaultCheckCountMax = value;
}
},
PRECISION_VERTEX: {
get() {
return Program.Program.defaultVertexPrecision;
},
set(value) {
utils.deprecation("7.1.0", "settings.PRECISION_VERTEX is deprecated, use Program.defaultVertexPrecision");
Program.Program.defaultVertexPrecision = value;
}
},
PRECISION_FRAGMENT: {
get() {
return Program.Program.defaultFragmentPrecision;
},
set(value) {
utils.deprecation("7.1.0", "settings.PRECISION_FRAGMENT is deprecated, use Program.defaultFragmentPrecision");
Program.Program.defaultFragmentPrecision = value;
}
}
});
//# sourceMappingURL=settings.js.map

@@ -0,1 +1,2 @@

import { PRECISION } from '@pixi/constants';
import type { GLProgram } from './GLProgram';

@@ -27,2 +28,17 @@ export interface IAttributeData {

export declare class Program {
/**
* Default specify float precision in vertex shader.
* @static
* @type {PIXI.PRECISION}
* @default PIXI.PRECISION.HIGH
*/
static defaultVertexPrecision: PRECISION;
/**
* Default specify float precision in fragment shader.
* iOS is best set at highp due to https://github.com/pixijs/pixijs/issues/3742
* @static
* @type {PIXI.PRECISION}
* @default PIXI.PRECISION.MEDIUM
*/
static defaultFragmentPrecision: PRECISION;
id: number;

@@ -56,3 +72,3 @@ /** Source code for the vertex shader. */

* The default vertex shader source.
* @constant
* @readonly
*/

@@ -62,3 +78,3 @@ static get defaultVertexSrc(): string;

* The default fragment shader source.
* @constant
* @readonly
*/

@@ -65,0 +81,0 @@ static get defaultFragmentSrc(): string;

@@ -5,8 +5,7 @@ 'use strict';

require('./utils/index.js');
var constants = require('@pixi/constants');
var utils = require('@pixi/utils');
var defaultProgram$1 = require('./defaultProgram.js');
var defaultProgram = require('./defaultProgram2.js');
var settings = require('@pixi/settings');
var constants = require('@pixi/constants');
require('./utils/index.js');
var setPrecision = require('./utils/setPrecision.js');

@@ -17,8 +16,8 @@ var getMaxFragmentPrecision = require('./utils/getMaxFragmentPrecision.js');

const nameCache = {};
class Program {
const _Program = class {
constructor(vertexSrc, fragmentSrc, name = "pixi-shader", extra = {}) {
this.extra = {};
this.id = UID++;
this.vertexSrc = vertexSrc || Program.defaultVertexSrc;
this.fragmentSrc = fragmentSrc || Program.defaultFragmentSrc;
this.vertexSrc = vertexSrc || _Program.defaultVertexSrc;
this.fragmentSrc = fragmentSrc || _Program.defaultFragmentSrc;
this.vertexSrc = this.vertexSrc.trim();

@@ -39,4 +38,4 @@ this.fragmentSrc = this.fragmentSrc.trim();

${this.fragmentSrc}`;
this.vertexSrc = setPrecision.setPrecision(this.vertexSrc, settings.settings.PRECISION_VERTEX, constants.PRECISION.HIGH);
this.fragmentSrc = setPrecision.setPrecision(this.fragmentSrc, settings.settings.PRECISION_FRAGMENT, getMaxFragmentPrecision.getMaxFragmentPrecision());
this.vertexSrc = setPrecision.setPrecision(this.vertexSrc, _Program.defaultVertexPrecision, constants.PRECISION.HIGH);
this.fragmentSrc = setPrecision.setPrecision(this.fragmentSrc, _Program.defaultFragmentPrecision, getMaxFragmentPrecision.getMaxFragmentPrecision());
}

@@ -56,9 +55,12 @@ this.glPrograms = {};

if (!program) {
utils.ProgramCache[key] = program = new Program(vertexSrc, fragmentSrc, name);
utils.ProgramCache[key] = program = new _Program(vertexSrc, fragmentSrc, name);
}
return program;
}
}
};
let Program = _Program;
Program.defaultVertexPrecision = constants.PRECISION.HIGH;
Program.defaultFragmentPrecision = utils.isMobile.apple.device ? constants.PRECISION.HIGH : constants.PRECISION.MEDIUM;
exports.Program = Program;
//# sourceMappingURL=Program.js.map

@@ -0,5 +1,5 @@

import { Runner } from '@pixi/runner';
import { Program } from './Program';
import { UniformGroup } from './UniformGroup';
import type { Dict } from '@pixi/utils';
import { Runner } from '@pixi/runner';
/**

@@ -6,0 +6,0 @@ * A helper class for shaders.

@@ -5,5 +5,5 @@ 'use strict';

var runner = require('@pixi/runner');
var Program = require('./Program.js');
var UniformGroup = require('./UniformGroup.js');
var runner = require('@pixi/runner');

@@ -10,0 +10,0 @@ class Shader {

@@ -0,11 +1,11 @@

import type { ExtensionMetadata } from '@pixi/extensions';
import type { Dict } from '@pixi/utils';
import type { IRenderingContext } from '../IRenderer';
import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { GLProgram } from './GLProgram';
import type { ISystem } from '../system/ISystem';
import type { Renderer } from '../Renderer';
import type { Program } from './Program';
import type { Shader } from './Shader';
import type { Program } from './Program';
import type { UniformGroup } from './UniformGroup';
import type { Dict } from '@pixi/utils';
import type { UniformsSyncCallback } from './utils';
import type { IRenderingContext } from '../IRenderer';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -12,0 +12,0 @@ * System plugin to the renderer to manage shaders.

@@ -5,6 +5,6 @@ 'use strict';

var extensions = require('@pixi/extensions');
require('./utils/index.js');
var generateProgram = require('./utils/generateProgram.js');
var generateUniformBufferSync = require('./utils/generateUniformBufferSync.js');
var generateProgram = require('./utils/generateProgram.js');
var extensions = require('@pixi/extensions');
var unsafeEvalSupported = require('./utils/unsafeEvalSupported.js');

@@ -11,0 +11,0 @@ var generateUniformsSync = require('./utils/generateUniformsSync.js');

@@ -0,3 +1,3 @@

import { Buffer } from '../geometry/Buffer';
import type { Dict } from '@pixi/utils';
import { Buffer } from '../geometry/Buffer';
import type { UniformsSyncCallback } from './utils';

@@ -4,0 +4,0 @@ /**

@@ -1,4 +0,4 @@

import type { Program } from '../Program';
import { GLProgram } from '../GLProgram';
import type { IRenderingContext } from '../../IRenderer';
import type { Program } from '../Program';
/**

@@ -5,0 +5,0 @@ * generates a WebGL Program object from a high level Pixi Program.

@@ -21,2 +21,3 @@ 'use strict';

if (typeof gl.transformFeedbackVaryings !== "function") {
console.warn(`TransformFeedback is not supported but TransformFeedbackVaryings are given.`);
} else {

@@ -23,0 +24,0 @@ gl.transformFeedbackVaryings(webGLProgram, transformFeedbackVaryings.names, transformFeedbackVaryings.bufferMode === "separate" ? gl.SEPARATE_ATTRIBS : gl.INTERLEAVED_ATTRIBS);

@@ -0,4 +1,4 @@

import type { Dict } from '@pixi/utils';
import type { UniformGroup } from '../UniformGroup';
import type { Dict } from '@pixi/utils';
export declare type UniformsSyncCallback = (...args: any[]) => void;
export declare function generateUniformsSync(group: UniformGroup, uniformData: Dict<any>): UniformsSyncCallback;

@@ -5,4 +5,4 @@ 'use strict';

var constants = require('@pixi/constants');
var getTestContext = require('./getTestContext.js');
var constants = require('@pixi/constants');

@@ -9,0 +9,0 @@ let maxFragmentPrecision;

@@ -5,3 +5,2 @@ 'use strict';

require('../../settings.js');
var constants = require('@pixi/constants');

@@ -8,0 +7,0 @@ var settings = require('@pixi/settings');

@@ -9,13 +9,13 @@ /**

*/
export * from './checkMaxIfStatementsInShader';
export * from './compileShader';
export * from './logProgramError';
export * from './defaultValue';
export * from './generateUniformsSync';
export * from './getMaxFragmentPrecision';
export * from './setPrecision';
export * from './getTestContext';
export * from './logProgramError';
export * from './mapSize';
export * from './mapType';
export * from './generateUniformsSync';
export * from './setPrecision';
export * from './uniformParsers';
export * from './getTestContext';
export * from './checkMaxIfStatementsInShader';
export * from './unsafeEvalSupported';

@@ -5,13 +5,13 @@ 'use strict';

var checkMaxIfStatementsInShader = require('./checkMaxIfStatementsInShader.js');
var compileShader = require('./compileShader.js');
var logProgramError = require('./logProgramError.js');
var defaultValue = require('./defaultValue.js');
var generateUniformsSync = require('./generateUniformsSync.js');
var getMaxFragmentPrecision = require('./getMaxFragmentPrecision.js');
var setPrecision = require('./setPrecision.js');
var getTestContext = require('./getTestContext.js');
var logProgramError = require('./logProgramError.js');
var mapSize = require('./mapSize.js');
var mapType = require('./mapType.js');
var generateUniformsSync = require('./generateUniformsSync.js');
var setPrecision = require('./setPrecision.js');
var uniformParsers = require('./uniformParsers.js');
var getTestContext = require('./getTestContext.js');
var checkMaxIfStatementsInShader = require('./checkMaxIfStatementsInShader.js');
var unsafeEvalSupported = require('./unsafeEvalSupported.js');

@@ -21,14 +21,14 @@

exports.checkMaxIfStatementsInShader = checkMaxIfStatementsInShader.checkMaxIfStatementsInShader;
exports.compileShader = compileShader.compileShader;
exports.logProgramError = logProgramError.logProgramError;
exports.defaultValue = defaultValue.defaultValue;
exports.generateUniformsSync = generateUniformsSync.generateUniformsSync;
exports.getMaxFragmentPrecision = getMaxFragmentPrecision.getMaxFragmentPrecision;
exports.setPrecision = setPrecision.setPrecision;
exports.getTestContext = getTestContext.getTestContext;
exports.logProgramError = logProgramError.logProgramError;
exports.mapSize = mapSize.mapSize;
exports.mapType = mapType.mapType;
exports.generateUniformsSync = generateUniformsSync.generateUniformsSync;
exports.setPrecision = setPrecision.setPrecision;
exports.uniformParsers = uniformParsers.uniformParsers;
exports.getTestContext = getTestContext.getTestContext;
exports.checkMaxIfStatementsInShader = checkMaxIfStatementsInShader.checkMaxIfStatementsInShader;
exports.unsafeEvalSupported = unsafeEvalSupported.unsafeEvalSupported;
//# sourceMappingURL=index.js.map

@@ -0,8 +1,8 @@

import type { ExtensionMetadata } from '@pixi/extensions';
import type { BackgroundOptions } from '../background/BackgroundSystem';
import type { ViewOptions } from '../view/ViewSystem';
import type { IRenderer } from '../IRenderer';
import type { IRendererPlugins } from '../plugin/PluginSystem';
import type { IRenderer } from '../IRenderer';
import type { ISystem } from '../system/ISystem';
import type { ContextOptions } from '../systems';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { ViewOptions } from '../view/ViewSystem';
export interface StartupOptions extends Record<string, unknown> {

@@ -9,0 +9,0 @@ hello: boolean;

@@ -15,3 +15,3 @@ 'use strict';

if (options.hello) {
console.log(`PixiJS ${"7.1.0-alpha"} - ${renderer.rendererLogId} - https://pixijs.com`);
console.log(`PixiJS ${"7.1.0"} - ${renderer.rendererLogId} - https://pixijs.com`);
}

@@ -18,0 +18,0 @@ renderer.resize(this.renderer.screen.width, this.renderer.screen.height);

@@ -83,2 +83,5 @@ 'use strict';

}
toString() {
return `[@pixi/core:State blendMode=${this.blendMode} clockwiseFrontFace=${this.clockwiseFrontFace} culling=${this.culling} depthMask=${this.depthMask} polygonOffset=${this.polygonOffset}]`;
}
static for2d() {

@@ -85,0 +88,0 @@ const state = new State();

@@ -0,6 +1,6 @@

import { BLEND_MODES } from '@pixi/constants';
import { State } from './State';
import { BLEND_MODES } from '@pixi/constants';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { IRenderingContext } from '../IRenderer';
import type { ISystem } from '../system/ISystem';
import type { IRenderingContext } from '../IRenderer';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -7,0 +7,0 @@ * System plugin to the renderer to manage WebGL state machines.

@@ -5,6 +5,6 @@ 'use strict';

var mapWebGLBlendModesToPixi = require('./utils/mapWebGLBlendModesToPixi.js');
var State = require('./State.js');
var constants = require('@pixi/constants');
var extensions = require('@pixi/extensions');
var State = require('./State.js');
var mapWebGLBlendModesToPixi = require('./utils/mapWebGLBlendModesToPixi.js');

@@ -11,0 +11,0 @@ const BLEND = 0;

@@ -1,4 +0,5 @@

export * from './filters/FilterSystem';
export * from './background/BackgroundSystem';
export * from './batch/BatchSystem';
export * from './context/ContextSystem';
export * from './filters/FilterSystem';
export * from './framebuffer/FramebufferSystem';

@@ -9,14 +10,13 @@ export * from './geometry/GeometrySystem';

export * from './mask/StencilSystem';
export * from './plugin/PluginSystem';
export * from './projection/ProjectionSystem';
export * from './renderTexture/GenerateTextureSystem';
export * from './renderTexture/RenderTextureSystem';
export * from './shader/ShaderSystem';
export * from './startup/StartupSystem';
export * from './state/StateSystem';
export * from './system/SystemManager';
export * from './textures/TextureGCSystem';
export * from './textures/TextureSystem';
export * from './renderTexture/GenerateTextureSystem';
export * from './background/BackgroundSystem';
export * from './transformFeedback/TransformFeedbackSystem';
export * from './view/ViewSystem';
export * from './plugin/PluginSystem';
export * from './system/SystemManager';
export * from './startup/StartupSystem';
export * from './transformFeedback/TransformFeedbackSystem';

@@ -5,5 +5,6 @@ 'use strict';

var FilterSystem = require('./filters/FilterSystem.js');
var BackgroundSystem = require('./background/BackgroundSystem.js');
var BatchSystem = require('./batch/BatchSystem.js');
var ContextSystem = require('./context/ContextSystem.js');
var FilterSystem = require('./filters/FilterSystem.js');
var FramebufferSystem = require('./framebuffer/FramebufferSystem.js');

@@ -14,21 +15,21 @@ var GeometrySystem = require('./geometry/GeometrySystem.js');

var StencilSystem = require('./mask/StencilSystem.js');
var PluginSystem = require('./plugin/PluginSystem.js');
var ProjectionSystem = require('./projection/ProjectionSystem.js');
var GenerateTextureSystem = require('./renderTexture/GenerateTextureSystem.js');
var RenderTextureSystem = require('./renderTexture/RenderTextureSystem.js');
var ShaderSystem = require('./shader/ShaderSystem.js');
var StartupSystem = require('./startup/StartupSystem.js');
var StateSystem = require('./state/StateSystem.js');
var SystemManager = require('./system/SystemManager.js');
var TextureGCSystem = require('./textures/TextureGCSystem.js');
var TextureSystem = require('./textures/TextureSystem.js');
var GenerateTextureSystem = require('./renderTexture/GenerateTextureSystem.js');
var BackgroundSystem = require('./background/BackgroundSystem.js');
var TransformFeedbackSystem = require('./transformFeedback/TransformFeedbackSystem.js');
var ViewSystem = require('./view/ViewSystem.js');
var PluginSystem = require('./plugin/PluginSystem.js');
var SystemManager = require('./system/SystemManager.js');
var StartupSystem = require('./startup/StartupSystem.js');
var TransformFeedbackSystem = require('./transformFeedback/TransformFeedbackSystem.js');
exports.FilterSystem = FilterSystem.FilterSystem;
exports.BackgroundSystem = BackgroundSystem.BackgroundSystem;
exports.BatchSystem = BatchSystem.BatchSystem;
exports.ContextSystem = ContextSystem.ContextSystem;
exports.FilterSystem = FilterSystem.FilterSystem;
exports.FramebufferSystem = FramebufferSystem.FramebufferSystem;

@@ -39,15 +40,14 @@ exports.GeometrySystem = GeometrySystem.GeometrySystem;

exports.StencilSystem = StencilSystem.StencilSystem;
exports.PluginSystem = PluginSystem.PluginSystem;
exports.ProjectionSystem = ProjectionSystem.ProjectionSystem;
exports.GenerateTextureSystem = GenerateTextureSystem.GenerateTextureSystem;
exports.RenderTextureSystem = RenderTextureSystem.RenderTextureSystem;
exports.ShaderSystem = ShaderSystem.ShaderSystem;
exports.StartupSystem = StartupSystem.StartupSystem;
exports.StateSystem = StateSystem.StateSystem;
exports.SystemManager = SystemManager.SystemManager;
exports.TextureGCSystem = TextureGCSystem.TextureGCSystem;
exports.TextureSystem = TextureSystem.TextureSystem;
exports.GenerateTextureSystem = GenerateTextureSystem.GenerateTextureSystem;
exports.BackgroundSystem = BackgroundSystem.BackgroundSystem;
exports.TransformFeedbackSystem = TransformFeedbackSystem.TransformFeedbackSystem;
exports.ViewSystem = ViewSystem.ViewSystem;
exports.PluginSystem = PluginSystem.PluginSystem;
exports.SystemManager = SystemManager.SystemManager;
exports.StartupSystem = StartupSystem.StartupSystem;
exports.TransformFeedbackSystem = TransformFeedbackSystem.TransformFeedbackSystem;
//# sourceMappingURL=systems.js.map

@@ -0,9 +1,9 @@

import { ALPHA_MODES, FORMATS, MIPMAP_MODES, SCALE_MODES, TARGETS, TYPES, WRAP_MODES } from '@pixi/constants';
import { EventEmitter } from '@pixi/utils';
import { FORMATS, SCALE_MODES, TARGETS, TYPES, ALPHA_MODES } from '@pixi/constants';
import { BufferResource } from './resources/BufferResource';
import { Resource } from './resources/Resource';
import { BufferResource } from './resources/BufferResource';
import type { MSAA_QUALITY, MIPMAP_MODES, WRAP_MODES } from '@pixi/constants';
import type { MSAA_QUALITY } from '@pixi/constants';
import type { ICanvas } from '@pixi/settings';
import type { GLTexture } from './GLTexture';
import type { IAutoDetectOptions } from './resources/autoDetectResource';
import type { GLTexture } from './GLTexture';
export declare type ImageSource = HTMLImageElement | HTMLVideoElement | ImageBitmap | ICanvas;

@@ -62,3 +62,3 @@ export interface IBaseTextureOptions<RO = any> {

* @member {number}
* @default PIXI.settings.ANISOTROPIC_LEVEL
* @default 0
*/

@@ -167,14 +167,21 @@ anisotropicLevel?: number;

/**
* Default options used when creating BaseTexture objects.
* @static
* @memberof PIXI.BaseTexture
* @type {PIXI.IBaseTextureOptions}
*/
static defaultOptions: IBaseTextureOptions;
/**
* @param {PIXI.Resource|HTMLImageElement|HTMLVideoElement|ImageBitmap|ICanvas|string} [resource=null] -
* The current resource to use, for things that aren't Resource objects, will be converted
* into a Resource.
* @param options - Collection of options
* @param {PIXI.MIPMAP_MODES} [options.mipmap=PIXI.settings.MIPMAP_TEXTURES] - If mipmapping is enabled for texture
* @param {number} [options.anisotropicLevel=PIXI.settings.ANISOTROPIC_LEVEL] - Anisotropic filtering level of texture
* @param {PIXI.WRAP_MODES} [options.wrapMode=PIXI.settings.WRAP_MODE] - Wrap mode for textures
* @param {PIXI.SCALE_MODES} [options.scaleMode=PIXI.settings.SCALE_MODE] - Default scale mode, linear, nearest
* @param {PIXI.FORMATS} [options.format=PIXI.FORMATS.RGBA] - GL format type
* @param {PIXI.TYPES} [options.type=PIXI.TYPES.UNSIGNED_BYTE] - GL data type
* @param {PIXI.TARGETS} [options.target=PIXI.TARGETS.TEXTURE_2D] - GL texture target
* @param {PIXI.ALPHA_MODES} [options.alphaMode=PIXI.ALPHA_MODES.UNPACK] - Pre multiply the image alpha
* @param options - Collection of options, default options inherited from {@link PIXI.BaseTexture.defaultOptions}.
* @param {PIXI.MIPMAP_MODES} [options.mipmap] - If mipmapping is enabled for texture
* @param {number} [options.anisotropicLevel] - Anisotropic filtering level of texture
* @param {PIXI.WRAP_MODES} [options.wrapMode] - Wrap mode for textures
* @param {PIXI.SCALE_MODES} [options.scaleMode] - Default scale mode, linear, nearest
* @param {PIXI.FORMATS} [options.format] - GL format type
* @param {PIXI.TYPES} [options.type] - GL data type
* @param {PIXI.TARGETS} [options.target] - GL texture target
* @param {PIXI.ALPHA_MODES} [options.alphaMode] - Pre multiply the image alpha
* @param {number} [options.width=0] - Width of the texture

@@ -199,3 +206,3 @@ * @param {number} [options.height=0] - Height of the texture

* Mipmap mode of the texture, affects downscaled images
* @default PIXI.settings.MIPMAP_TEXTURES
* @default PIXI.MIPMAP_MODES.POW2
*/

@@ -206,3 +213,3 @@ get mipmap(): MIPMAP_MODES;

* The scale mode to apply when scaling this texture
* @default PIXI.settings.SCALE_MODE
* @default PIXI.SCALE_MODES.LINEAR
*/

@@ -213,3 +220,3 @@ get scaleMode(): SCALE_MODES;

* How the texture wraps
* @default PIXI.settings.WRAP_MODE
* @default PIXI.WRAP_MODES.CLAMP
*/

@@ -216,0 +223,0 @@ get wrapMode(): WRAP_MODES;

@@ -5,8 +5,8 @@ 'use strict';

var constants = require('@pixi/constants');
var settings = require('@pixi/settings');
var utils = require('@pixi/utils');
var constants = require('@pixi/constants');
var autoDetectResource = require('./resources/autoDetectResource.js');
var BufferResource = require('./resources/BufferResource.js');
var Resource = require('./resources/Resource.js');
var BufferResource = require('./resources/BufferResource.js');
var autoDetectResource = require('./resources/autoDetectResource.js');
var settings = require('@pixi/settings');

@@ -21,3 +21,3 @@ const defaultBufferOptions = {

super();
options = options || {};
options = Object.assign({}, _BaseTexture.defaultOptions, options);
const {

@@ -44,10 +44,10 @@ alphaMode,

this.height = Math.round((height || 0) * this.resolution) / this.resolution;
this._mipmap = mipmap ?? settings.settings.MIPMAP_TEXTURES;
this.anisotropicLevel = anisotropicLevel ?? settings.settings.ANISOTROPIC_LEVEL;
this._wrapMode = wrapMode || settings.settings.WRAP_MODE;
this._scaleMode = scaleMode ?? settings.settings.SCALE_MODE;
this.format = format || constants.FORMATS.RGBA;
this.type = type || constants.TYPES.UNSIGNED_BYTE;
this.target = target || constants.TARGETS.TEXTURE_2D;
this.alphaMode = alphaMode ?? constants.ALPHA_MODES.UNPACK;
this._mipmap = mipmap;
this.anisotropicLevel = anisotropicLevel;
this._wrapMode = wrapMode;
this._scaleMode = scaleMode;
this.format = format;
this.type = type;
this.target = target;
this.alphaMode = alphaMode;
this.uid = utils.uid();

@@ -232,3 +232,3 @@ this.touched = 0;

}
if (utils.BaseTextureCache[id]) {
if (utils.BaseTextureCache[id] && utils.BaseTextureCache[id] !== baseTexture) {
console.warn(`BaseTexture added to the cache with an id [${id}] that already had an entry`);

@@ -261,2 +261,12 @@ }

let BaseTexture = _BaseTexture;
BaseTexture.defaultOptions = {
mipmap: constants.MIPMAP_MODES.POW2,
anisotropicLevel: 0,
scaleMode: constants.SCALE_MODES.LINEAR,
wrapMode: constants.WRAP_MODES.CLAMP,
alphaMode: constants.ALPHA_MODES.UNPACK,
target: constants.TARGETS.TEXTURE_2D,
format: constants.FORMATS.RGBA,
type: constants.TYPES.UNSIGNED_BYTE
};
BaseTexture._globalBatch = 0;

@@ -263,0 +273,0 @@

@@ -0,3 +1,3 @@

import { BaseTexture } from '../BaseTexture';
import { Resource } from './Resource';
import { BaseTexture } from '../BaseTexture';
import type { ISize } from '@pixi/math';

@@ -4,0 +4,0 @@ import type { IAutoDetectOptions } from './autoDetectResource';

@@ -5,5 +5,5 @@ 'use strict';

var Resource = require('./Resource.js');
var BaseTexture = require('../BaseTexture.js');
var autoDetectResource = require('./autoDetectResource.js');
var Resource = require('./Resource.js');

@@ -10,0 +10,0 @@ class AbstractMultiResource extends Resource.Resource {

@@ -1,5 +0,5 @@

import type { Resource } from './Resource';
import type { IImageResourceOptions } from './ImageResource';
import type { ISize } from '@pixi/math';
import type { ICubeResourceOptions } from './CubeResource';
import type { IImageResourceOptions } from './ImageResource';
import type { Resource } from './Resource';
import type { ISVGResourceOptions } from './SVGResource';

@@ -6,0 +6,0 @@ import type { IVideoResourceOptions } from './VideoResource';

import { Resource } from './Resource';
import type { ISize } from '@pixi/math';
import type { Renderer } from '../../Renderer';
import type { BaseTexture } from '../BaseTexture';
import type { Renderer } from '../../Renderer';
import type { GLTexture } from '../GLTexture';

@@ -6,0 +6,0 @@ /**

@@ -5,4 +5,4 @@ 'use strict';

var constants = require('@pixi/constants');
var Resource = require('./Resource.js');
var constants = require('@pixi/constants');

@@ -9,0 +9,0 @@ class BufferResource extends Resource.Resource {

import { AbstractMultiResource } from './AbstractMultiResource';
import type { Resource } from './Resource';
import type { ISize } from '@pixi/math';
import type { ArrayFixed } from '@pixi/utils';
import type { Renderer } from '../../Renderer';
import type { BaseTexture } from '../BaseTexture';
import type { Renderer } from '../../Renderer';
import type { GLTexture } from '../GLTexture';
import type { Resource } from './Resource';
/** Constructor options for CubeResource */

@@ -9,0 +9,0 @@ export interface ICubeResourceOptions extends ISize {

@@ -5,4 +5,4 @@ 'use strict';

var constants = require('@pixi/constants');
var AbstractMultiResource = require('./AbstractMultiResource.js');
var constants = require('@pixi/constants');

@@ -9,0 +9,0 @@ const _CubeResource = class extends AbstractMultiResource.AbstractMultiResource {

import { BufferResource } from './BufferResource';
import type { Renderer } from '../../Renderer';
import type { BaseTexture } from '../BaseTexture';
import type { Renderer } from '../../Renderer';
import type { GLTexture } from '../GLTexture';

@@ -5,0 +5,0 @@ /**

@@ -0,12 +1,12 @@

export * from './BaseImageResource';
export * from './Resource';
export * from './BaseImageResource';
export * from './autoDetectResource';
export * from './AbstractMultiResource';
export * from './ArrayResource';
export * from './autoDetectResource';
export * from './BufferResource';
export * from './CanvasResource';
export * from './CubeResource';
export * from './ImageBitmapResource';
export * from './ImageResource';
export * from './SVGResource';
export * from './VideoResource';
export * from './ImageBitmapResource';

@@ -5,13 +5,13 @@ 'use strict';

var ArrayResource = require('./ArrayResource.js');
var autoDetectResource = require('./autoDetectResource.js');
var ArrayResource = require('./ArrayResource.js');
var BufferResource = require('./BufferResource.js');
var CanvasResource = require('./CanvasResource.js');
var CubeResource = require('./CubeResource.js');
var ImageBitmapResource = require('./ImageBitmapResource.js');
var ImageResource = require('./ImageResource.js');
var SVGResource = require('./SVGResource.js');
var VideoResource = require('./VideoResource.js');
var ImageBitmapResource = require('./ImageBitmapResource.js');
var BaseImageResource = require('./BaseImageResource.js');
var Resource = require('./Resource.js');
var BaseImageResource = require('./BaseImageResource.js');
var AbstractMultiResource = require('./AbstractMultiResource.js');

@@ -21,15 +21,15 @@

exports.ArrayResource = ArrayResource.ArrayResource;
exports.INSTALLED = autoDetectResource.INSTALLED;
exports.autoDetectResource = autoDetectResource.autoDetectResource;
exports.ArrayResource = ArrayResource.ArrayResource;
exports.BufferResource = BufferResource.BufferResource;
exports.CanvasResource = CanvasResource.CanvasResource;
exports.CubeResource = CubeResource.CubeResource;
exports.ImageBitmapResource = ImageBitmapResource.ImageBitmapResource;
exports.ImageResource = ImageResource.ImageResource;
exports.SVGResource = SVGResource.SVGResource;
exports.VideoResource = VideoResource.VideoResource;
exports.ImageBitmapResource = ImageBitmapResource.ImageBitmapResource;
exports.BaseImageResource = BaseImageResource.BaseImageResource;
exports.Resource = Resource.Resource;
exports.BaseImageResource = BaseImageResource.BaseImageResource;
exports.AbstractMultiResource = AbstractMultiResource.AbstractMultiResource;
//# sourceMappingURL=index.js.map
import { Runner } from '@pixi/runner';
import type { Renderer } from '../../Renderer';
import type { BaseTexture } from '../BaseTexture';
import type { Renderer } from '../../Renderer';
import type { GLTexture } from '../GLTexture';

@@ -5,0 +5,0 @@ /**

@@ -5,5 +5,5 @@ 'use strict';

var settings = require('@pixi/settings');
var utils = require('@pixi/utils');
var BaseImageResource = require('./BaseImageResource.js');
var settings = require('@pixi/settings');

@@ -10,0 +10,0 @@ const _SVGResource = class extends BaseImageResource.BaseImageResource {

@@ -21,3 +21,3 @@ import { BaseImageResource } from './BaseImageResource';

/**
* `true` to use PIXI.Ticker.shared to auto update the base texture.
* `true` to use Ticker.shared to auto update the base texture.
* @default true

@@ -24,0 +24,0 @@ */

@@ -5,4 +5,4 @@ 'use strict';

var ticker = require('@pixi/ticker');
var BaseImageResource = require('./BaseImageResource.js');
var ticker = require('@pixi/ticker');

@@ -9,0 +9,0 @@ const _VideoResource = class extends BaseImageResource.BaseImageResource {

@@ -6,6 +6,6 @@ import { Point, Rectangle } from '@pixi/math';

import type { IPointData, ISize } from '@pixi/math';
import type { IBaseTextureOptions, ImageSource } from './BaseTexture';
import type { BufferResource } from './resources/BufferResource';
import type { CanvasResource } from './resources/CanvasResource';
import type { Resource } from './resources/Resource';
import type { IBaseTextureOptions, ImageSource } from './BaseTexture';
import type { TextureMatrix } from './TextureMatrix';

@@ -12,0 +12,0 @@ export declare type TextureSource = string | BaseTexture | ImageSource;

@@ -8,4 +8,4 @@ 'use strict';

var utils = require('@pixi/utils');
var BaseTexture = require('./BaseTexture.js');
var ImageResource = require('./resources/ImageResource.js');
var BaseTexture = require('./BaseTexture.js');
var TextureUvs = require('./TextureUvs.js');

@@ -200,3 +200,3 @@

}
if (utils.TextureCache[id]) {
if (utils.TextureCache[id] && utils.TextureCache[id] !== texture) {
console.warn(`Texture added to the cache with an id [${id}] that already had an entry`);

@@ -203,0 +203,0 @@ }

import { GC_MODES } from '@pixi/constants';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { Renderer } from '../Renderer';
import type { RenderTexture } from '../renderTexture/RenderTexture';
import type { ISystem } from '../system/ISystem';
import type { Renderer } from '../Renderer';
import type { Texture } from './Texture';
import type { RenderTexture } from '../renderTexture/RenderTexture';
import type { ExtensionMetadata } from '@pixi/extensions';
export interface IUnloadableTexture {

@@ -17,2 +17,21 @@ _texture: Texture | RenderTexture;

export declare class TextureGCSystem implements ISystem {
/**
* Default Garbage Collection mode.
* @static
* @type {PIXI.GC_MODES}
* @default PIXI.GC_MODES.AUTO
*/
static defaultMode: GC_MODES;
/**
* Default Garbage Collection max idle.
* @static
* @default 3600
*/
static defaultMaxIdle: number;
/**
* Default Garbage Collection maximum check count.
* @static
* @default 600
*/
static defaultCheckCountMax: number;
/** @ignore */

@@ -32,3 +51,3 @@ static extension: ExtensionMetadata;

* Maximum idle time, in seconds
* @see PIXI.settings.GC_MAX_IDLE
* @see PIXI.TextureGCSystem.defaultMaxIdle
*/

@@ -38,3 +57,3 @@ maxIdle: number;

* Maximum number of item to check
* @see PIXI.settings.GC_MAX_CHECK_COUNT
* @see PIXI.TextureGCSystem.defaultCheckCountMax
*/

@@ -44,3 +63,3 @@ checkCountMax: number;

* Current garbage collection mode
* @see PIXI.settings.GC_MODE
* @see PIXI.TextureGCSystem.defaultMode
*/

@@ -47,0 +66,0 @@ mode: GC_MODES;

@@ -6,6 +6,5 @@ 'use strict';

var constants = require('@pixi/constants');
var settings = require('@pixi/settings');
var extensions = require('@pixi/extensions');
class TextureGCSystem {
const _TextureGCSystem = class {
constructor(renderer) {

@@ -15,5 +14,5 @@ this.renderer = renderer;

this.checkCount = 0;
this.maxIdle = settings.settings.GC_MAX_IDLE;
this.checkCountMax = settings.settings.GC_MAX_CHECK_COUNT;
this.mode = settings.settings.GC_MODE;
this.maxIdle = _TextureGCSystem.defaultMaxIdle;
this.checkCountMax = _TextureGCSystem.defaultCheckCountMax;
this.mode = _TextureGCSystem.defaultMode;
}

@@ -69,3 +68,7 @@ postrender() {

}
}
};
let TextureGCSystem = _TextureGCSystem;
TextureGCSystem.defaultMode = constants.GC_MODES.AUTO;
TextureGCSystem.defaultMaxIdle = 60 * 60;
TextureGCSystem.defaultCheckCountMax = 60 * 10;
TextureGCSystem.extension = {

@@ -72,0 +75,0 @@ type: extensions.ExtensionType.RendererSystem,

import { BaseTexture } from './BaseTexture';
import { GLTexture } from './GLTexture';
import type { ExtensionMetadata } from '@pixi/extensions';
import type { IRenderingContext } from '../IRenderer';
import type { Renderer } from '../Renderer';
import type { ISystem } from '../system/ISystem';
import type { Texture } from './Texture';
import type { Renderer } from '../Renderer';
import type { IRenderingContext } from '../IRenderer';
import type { ExtensionMetadata } from '@pixi/extensions';
/**

@@ -9,0 +9,0 @@ * System plugin to the renderer to manage textures.

@@ -5,8 +5,8 @@ 'use strict';

var mapTypeAndFormatToInternalFormat = require('./utils/mapTypeAndFormatToInternalFormat.js');
var constants = require('@pixi/constants');
var extensions = require('@pixi/extensions');
var utils = require('@pixi/utils');
var BaseTexture = require('./BaseTexture.js');
var GLTexture = require('./GLTexture.js');
var utils = require('@pixi/utils');
var constants = require('@pixi/constants');
var extensions = require('@pixi/extensions');
var mapTypeAndFormatToInternalFormat = require('./utils/mapTypeAndFormatToInternalFormat.js');

@@ -13,0 +13,0 @@ class TextureSystem {

@@ -1,2 +0,2 @@

import type { Rectangle, ISize } from '@pixi/math';
import type { ISize, Rectangle } from '@pixi/math';
/**

@@ -3,0 +3,0 @@ * Stores a texture's frame in UV coordinates, in

@@ -58,2 +58,5 @@ 'use strict';

}
toString() {
return `[@pixi/core:TextureUvs x0=${this.x0} y0=${this.y0} x1=${this.x1} y1=${this.y1} x2=${this.x2} y2=${this.y2} x3=${this.x3} y3=${this.y3}]`;
}
}

@@ -60,0 +63,0 @@

@@ -0,3 +1,3 @@

import { Runner } from '@pixi/runner';
import type { Buffer } from '@pixi/core';
import { Runner } from '@pixi/runner';
/**

@@ -4,0 +4,0 @@ * A TransformFeedback object wrapping GLTransformFeedback object.

@@ -1,3 +0,3 @@

import type { ISystem, IRenderingContext, Renderer, Shader } from '@pixi/core';
import type { DRAW_MODES } from '@pixi/constants';
import type { IRenderingContext, ISystem, Renderer, Shader } from '@pixi/core';
import type { ExtensionMetadata } from '@pixi/extensions';

@@ -4,0 +4,0 @@ import type { TransformFeedback } from './TransformFeedback';

@@ -0,3 +1,3 @@

import { Buffer } from '../geometry/Buffer';
import { Geometry } from '../geometry/Geometry';
import { Buffer } from '../geometry/Buffer';
import type { Rectangle } from '@pixi/math';

@@ -4,0 +4,0 @@ /**

@@ -5,4 +5,4 @@ 'use strict';

var Buffer = require('../geometry/Buffer.js');
var Geometry = require('../geometry/Geometry.js');
var Buffer = require('../geometry/Buffer.js');

@@ -9,0 +9,0 @@ class QuadUv extends Geometry.Geometry {

{
"name": "@pixi/core",
"version": "7.1.0-alpha",
"version": "7.1.0",
"main": "lib/index.js",

@@ -25,7 +25,7 @@ "module": "lib/index.mjs",

"homepage": "http://pixijs.com/",
"bugs": "https://github.com/pixijs/pixi.js/issues",
"bugs": "https://github.com/pixijs/pixijs/issues",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pixijs/pixi.js.git"
"url": "https://github.com/pixijs/pixijs.git"
},

@@ -44,12 +44,12 @@ "publishConfig": {

"dependencies": {
"@pixi/constants": "7.1.0-alpha",
"@pixi/extensions": "7.1.0-alpha",
"@pixi/math": "7.1.0-alpha",
"@pixi/runner": "7.1.0-alpha",
"@pixi/settings": "7.1.0-alpha",
"@pixi/ticker": "7.1.0-alpha",
"@pixi/utils": "7.1.0-alpha",
"@pixi/constants": "7.1.0",
"@pixi/extensions": "7.1.0",
"@pixi/math": "7.1.0",
"@pixi/runner": "7.1.0",
"@pixi/settings": "7.1.0",
"@pixi/ticker": "7.1.0",
"@pixi/utils": "7.1.0",
"@types/offscreencanvas": "^2019.6.4"
},
"gitHead": "0fb26a500c738cb550da277c112d15d9dd3f87b6"
"gitHead": "4079e92895ecb692afe9f0b15d3e48ee40852ada"
}

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

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

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

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

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

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

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

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

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

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

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

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc