summaryrefslogtreecommitdiff
path: root/retrace/daemon/glframe_retrace_skeleton.cpp
diff options
context:
space:
mode:
authorMark Janes <mark.a.janes@intel.com>2017-05-04 17:46:48 -0700
committerMark Janes <mark.a.janes@intel.com>2017-06-19 14:04:51 -0700
commita2ad79db9ee507879e10cb9367aa179b9f5123e8 (patch)
tree51ea155b073e600d8e8ca14ce1edaaac63e188ad /retrace/daemon/glframe_retrace_skeleton.cpp
parent00aaf8d033522089382a94610d6e92f31f31ce4f (diff)
RenderTarget: Retrace RT for all of the attached framebuffers
Diffstat (limited to 'retrace/daemon/glframe_retrace_skeleton.cpp')
-rw-r--r--retrace/daemon/glframe_retrace_skeleton.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/retrace/daemon/glframe_retrace_skeleton.cpp b/retrace/daemon/glframe_retrace_skeleton.cpp
index 1b7d28c8..bab81b6f 100644
--- a/retrace/daemon/glframe_retrace_skeleton.cpp
+++ b/retrace/daemon/glframe_retrace_skeleton.cpp
@@ -210,6 +210,14 @@ FrameRetraceSkeleton::Run() {
(RenderTargetType)rt.type(),
(RenderOptions)rt.options(),
this);
+ // send empty message to signal the last response
+ RetraceResponse proto_response;
+ auto rt_resp = proto_response.mutable_rendertarget();
+ rt_resp->set_selection_count(-1);
+ rt_resp->set_experiment_count(-1);
+ rt_resp->set_image("");
+ ShaderAssembly s;
+ writeResponse(m_socket, proto_response, &m_buf);
break;
}
case ApiTrace::METRICS_REQUEST: