Add adaptive feed texture probe
This commit is contained in:
@@ -581,6 +581,10 @@ bool applyConfigFile(
|
||||
{
|
||||
config.v210UploadWorker = boolValue;
|
||||
}
|
||||
if (jsonBool(objectField(*root, "adaptiveFeedTexture"), boolValue))
|
||||
{
|
||||
config.adaptiveFeedTexture = boolValue;
|
||||
}
|
||||
|
||||
if (const std::string* present =
|
||||
jsonString(objectField(*root, "present")))
|
||||
@@ -814,6 +818,7 @@ void printUsage(const char* executableName)
|
||||
<< " --verbose Enable detailed startup and SDK logs\n"
|
||||
<< " --pace-uploads Pace v210 uploads by feed frame rate\n"
|
||||
<< " --v210-upload-worker Copy direct v210 payloads on a worker thread\n"
|
||||
<< " --adaptive-feed-texture Size feed textures to grid tile size\n"
|
||||
<< " --config <path> Load JSON feed configuration\n"
|
||||
<< " --grid <cols>x<rows> Set multiview grid (default 2x2, max 16 feeds)\n"
|
||||
<< " --fps-cap <fps> Limit render loop FPS (default 60)\n"
|
||||
@@ -966,6 +971,12 @@ ConfigParseResult parseAppConfig(
|
||||
continue;
|
||||
}
|
||||
|
||||
if (arg == "--adaptive-feed-texture")
|
||||
{
|
||||
result.config.adaptiveFeedTexture = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (arg == "--v210-staging-memory")
|
||||
{
|
||||
if (i + 1 >= argc)
|
||||
|
||||
Reference in New Issue
Block a user