MCPcopy Create free account
hub / github.com/baldurk/renderdoc / DriverName

Method DriverName

renderdoc/core/remote_server.cpp:1874–1903  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1872}
1873
1874rdcstr RemoteServer::DriverName()
1875{
1876 if(!Connected())
1877 return "";
1878
1879 {
1880 WRITE_DATA_SCOPE();
1881 SCOPED_SERIALISE_CHUNK(RemoteServerPacket::GetDriverName);
1882 }
1883
1884 rdcstr driverName = "";
1885
1886 {
1887 READ_DATA_SCOPE();
1888 RemoteServerPacket type = ser.ReadChunk<RemoteServerPacket>();
1889
1890 if(type == RemoteServerPacket::GetDriverName)
1891 {
1892 SERIALISE_ELEMENT(driverName);
1893 }
1894 else
1895 {
1896 RDCERR("Unexpected response to GetDriverName");
1897 }
1898
1899 ser.EndChunk();
1900 }
1901
1902 return driverName;
1903}
1904
1905rdcarray<GPUDevice> RemoteServer::GetAvailableGPUs()
1906{

Callers 4

LoadCaptureThreadedMethod · 0.45
LoadCaptureMethod · 0.45
OnCaptureLoadedMethod · 0.45
open_captureFunction · 0.45

Calls 1

EndChunkMethod · 0.80

Tested by

no test coverage detected