diff options
author | Mark Janes <mark.a.janes@intel.com> | 2016-10-11 18:50:21 -0700 |
---|---|---|
committer | Mark Janes <mark.a.janes@intel.com> | 2017-06-19 14:04:48 -0700 |
commit | fa52098a889fe636c7ae5c328299fcbeec23c0d2 (patch) | |
tree | 16df1b18a04e6b140a823b5159f55ce4853079a0 /retrace/daemon/glframe_retrace_skeleton.cpp | |
parent | 0399ffb342a2d9d41e68ce8f8e38e73e217a0357 (diff) |
Add metric descriptions to UI.
Diffstat (limited to 'retrace/daemon/glframe_retrace_skeleton.cpp')
-rw-r--r-- | retrace/daemon/glframe_retrace_skeleton.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/retrace/daemon/glframe_retrace_skeleton.cpp b/retrace/daemon/glframe_retrace_skeleton.cpp index 02ea379b..66578857 100644 --- a/retrace/daemon/glframe_retrace_skeleton.cpp +++ b/retrace/daemon/glframe_retrace_skeleton.cpp @@ -350,13 +350,16 @@ FrameRetraceSkeleton::onShaderCompile(RenderId renderId, void FrameRetraceSkeleton::onMetricList(const std::vector<MetricId> &ids, - const std::vector<std::string> &names) { + const std::vector<std::string> &names, + const std::vector<std::string> &desc) { RetraceResponse proto_response; auto metrics_response = proto_response.mutable_metricslist(); for (auto i : ids) metrics_response->add_metric_ids(i()); for (auto i : names) metrics_response->add_metric_names(i); + for (auto i : desc) + metrics_response->add_metric_descriptions(i); writeResponse(m_socket, proto_response, &m_buf); } |