Lines Matching refs:config
58 if(!config.disableServer) in SwiftConfig()
115 configuration = config; in getConfiguration()
212 if(config.disableServer) in respond()
274 …html += "<option value='0'" + (config.pixelShaderVersion == 0 ? selected : empty) + ">0.0</optio… in page()
275 …html += "<option value='11'" + (config.pixelShaderVersion == 11 ? selected : empty) + ">1.1</optio… in page()
276 …html += "<option value='12'" + (config.pixelShaderVersion == 12 ? selected : empty) + ">1.2</optio… in page()
277 …html += "<option value='13'" + (config.pixelShaderVersion == 13 ? selected : empty) + ">1.3</optio… in page()
278 …html += "<option value='14'" + (config.pixelShaderVersion == 14 ? selected : empty) + ">1.4</optio… in page()
279 …html += "<option value='20'" + (config.pixelShaderVersion == 20 ? selected : empty) + ">2.0</optio… in page()
280 …html += "<option value='21'" + (config.pixelShaderVersion == 21 ? selected : empty) + ">2.x</optio… in page()
281 …html += "<option value='30'" + (config.pixelShaderVersion == 30 ? selected : empty) + ">3.0 (defau… in page()
284 …html += "<option value='0'" + (config.vertexShaderVersion == 0 ? selected : empty) + ">0.0</opti… in page()
285 …html += "<option value='11'" + (config.vertexShaderVersion == 11 ? selected : empty) + ">1.1</opti… in page()
286 …html += "<option value='20'" + (config.vertexShaderVersion == 20 ? selected : empty) + ">2.0</opti… in page()
287 …html += "<option value='21'" + (config.vertexShaderVersion == 21 ? selected : empty) + ">2.x</opti… in page()
288 …html += "<option value='30'" + (config.vertexShaderVersion == 30 ? selected : empty) + ">3.0 (defa… in page()
291 …html += "<option value='128'" + (config.textureMemory == 128 ? selected : empty) + ">128 MB</opt… in page()
292 …html += "<option value='256'" + (config.textureMemory == 256 ? selected : empty) + ">256 MB (def… in page()
293 …html += "<option value='512'" + (config.textureMemory == 512 ? selected : empty) + ">512 MB</opt… in page()
294 …html += "<option value='1024'" + (config.textureMemory == 1024 ? selected : empty) + ">1024 MB</op… in page()
295 …html += "<option value='2048'" + (config.textureMemory == 2048 ? selected : empty) + ">2048 MB</op… in page()
298 …html += "<option value='0'" + (config.identifier == 0 ? selected : empty) + ">Google SwiftShader (… in page()
299 …html += "<option value='1'" + (config.identifier == 1 ? selected : empty) + ">NVIDIA GeForce 7900 … in page()
300 …html += "<option value='2'" + (config.identifier == 2 ? selected : empty) + ">ATI Mobility Radeon … in page()
301 …html += "<option value='3'" + (config.identifier == 3 ? selected : empty) + ">Intel GMA X3100</opt… in page()
302 …html += "<option value='4'" + (config.identifier == 4 ? selected : empty) + ">System device</optio… in page()
308 …html += "<option value='64'" + (config.vertexRoutineCacheSize == 64 ? selected : empty) + ">64… in page()
309 …html += "<option value='128'" + (config.vertexRoutineCacheSize == 128 ? selected : empty) + ">12… in page()
310 …html += "<option value='256'" + (config.vertexRoutineCacheSize == 256 ? selected : empty) + ">25… in page()
311 …html += "<option value='512'" + (config.vertexRoutineCacheSize == 512 ? selected : empty) + ">51… in page()
312 …html += "<option value='1024'" + (config.vertexRoutineCacheSize == 1024 ? selected : empty) + ">10… in page()
313 …html += "<option value='2048'" + (config.vertexRoutineCacheSize == 2048 ? selected : empty) + ">20… in page()
314 …html += "<option value='4096'" + (config.vertexRoutineCacheSize == 4096 ? selected : empty) + ">40… in page()
318 …html += "<option value='64'" + (config.pixelRoutineCacheSize == 64 ? selected : empty) + ">64<… in page()
319 …html += "<option value='128'" + (config.pixelRoutineCacheSize == 128 ? selected : empty) + ">128… in page()
320 …html += "<option value='256'" + (config.pixelRoutineCacheSize == 256 ? selected : empty) + ">256… in page()
321 …html += "<option value='512'" + (config.pixelRoutineCacheSize == 512 ? selected : empty) + ">512… in page()
322 …html += "<option value='1024'" + (config.pixelRoutineCacheSize == 1024 ? selected : empty) + ">102… in page()
323 …html += "<option value='2048'" + (config.pixelRoutineCacheSize == 2048 ? selected : empty) + ">204… in page()
324 …html += "<option value='4096'" + (config.pixelRoutineCacheSize == 4096 ? selected : empty) + ">409… in page()
328 …html += "<option value='64'" + (config.setupRoutineCacheSize == 64 ? selected : empty) + ">64<… in page()
329 …html += "<option value='128'" + (config.setupRoutineCacheSize == 128 ? selected : empty) + ">128… in page()
330 …html += "<option value='256'" + (config.setupRoutineCacheSize == 256 ? selected : empty) + ">256… in page()
331 …html += "<option value='512'" + (config.setupRoutineCacheSize == 512 ? selected : empty) + ">512… in page()
332 …html += "<option value='1024'" + (config.setupRoutineCacheSize == 1024 ? selected : empty) + ">102… in page()
333 …html += "<option value='2048'" + (config.setupRoutineCacheSize == 2048 ? selected : empty) + ">204… in page()
334 …html += "<option value='4096'" + (config.setupRoutineCacheSize == 4096 ? selected : empty) + ">409… in page()
338 …html += "<option value='64'" + (config.vertexCacheSize == 64 ? selected : empty) + ">64 (defau… in page()
345 …html += "<option value='0'" + (config.textureSampleQuality == 0 ? selected : empty) + ">Point</opt… in page()
346 …html += "<option value='1'" + (config.textureSampleQuality == 1 ? selected : empty) + ">Linear</op… in page()
347 …html += "<option value='2'" + (config.textureSampleQuality == 2 ? selected : empty) + ">Anisotropi… in page()
351 …html += "<option value='0'" + (config.mipmapQuality == 0 ? selected : empty) + ">Point</option>\n"; in page()
352 …html += "<option value='1'" + (config.mipmapQuality == 1 ? selected : empty) + ">Linear (default)<… in page()
356 …html += "<option value='0'" + (config.perspectiveCorrection == 0 ? selected : empty) + ">Off</opti… in page()
357 …html += "<option value='1'" + (config.perspectiveCorrection == 1 ? selected : empty) + ">On (defau… in page()
361 …html += "<option value='0'" + (config.transcendentalPrecision == 0 ? selected : empty) + ">Approxi… in page()
362 …html += "<option value='1'" + (config.transcendentalPrecision == 1 ? selected : empty) + ">Partial… in page()
363 …html += "<option value='2'" + (config.transcendentalPrecision == 2 ? selected : empty) + ">Accurat… in page()
364 …html += "<option value='3'" + (config.transcendentalPrecision == 3 ? selected : empty) + ">WHQL</o… in page()
365 …html += "<option value='4'" + (config.transcendentalPrecision == 4 ? selected : empty) + ">IEEE</o… in page()
369 …html += "<option value='0'" + (config.transparencyAntialiasing == 0 ? selected : empty) + ">None (… in page()
370 …html += "<option value='1'" + (config.transparencyAntialiasing == 1 ? selected : empty) + ">Alpha-… in page()
376 …html += "<option value='-1'" + (config.threadCount == -1 ? selected : empty) + ">Core count</optio… in page()
377 …html += "<option value='0'" + (config.threadCount == 0 ? selected : empty) + ">Process affinity … in page()
378 html += "<option value='1'" + (config.threadCount == 1 ? selected : empty) + ">1</option>\n"; in page()
379 html += "<option value='2'" + (config.threadCount == 2 ? selected : empty) + ">2</option>\n"; in page()
380 html += "<option value='3'" + (config.threadCount == 3 ? selected : empty) + ">3</option>\n"; in page()
381 html += "<option value='4'" + (config.threadCount == 4 ? selected : empty) + ">4</option>\n"; in page()
382 html += "<option value='5'" + (config.threadCount == 5 ? selected : empty) + ">5</option>\n"; in page()
383 html += "<option value='6'" + (config.threadCount == 6 ? selected : empty) + ">6</option>\n"; in page()
384 html += "<option value='7'" + (config.threadCount == 7 ? selected : empty) + ">7</option>\n"; in page()
385 html += "<option value='8'" + (config.threadCount == 8 ? selected : empty) + ">8</option>\n"; in page()
386 html += "<option value='9'" + (config.threadCount == 9 ? selected : empty) + ">9</option>\n"; in page()
387 html += "<option value='10'" + (config.threadCount == 10 ? selected : empty) + ">10</option>\n"; in page()
388 html += "<option value='11'" + (config.threadCount == 11 ? selected : empty) + ">11</option>\n"; in page()
389 html += "<option value='12'" + (config.threadCount == 12 ? selected : empty) + ">12</option>\n"; in page()
390 html += "<option value='13'" + (config.threadCount == 13 ? selected : empty) + ">13</option>\n"; in page()
391 html += "<option value='14'" + (config.threadCount == 14 ? selected : empty) + ">14</option>\n"; in page()
392 html += "<option value='15'" + (config.threadCount == 15 ? selected : empty) + ">15</option>\n"; in page()
393 html += "<option value='16'" + (config.threadCount == 16 ? selected : empty) + ">16</option>\n"; in page()
395 …html += "<tr><td>Enable SSE:</td><td><input name = 'enableSSE' type='checkbox'" + (config.enableSS… in page()
396 …html += "<tr><td>Enable SSE2:</td><td><input name = 'enableSSE2' type='checkbox'" + (config.enable… in page()
397 …html += "<tr><td>Enable SSE3:</td><td><input name = 'enableSSE3' type='checkbox'" + (config.enable… in page()
398 …html += "<tr><td>Enable SSSE3:</td><td><input name = 'enableSSSE3' type='checkbox'" + (config.enab… in page()
399 …html += "<tr><td>Enable SSE4.1:</td><td><input name = 'enableSSE4_1' type='checkbox'" + (config.en… in page()
404 for(size_t pass = 0; pass < config.optimization.size(); pass++) in page()
407 …html += "<option value='0'" + (config.optimization[pass] == rr::Optimization::Pass::Disabled ? s… in page()
408 …html += "<option value='1'" + (config.optimization[pass] == rr::Optimization::Pass::InstructionC… in page()
409 …html += "<option value='2'" + (config.optimization[pass] == rr::Optimization::Pass::CFGSimplific… in page()
410 …html += "<option value='3'" + (config.optimization[pass] == rr::Optimization::Pass::LICM ? selec… in page()
411 …html += "<option value='4'" + (config.optimization[pass] == rr::Optimization::Pass::AggressiveDC… in page()
412 …html += "<option value='5'" + (config.optimization[pass] == rr::Optimization::Pass::GVN ? select… in page()
413 …html += "<option value='6'" + (config.optimization[pass] == rr::Optimization::Pass::Reassociate … in page()
414 …html += "<option value='7'" + (config.optimization[pass] == rr::Optimization::Pass::DeadStoreEli… in page()
415 …html += "<option value='8'" + (config.optimization[pass] == rr::Optimization::Pass::SCCP ? selec… in page()
416 …html += "<option value='9'" + (config.optimization[pass] == rr::Optimization::Pass::ScalarReplAg… in page()
417 …html += "<option value='10'" + (config.optimization[pass] == rr::Optimization::Pass::EarlyCSEPass… in page()
424 …Config server:</td><td><input name = 'disableServer' type='checkbox'" + (config.disableServer == t… in page()
425 …windowed mode:</td><td><input name = 'forceWindowed' type='checkbox'" + (config.forceWindowed == t… in page()
426 …er:</td><td><input name = 'complementaryDepthBuffer' type='checkbox'" + (config.complementaryDepth… in page()
427 …GB conversion:</td><td><input name = 'postBlendSRGB' type='checkbox'" + (config.postBlendSRGB == t… in page()
428 …rounding:</td><td><input name = 'exactColorRounding' type='checkbox'" + (config.exactColorRounding… in page()
429 …ay formats:</td><td><input name = 'disableAlphaMode' type='checkbox'" + (config.disableAlphaMode =… in page()
430 …ay formats:</td><td><input name = 'disable10BitMode' type='checkbox'" + (config.disable10BitMode =… in page()
432 …html += "<option value='0'" + (config.frameBufferAPI == 0 ? selected : empty) + ">DirectDraw (defa… in page()
433 html += "<option value='1'" + (config.frameBufferAPI == 1 ? selected : empty) + ">GDI</option>\n"; in page()
435 …html += "<tr><td>DLL precaching:</td><td><input name = 'precache' type='checkbox'" + (config.preca… in page()
437 html += "<option value='0'" + (config.shadowMapping == 0 ? selected : empty) + ">None</option>\n"; in page()
438 …html += "<option value='1'" + (config.shadowMapping == 1 ? selected : empty) + ">Fetch4</option>\n… in page()
439 html += "<option value='2'" + (config.shadowMapping == 2 ? selected : empty) + ">DST</option>\n"; in page()
440 …html += "<option value='3'" + (config.shadowMapping == 3 ? selected : empty) + ">Fetch4 & DST (def… in page()
442 …t value:</td><td><input name = 'forceClearRegisters' type='checkbox'" + (config.forceClearRegister… in page()
447 …ype='text' size='10' maxlength='10' name='minPrimitives' value='" + itoa(config.minPrimitives) + "… in page()
448 …ype='text' size='10' maxlength='10' name='maxPrimitives' value='" + itoa(config.maxPrimitives) + "… in page()
538 config.enableSSE = true; in parsePost()
539 config.enableSSE2 = false; in parsePost()
540 config.enableSSE3 = false; in parsePost()
541 config.enableSSSE3 = false; in parsePost()
542 config.enableSSE4_1 = false; in parsePost()
543 config.disableServer = false; in parsePost()
544 config.forceWindowed = false; in parsePost()
545 config.complementaryDepthBuffer = false; in parsePost()
546 config.postBlendSRGB = false; in parsePost()
547 config.exactColorRounding = false; in parsePost()
548 config.disableAlphaMode = false; in parsePost()
549 config.disable10BitMode = false; in parsePost()
550 config.precache = false; in parsePost()
551 config.forceClearRegisters = false; in parsePost()
560 config.pixelShaderVersion = integer; in parsePost()
564 config.vertexShaderVersion = integer; in parsePost()
568 config.textureMemory = integer; in parsePost()
572 config.identifier = integer; in parsePost()
576 config.vertexRoutineCacheSize = integer; in parsePost()
580 config.pixelRoutineCacheSize = integer; in parsePost()
584 config.setupRoutineCacheSize = integer; in parsePost()
588 config.vertexCacheSize = integer; in parsePost()
592 config.textureSampleQuality = integer; in parsePost()
596 config.mipmapQuality = integer; in parsePost()
600 config.perspectiveCorrection = integer != 0; in parsePost()
604 config.transcendentalPrecision = integer; in parsePost()
608 config.transparencyAntialiasing = integer; in parsePost()
612 config.threadCount = integer; in parsePost()
616 config.frameBufferAPI = integer; in parsePost()
620 config.shadowMapping = integer; in parsePost()
624 config.enableSSE = true; in parsePost()
628 if(config.enableSSE) in parsePost()
630 config.enableSSE2 = true; in parsePost()
635 if(config.enableSSE2) in parsePost()
637 config.enableSSE3 = true; in parsePost()
642 if(config.enableSSE3) in parsePost()
644 config.enableSSSE3 = true; in parsePost()
649 if(config.enableSSSE3) in parsePost()
651 config.enableSSE4_1 = true; in parsePost()
656 config.optimization[index - 1] = (rr::Optimization::Pass)integer; in parsePost()
660 config.disableServer = true; in parsePost()
664 config.forceWindowed = true; in parsePost()
668 config.complementaryDepthBuffer = true; in parsePost()
672 config.postBlendSRGB = true; in parsePost()
676 config.exactColorRounding = true; in parsePost()
680 config.disableAlphaMode = true; in parsePost()
684 config.disable10BitMode = true; in parsePost()
688 config.precache = true; in parsePost()
692 config.forceClearRegisters = true; in parsePost()
697 config.minPrimitives = integer; in parsePost()
701 config.maxPrimitives = integer; in parsePost()
721 config.pixelShaderVersion = ini.getInteger("Capabilities", "PixelShaderVersion", 30); in readConfiguration()
722 config.vertexShaderVersion = ini.getInteger("Capabilities", "VertexShaderVersion", 30); in readConfiguration()
723 config.textureMemory = ini.getInteger("Capabilities", "TextureMemory", 256); in readConfiguration()
724 config.identifier = ini.getInteger("Capabilities", "Identifier", 0); in readConfiguration()
725 config.vertexRoutineCacheSize = ini.getInteger("Caches", "VertexRoutineCacheSize", 1024); in readConfiguration()
726 config.pixelRoutineCacheSize = ini.getInteger("Caches", "PixelRoutineCacheSize", 1024); in readConfiguration()
727 config.setupRoutineCacheSize = ini.getInteger("Caches", "SetupRoutineCacheSize", 1024); in readConfiguration()
728 config.vertexCacheSize = ini.getInteger("Caches", "VertexCacheSize", 64); in readConfiguration()
729 config.textureSampleQuality = ini.getInteger("Quality", "TextureSampleQuality", 2); in readConfiguration()
730 config.mipmapQuality = ini.getInteger("Quality", "MipmapQuality", 1); in readConfiguration()
731 config.perspectiveCorrection = ini.getBoolean("Quality", "PerspectiveCorrection", true); in readConfiguration()
732 config.transcendentalPrecision = ini.getInteger("Quality", "TranscendentalPrecision", 2); in readConfiguration()
733 config.transparencyAntialiasing = ini.getInteger("Quality", "TransparencyAntialiasing", 0); in readConfiguration()
734 config.threadCount = ini.getInteger("Processor", "ThreadCount", DEFAULT_THREAD_COUNT); in readConfiguration()
735 config.enableSSE = ini.getBoolean("Processor", "EnableSSE", true); in readConfiguration()
736 config.enableSSE2 = ini.getBoolean("Processor", "EnableSSE2", true); in readConfiguration()
737 config.enableSSE3 = ini.getBoolean("Processor", "EnableSSE3", true); in readConfiguration()
738 config.enableSSSE3 = ini.getBoolean("Processor", "EnableSSSE3", true); in readConfiguration()
739 config.enableSSE4_1 = ini.getBoolean("Processor", "EnableSSE4_1", true); in readConfiguration()
741 for(size_t pass = 0; pass < config.optimization.size(); pass++) in readConfiguration()
744 …config.optimization[pass] = (rr::Optimization::Pass)ini.getInteger("Optimization", "OptimizationPa… in readConfiguration()
747 config.disableServer = ini.getBoolean("Testing", "DisableServer", false); in readConfiguration()
748 config.forceWindowed = ini.getBoolean("Testing", "ForceWindowed", false); in readConfiguration()
749 config.complementaryDepthBuffer = ini.getBoolean("Testing", "ComplementaryDepthBuffer", false); in readConfiguration()
750 config.postBlendSRGB = ini.getBoolean("Testing", "PostBlendSRGB", false); in readConfiguration()
751 config.exactColorRounding = ini.getBoolean("Testing", "ExactColorRounding", true); in readConfiguration()
752 config.disableAlphaMode = ini.getBoolean("Testing", "DisableAlphaMode", false); in readConfiguration()
753 config.disable10BitMode = ini.getBoolean("Testing", "Disable10BitMode", false); in readConfiguration()
754 config.frameBufferAPI = ini.getInteger("Testing", "FrameBufferAPI", 0); in readConfiguration()
755 config.precache = ini.getBoolean("Testing", "Precache", false); in readConfiguration()
756 config.shadowMapping = ini.getInteger("Testing", "ShadowMapping", 3); in readConfiguration()
757 config.forceClearRegisters = ini.getBoolean("Testing", "ForceClearRegisters", false); in readConfiguration()
760 config.minPrimitives = 1; in readConfiguration()
761 config.maxPrimitives = 1 << 21; in readConfiguration()
772 config.disableServer = true; in readConfiguration()
780 ini.addValue("Capabilities", "PixelShaderVersion", itoa(config.pixelShaderVersion)); in writeConfiguration()
781 ini.addValue("Capabilities", "VertexShaderVersion", itoa(config.vertexShaderVersion)); in writeConfiguration()
782 ini.addValue("Capabilities", "TextureMemory", itoa(config.textureMemory)); in writeConfiguration()
783 ini.addValue("Capabilities", "Identifier", itoa(config.identifier)); in writeConfiguration()
784 ini.addValue("Caches", "VertexRoutineCacheSize", itoa(config.vertexRoutineCacheSize)); in writeConfiguration()
785 ini.addValue("Caches", "PixelRoutineCacheSize", itoa(config.pixelRoutineCacheSize)); in writeConfiguration()
786 ini.addValue("Caches", "SetupRoutineCacheSize", itoa(config.setupRoutineCacheSize)); in writeConfiguration()
787 ini.addValue("Caches", "VertexCacheSize", itoa(config.vertexCacheSize)); in writeConfiguration()
788 ini.addValue("Quality", "TextureSampleQuality", itoa(config.textureSampleQuality)); in writeConfiguration()
789 ini.addValue("Quality", "MipmapQuality", itoa(config.mipmapQuality)); in writeConfiguration()
790 ini.addValue("Quality", "PerspectiveCorrection", itoa(config.perspectiveCorrection)); in writeConfiguration()
791 ini.addValue("Quality", "TranscendentalPrecision", itoa(config.transcendentalPrecision)); in writeConfiguration()
792 ini.addValue("Quality", "TransparencyAntialiasing", itoa(config.transparencyAntialiasing)); in writeConfiguration()
793 ini.addValue("Processor", "ThreadCount", itoa(config.threadCount)); in writeConfiguration()
795 ini.addValue("Processor", "EnableSSE2", itoa(config.enableSSE2)); in writeConfiguration()
796 ini.addValue("Processor", "EnableSSE3", itoa(config.enableSSE3)); in writeConfiguration()
797 ini.addValue("Processor", "EnableSSSE3", itoa(config.enableSSSE3)); in writeConfiguration()
798 ini.addValue("Processor", "EnableSSE4_1", itoa(config.enableSSE4_1)); in writeConfiguration()
800 for(size_t pass = 0; pass < config.optimization.size(); pass++) in writeConfiguration()
802 …ini.addValue("Optimization", "OptimizationPass" + itoa(pass + 1), itoa((int)config.optimization[pa… in writeConfiguration()
805 ini.addValue("Testing", "DisableServer", itoa(config.disableServer)); in writeConfiguration()
806 ini.addValue("Testing", "ForceWindowed", itoa(config.forceWindowed)); in writeConfiguration()
807 ini.addValue("Testing", "ComplementaryDepthBuffer", itoa(config.complementaryDepthBuffer)); in writeConfiguration()
808 ini.addValue("Testing", "PostBlendSRGB", itoa(config.postBlendSRGB)); in writeConfiguration()
809 ini.addValue("Testing", "ExactColorRounding", itoa(config.exactColorRounding)); in writeConfiguration()
810 ini.addValue("Testing", "DisableAlphaMode", itoa(config.disableAlphaMode)); in writeConfiguration()
811 ini.addValue("Testing", "Disable10BitMode", itoa(config.disable10BitMode)); in writeConfiguration()
812 ini.addValue("Testing", "FrameBufferAPI", itoa(config.frameBufferAPI)); in writeConfiguration()
813 ini.addValue("Testing", "Precache", itoa(config.precache)); in writeConfiguration()
814 ini.addValue("Testing", "ShadowMapping", itoa(config.shadowMapping)); in writeConfiguration()
815 ini.addValue("Testing", "ForceClearRegisters", itoa(config.forceClearRegisters)); in writeConfiguration()