| 156 | } |
| 157 | |
| 158 | void RGPInterop::InitializeRGP() |
| 159 | { |
| 160 | RGPInteropInit init; |
| 161 | |
| 162 | init.interop_version = 1; |
| 163 | init.interop_name = lit("RenderDoc"); |
| 164 | |
| 165 | QString encoded = EncodeCommand(RGPCommand::Initialize, init.toParams(m_Version)); |
| 166 | |
| 167 | if(m_Socket) |
| 168 | { |
| 169 | m_Socket->write(encoded.trimmed().toUtf8().data()); |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | bool RGPInterop::HasRGPEvent(uint32_t eventId) |
| 174 | { |