mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Split out the GPU vendor and the full detail.
This way we can sort things more easily.
This commit is contained in:
parent
8d4299a4d2
commit
b0ce9e934e
5 changed files with 17 additions and 8 deletions
|
@ -242,15 +242,16 @@ namespace Reporting
|
||||||
{
|
{
|
||||||
Payload &payload = payloadBuffer[pos];
|
Payload &payload = payloadBuffer[pos];
|
||||||
|
|
||||||
std::string gpuInfo;
|
std::string gpuPrimary, gpuFull;
|
||||||
gpu->GetReportingInfo(gpuInfo);
|
gpu->GetReportingInfo(gpuPrimary, gpuFull);
|
||||||
|
|
||||||
UrlEncoder postdata;
|
UrlEncoder postdata;
|
||||||
postdata.Add("version", PPSSPP_GIT_VERSION);
|
postdata.Add("version", PPSSPP_GIT_VERSION);
|
||||||
// TODO: Maybe ParamSFOData shouldn't include nulls in std::strings? Don't work to break savedata, though...
|
// TODO: Maybe ParamSFOData shouldn't include nulls in std::strings? Don't work to break savedata, though...
|
||||||
postdata.Add("game", StripTrailingNull(g_paramSFO.GetValueString("DISC_ID")) + "_" + StripTrailingNull(g_paramSFO.GetValueString("DISC_VERSION")));
|
postdata.Add("game", StripTrailingNull(g_paramSFO.GetValueString("DISC_ID")) + "_" + StripTrailingNull(g_paramSFO.GetValueString("DISC_VERSION")));
|
||||||
postdata.Add("game_title", StripTrailingNull(g_paramSFO.GetValueString("TITLE")));
|
postdata.Add("game_title", StripTrailingNull(g_paramSFO.GetValueString("TITLE")));
|
||||||
postdata.Add("gpu", gpuInfo);
|
postdata.Add("gpu", gpuPrimary);
|
||||||
|
postdata.Add("gpu_full", gpuFull);
|
||||||
postdata.Add("cpu", cpu_info.Summarize());
|
postdata.Add("cpu", cpu_info.Summarize());
|
||||||
postdata.Add("platform", GetPlatformIdentifer());
|
postdata.Add("platform", GetPlatformIdentifer());
|
||||||
|
|
||||||
|
|
|
@ -223,7 +223,8 @@ void GLES_GPU::BuildReportingInfo() {
|
||||||
|
|
||||||
char temp[2048];
|
char temp[2048];
|
||||||
snprintf(temp, sizeof(temp), "%s (%s %s), %s (extensions: %s)", glVersion, glVendor, glRenderer, glSlVersion, glExtensions);
|
snprintf(temp, sizeof(temp), "%s (%s %s), %s (extensions: %s)", glVersion, glVendor, glRenderer, glSlVersion, glExtensions);
|
||||||
reportingInfo_ = temp;
|
reportingPrimaryInfo_ = glVendor;
|
||||||
|
reportingFullInfo_ = temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLES_GPU::DeviceLost() {
|
void GLES_GPU::DeviceLost() {
|
||||||
|
|
|
@ -60,7 +60,10 @@ public:
|
||||||
}
|
}
|
||||||
virtual bool FramebufferDirty();
|
virtual bool FramebufferDirty();
|
||||||
|
|
||||||
virtual void GetReportingInfo(std::string &info) { info = reportingInfo_; }
|
virtual void GetReportingInfo(std::string &primaryInfo, std::string &fullInfo) {
|
||||||
|
primaryInfo = reportingPrimaryInfo_;
|
||||||
|
fullInfo = reportingFullInfo_;
|
||||||
|
}
|
||||||
std::vector<FramebufferInfo> GetFramebufferList();
|
std::vector<FramebufferInfo> GetFramebufferList();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@ -84,5 +87,6 @@ private:
|
||||||
u8 *flushBeforeCommand_;
|
u8 *flushBeforeCommand_;
|
||||||
bool resized_;
|
bool resized_;
|
||||||
|
|
||||||
std::string reportingInfo_;
|
std::string reportingPrimaryInfo_;
|
||||||
|
std::string reportingFullInfo_;
|
||||||
};
|
};
|
||||||
|
|
|
@ -187,7 +187,7 @@ public:
|
||||||
|
|
||||||
// Debugging
|
// Debugging
|
||||||
virtual void DumpNextFrame() = 0;
|
virtual void DumpNextFrame() = 0;
|
||||||
virtual void GetReportingInfo(std::string &info) = 0;
|
virtual void GetReportingInfo(std::string &primaryInfo, std::string &fullInfo) = 0;
|
||||||
virtual const std::list<int>& GetDisplayLists() = 0;
|
virtual const std::list<int>& GetDisplayLists() = 0;
|
||||||
virtual DisplayList* GetCurrentDisplayList() = 0;
|
virtual DisplayList* GetCurrentDisplayList() = 0;
|
||||||
virtual bool DecodeTexture(u8* dest, GPUgstate state) = 0;
|
virtual bool DecodeTexture(u8* dest, GPUgstate state) = 0;
|
||||||
|
|
|
@ -42,7 +42,10 @@ public:
|
||||||
virtual void DumpNextFrame() {}
|
virtual void DumpNextFrame() {}
|
||||||
|
|
||||||
virtual void Resized() {}
|
virtual void Resized() {}
|
||||||
virtual void GetReportingInfo(std::string &info) { info = "NULL"; }
|
virtual void GetReportingInfo(std::string &primaryInfo, std::string &fullInfo) {
|
||||||
|
primaryInfo = "NULL";
|
||||||
|
fullInfo = "NULL";
|
||||||
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void FastRunLoop(DisplayList &list);
|
virtual void FastRunLoop(DisplayList &list);
|
||||||
|
|
Loading…
Add table
Reference in a new issue