Searched refs:gpuJson (Results 1 – 1 of 1) sorted by relevance
131 JSONObject gpuJson = json.getJSONObject("gpu"); in createVirtualMachineConfig() local135 if (gpuJson.has("backend")) { in createVirtualMachineConfig()136 gpuConfigBuilder.setBackend(gpuJson.getString("backend")); in createVirtualMachineConfig()138 if (gpuJson.has("context_types")) { in createVirtualMachineConfig()140 JSONArray contextTypesJson = gpuJson.getJSONArray("context_types"); in createVirtualMachineConfig()146 if (gpuJson.has("pci_address")) { in createVirtualMachineConfig()147 gpuConfigBuilder.setPciAddress(gpuJson.getString("pci_address")); in createVirtualMachineConfig()149 if (gpuJson.has("renderer_features")) { in createVirtualMachineConfig()150 gpuConfigBuilder.setRendererFeatures(gpuJson.getString("renderer_features")); in createVirtualMachineConfig()152 if (gpuJson.has("renderer_use_egl")) { in createVirtualMachineConfig()[all …]