summaryrefslogtreecommitdiff
path: root/indra/newview/llremoteparcelrequest.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-09-13 16:01:05 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-09-13 16:01:05 -0400
commit6c226ac96c8ba01e62ea1085177b2859b74b85d8 (patch)
treec52e5996142c37d22d923fc453a6d65081028314 /indra/newview/llremoteparcelrequest.h
parent7ced89435d702b8a6bc02908769bed47e20d6ec0 (diff)
Add context info to Develop->Render Tests->Frame Profile stats file.
Specifically, add the viewer version, the machine ID, the grid, the region name and ID, the parcel name and ID and the timestamp. This is both richer and less fragile than trying to extract that information from the generated filename: e.g. we now have region and parcel names. Instead of making `LLGLSLShader::finishProfile()` mess with file I/O, pass it a reference to a `boost::json::value` to be filled in with statistics, if it's a `boost::json::object`. Otherwise it's `boost::json::null`, meaning no report. Make llviewerdisplay.cpp's `display()` function instantiate a `boost::json::value` to pass to `finishProfile()`. That lets llviewerdisplay.cpp also set the `"context"` entry, with a new `getProfileStatsContext()` function quite similar to `getProfileStatsFilename()`.
Diffstat (limited to 'indra/newview/llremoteparcelrequest.h')
0 files changed, 0 insertions, 0 deletions