tests: remove dependencies on xglgpu.h
Replace XglGpu by xgl_testing::PhysicalGpu. Replace MAX_GPUS by
XGL_MAX_PHYSICAL_GPUS.
diff --git a/tests/xglrenderframework.h b/tests/xglrenderframework.h
index 84ffe5a..c9fb54d 100644
--- a/tests/xglrenderframework.h
+++ b/tests/xglrenderframework.h
@@ -51,7 +51,7 @@
protected:
XGL_APPLICATION_INFO app_info;
- XGL_PHYSICAL_GPU objs[MAX_GPUS];
+ XGL_PHYSICAL_GPU objs[XGL_MAX_PHYSICAL_GPUS];
XGL_UINT gpu_count;
XglDevice *m_device;
XGL_CMD_BUFFER m_cmdBuffer;
@@ -84,7 +84,7 @@
this->app_info.apiVersion = XGL_MAKE_VERSION(0, 22, 0);
err = xglInitAndEnumerateGpus(&app_info, NULL,
- MAX_GPUS, &this->gpu_count, objs);
+ XGL_MAX_PHYSICAL_GPUS, &this->gpu_count, objs);
ASSERT_XGL_SUCCESS(err);
ASSERT_GE(this->gpu_count, 1) << "No GPU available";