UNPKG

detect-gpu

Version:

Classify GPU's based on their benchmark score in order to provide an adaptive experience.

47 lines (30 loc) 1.75 kB
> detect-gpu@0.0.32 test /Users/TVS/Projects/detect-gpu > jest --config=jest.config.json console.log test/index.js:44 FALLBACK -> Entry: apple a8 gpu, Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.log test/index.js:44 FALLBACK -> Entry: apple a7 gpu, Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.warn test/index.js:36 BLACKLISTED -> Entry: mali-400 mp, Tier: GPU_MOBILE_TIER_0, Type: BLACKLISTED console.log test/index.js:44 FALLBACK -> Entry: google swiftshader, Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.warn test/index.js:36 BLACKLISTED -> Entry: mali-450 mp, Tier: GPU_MOBILE_TIER_0, Type: BLACKLISTED console.log test/index.js:44 FALLBACK -> Entry: vivante gc7000ul, Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.log test/index.js:44 FALLBACK -> Entry: llvmpipe (llvm 6.0 256 bits), Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.log test/index.js:44 FALLBACK -> Entry: amd radeon pro 560 opengl engine, Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.log test/index.js:44 FALLBACK -> Entry: amd radeon r9 m380 opengl engine, Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.log test/index.js:44 FALLBACK -> Entry: gallium 0.4 on llvmpipe (llvm 3.8 256 bits), Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.log test/index.js:44 FALLBACK -> Entry: gc1000 core, Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.log test/index.js:44 FALLBACK -> Entry: intel iris pro opengl engine, Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.log test/index.js:44 FALLBACK -> Entry: mali-g51, Tier: GPU_MOBILE_TIER_1, Type: FALLBACK console.log test/index.js:44 FALLBACK -> Entry: powervr rogue ge8320, Tier: GPU_MOBILE_TIER_1, Type: FALLBACK