| 1872 | } |
| 1873 | |
| 1874 | rdcstr 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 | |
| 1905 | rdcarray<GPUDevice> RemoteServer::GetAvailableGPUs() |
| 1906 | { |
no test coverage detected