700 BSource Map (JSON)View Raw
1{"version":3,"file":"canUploadSameBuffer.js","sources":["../../src/batch/canUploadSameBuffer.ts"],"sourcesContent":["import { isMobile } from '@pixi/settings';\n\n/**\n * Uploading the same buffer multiple times in a single frame can cause performance issues.\n * Apparent on iOS so only check for that at the moment\n * This check may become more complex if this issue pops up elsewhere.\n * @private\n * @returns {boolean} `true` if the same buffer may be uploaded more than once.\n */\nexport function canUploadSameBuffer(): boolean\n{\n return !isMobile.apple.device;\n}\n"],"names":["isMobile"],"mappings":";;;;;;AAUA,SAAA,mBAAA,GAAA;AACI,EAAO,OAAA,CAACA,kBAAS,KAAM,CAAA,MAAA,CAAA;AAC3B;;;;"}
\No newline at end of file