<commit_before>import { PIXIBaseAsset } from './PIXIBaseAsset';
let ndgmr = require("./../etc/PIXI-ndgmr.Collision").PIXICollision;
require("./../etc/PIXICanvasInput");
let entryIsWebGLSupported = require("./entryIsWebGLSupported").entryIsWebGLSupported;

import { PIXIAtlasManager } from '../atlas/PIXIAtlasManager';
import { PIXIZeroAlphaNoneInteractionPlugins } from '../plugins/PIXIZeroAlphaNoneInteractionPlugins';
import { PIXIPixelPerfectInteractionPlugIn } from '../plugins/PIXIPixelPerfectInteractionPlugIn';
import { PIXITempStore } from '../etc/PIXITempStore';
import { PIXITextMetricsPlugIn } from '../plugins/PIXITextMetricsPlugIn';
import { PIXIDebug } from '../debugs/Debugs';
import { PIXIShortPropPlugin } from '../plugins/PIXIShortPropPlugin';
import { PIXIGraphicOverride } from '../plugins/PIXIGraphicOverride';




class _PIXIGlobal {
    
    private _init:boolean;
    /** @readonly */
    baseAsset:PIXIBaseAsset;
    atlasManager:PIXIAtlasManager;

    initOnce() {
        if(this._init) return;
        entryIsWebGLSupported();
        this._init = true;
        PIXIDebug.internal_init();
        //this.baseAsset = new PIXIBaseAsset();
        ndgmr.initTempObject();
        (window as any).ndgmr = ndgmr;
        PIXITempStore.init();
        this.atlasManager = new PIXIAtlasManager();
        PIXIShortPropPlugin();
        new PIXIZeroAlphaNoneInteractionPlugins();
        new PIXIPixelPerfectInteractionPlugIn();
        PIXITextMetricsPlugIn();
        PIXIGraphicOverride();
    }

    getNewApp(canvas:HTMLCanvasElement):PIXI.Application {
        let app = new PIXI.Application({
            view: canvas,
            width: canvas.width,
            height: canvas.height,
            autoStart: false,
            // autoStart: true,
            antialias:true,
            transparent: true
        });
        (app.stage as any).canvas = canvas;
        return app;
    }
}

export let PIXIGlobal:_PIXIGlobal = new _PIXIGlobal();<commit_msg>[WebGL] console 의 PIXI 로고 삭제<commit_after>import { PIXIBaseAsset } from './PIXIBaseAsset';
let ndgmr = require("./../etc/PIXI-ndgmr.Collision").PIXICollision;
require("./../etc/PIXICanvasInput");
let entryIsWebGLSupported = require("./entryIsWebGLSupported").entryIsWebGLSupported;

import { PIXIAtlasManager } from '../atlas/PIXIAtlasManager';
import { PIXIZeroAlphaNoneInteractionPlugins } from '../plugins/PIXIZeroAlphaNoneInteractionPlugins';
import { PIXIPixelPerfectInteractionPlugIn } from '../plugins/PIXIPixelPerfectInteractionPlugIn';
import { PIXITempStore } from '../etc/PIXITempStore';
import { PIXITextMetricsPlugIn } from '../plugins/PIXITextMetricsPlugIn';
import { PIXIDebug } from '../debugs/Debugs';
import { PIXIShortPropPlugin } from '../plugins/PIXIShortPropPlugin';
import { PIXIGraphicOverride } from '../plugins/PIXIGraphicOverride';




class _PIXIGlobal {
    
    private _init:boolean;
    /** @readonly */
    baseAsset:PIXIBaseAsset;
    atlasManager:PIXIAtlasManager;

    initOnce() {
        if(this._init) return;
        entryIsWebGLSupported();
        this._init = true;
        PIXIDebug.internal_init();
        //this.baseAsset = new PIXIBaseAsset();
        ndgmr.initTempObject();
        (window as any).ndgmr = ndgmr;
        PIXITempStore.init();
        this.atlasManager = new PIXIAtlasManager();
        PIXIShortPropPlugin();
        new PIXIZeroAlphaNoneInteractionPlugins();
        new PIXIPixelPerfectInteractionPlugIn();
        PIXITextMetricsPlugIn();
        PIXIGraphicOverride();
    }

    getNewApp(canvas:HTMLCanvasElement):PIXI.Application {
        PIXI.utils.skipHello();
        let app = new PIXI.Application({
            view: canvas,
            width: canvas.width,
            height: canvas.height,
            autoStart: false,
            // autoStart: true,
            antialias:true,
            transparent: true
        });
        (app.stage as any).canvas = canvas;
        return app;
    }
}

export let PIXIGlobal:_PIXIGlobal = new _PIXIGlobal();
{'fraction_non_alphanumeric': 0.11725168035847648, 'fraction_numerical': 0.0, 'mean_word_length': 3.062689585439838, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '908484', 'n_tokens_mistral': 1295, 'n_tokens_neox': 1257, 'n_words': 215}