MCPcopy Index your code

hub / github.com/pmndrs/detect-gpu / functions

Functions27 in github.com/pmndrs/detect-gpu

↓ 15 callersFunctionfilterByIOSVersion
( chipsets: T[], iOSVersion: number | undefined, isIpad: boolean )
src/internal/deobfuscateAppleGPU.ts:124
↓ 15 callersFunctionnames
(chipsets: Chipset[])
test/deobfuscateAppleGPU.test.ts:49
↓ 12 callersFunctiongetTier
(override: GetGPUTier['override'] = {})
test/utils.ts:3
↓ 9 callersFunctionparseIOSVersion
( userAgent: string, isAppleMobile: boolean )
src/internal/deviceInfo.ts:13
↓ 8 callersFunctionexpectGPUResults
( expected: Partial<TierResult>, result: TierResult )
test/utils.ts:16
↓ 8 callersFunctiontoResult
( tier: number, type: TierType, gpu?: string, fps?: number, device?: string )
src/index.ts:270
↓ 6 callersFunctionloadDeviceInfo
(overrides: { userAgent?: string; platform?: string; maxTouchPoints?: number; })
test/deviceInfo.test.ts:7
↓ 3 callersFunctioncleanRenderer
(renderer: string)
src/internal/cleanRenderer.ts:3
↓ 3 callersFunctionoutputFile
( type: string, models: typeof devicesByGpu )
scripts/update_benchmarks.ts:153
↓ 2 callersFunctiongetGPUVersion
(model: string)
src/internal/getGPUVersion.ts:1
↓ 2 callersFunctiontierForFps
(fps: number, tiers: number[])
src/index.ts:371
↓ 2 callersFunctiontokenizeForLevenshteinDistance
(str: string)
src/internal/getLevenshteinDistance.ts:90
↓ 1 callersFunctioncalculateMagicPixelId
(gl: WebGLRenderingContext)
src/internal/deobfuscateAppleGPU.ts:143
↓ 1 callersFunctioncreateArchiveAndCleanup
()
scripts/update_benchmarks.ts:35
↓ 1 callersFunctiondeobfuscateAppleGPU
( gl: WebGLRenderingContext, renderer: string, isMobileTier: boolean )
src/internal/deobfuscateAppleGPU.ts:19
↓ 1 callersFunctiondeobfuscateRenderer
( gl: WebGLRenderingContext | WebGL2RenderingContext, renderer: string, isMobileTier: boolean )
src/internal/deobfuscateRenderer.ts:4
↓ 1 callersFunctiondownloadCsvIfMissing
()
scripts/update_benchmarks.ts:219
↓ 1 callersFunctionensureDirectories
()
scripts/update_benchmarks.ts:27
↓ 1 callersFunctionfetchBenchmarks
()
scripts/update_benchmarks.ts:236
↓ 1 callersFunctiongetGPUTier
({ mobileTiers = [0, 15, 30, 60], desktopTiers = [0, 15, 30, 60], override = {}, glContext, failIfMa
src/index.ts:98
↓ 1 callersFunctiongetGpuType
(renderer: string)
src/index.ts:139
↓ 1 callersFunctiongetLevenshteinDistance
(left: string, right: string)
src/internal/getLevenshteinDistance.ts:8
↓ 1 callersFunctiongetWebGLContext
( isSafari12?: boolean, failIfMajorPerformanceCaveat = false )
src/internal/getWebGLContext.ts:1
↓ 1 callersFunctionminimumAChip
(iOSVersion: number, isIpad: boolean)
src/internal/deobfuscateAppleGPU.ts:116
FunctionexportBenchmarks
(isMobile: boolean)
scripts/update_benchmarks.ts:99
FunctionisDefined
(val: T | undefined | null | void)
src/internal/util.ts:1
FunctionqueryBenchmarks
(renderer: string)
src/index.ts:166