mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Just some renaming. Start moving away from the "thin3d" name
This commit is contained in:
1 parent
1044796de2
commit
20d9e60a67
34 files changed
+128
-133
No files matched your search
+7
-7
@@ -352,11 +352,11 @@ void SystemInfoScreen::CreateViews() {
|
||||
#endif
|
||||
deviceSpecs->Add(new ItemHeader("GPU Information"));
|
||||
|
||||
DrawContext *thin3d = screenManager()->getThin3DContext();
|
||||
DrawContext *draw = screenManager()->getDrawContext();
|
||||
|
||||
deviceSpecs->Add(new InfoItem("3D API", thin3d->GetInfoString(InfoField::APINAME)));
|
||||
deviceSpecs->Add(new InfoItem("Vendor", std::string(thin3d->GetInfoString(InfoField::VENDORSTRING)) + " (" + thin3d->GetInfoString(InfoField::VENDOR) + ")"));
|
||||
deviceSpecs->Add(new InfoItem("Model", thin3d->GetInfoString(InfoField::RENDERER)));
|
||||
deviceSpecs->Add(new InfoItem("3D API", draw->GetInfoString(InfoField::APINAME)));
|
||||
deviceSpecs->Add(new InfoItem("Vendor", std::string(draw->GetInfoString(InfoField::VENDORSTRING)) + " (" + draw->GetInfoString(InfoField::VENDOR) + ")"));
|
||||
deviceSpecs->Add(new InfoItem("Model", draw->GetInfoString(InfoField::RENDERER)));
|
||||
#ifdef _WIN32
|
||||
deviceSpecs->Add(new InfoItem("Driver Version", System_GetProperty(SYSPROP_GPUDRIVER_VERSION)));
|
||||
if (GetGPUBackend() == GPUBackend::DIRECT3D9) {
|
||||
@@ -391,12 +391,12 @@ void SystemInfoScreen::CreateViews() {
|
||||
apiVersion = StringFromFormat("v%d.%d.%d", gl_extensions.ver[0], gl_extensions.ver[1], gl_extensions.ver[2]);
|
||||
}
|
||||
} else {
|
||||
apiVersion = thin3d->GetInfoString(InfoField::APIVERSION);
|
||||
apiVersion = draw->GetInfoString(InfoField::APIVERSION);
|
||||
if (apiVersion.size() > 30)
|
||||
apiVersion.resize(30);
|
||||
}
|
||||
deviceSpecs->Add(new InfoItem("API Version", apiVersion));
|
||||
deviceSpecs->Add(new InfoItem("Shading Language", thin3d->GetInfoString(InfoField::SHADELANGVERSION)));
|
||||
deviceSpecs->Add(new InfoItem("Shading Language", draw->GetInfoString(InfoField::SHADELANGVERSION)));
|
||||
|
||||
#ifdef __ANDROID__
|
||||
std::string moga = System_GetProperty(SYSPROP_MOGA_VERSION);
|
||||
@@ -474,7 +474,7 @@ void SystemInfoScreen::CreateViews() {
|
||||
tabHolder->AddTab("Vulkan Features", oglExtensionsScroll);
|
||||
|
||||
oglExtensions->Add(new ItemHeader("Vulkan Features"));
|
||||
std::vector<std::string> features = thin3d->GetFeatureList();
|
||||
std::vector<std::string> features = draw->GetFeatureList();
|
||||
for (auto &feature : features) {
|
||||
oglExtensions->Add(new TextView(feature))->SetFocusable(true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user