mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-22 16:17:20 +00:00
Functionally revert f60e7241
Switching to indirect rendering has a high risk of performance and functionality regressions, so let's just continue using AVSampleBufferDisplayLayer until we have a Metal renderer since #973 is fixed. This isn't an actual revert because we want to still keep the indirect override around.
This commit is contained in:
1 parent
7100262e09
commit
f4b0f4d78f
1 file changed
-12
@@ -478,19 +478,7 @@ public:
|
||||
"Using indirect rendering due to environment variable");
|
||||
m_DirectRendering = false;
|
||||
}
|
||||
else if (params->videoFormat & VIDEO_FORMAT_MASK_10BIT) {
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Using direct rendering for 10-bit content");
|
||||
m_DirectRendering = true;
|
||||
}
|
||||
else if (isAppleSilicon) {
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Using indirect rendering for 8-bit content on Apple Silicon");
|
||||
m_DirectRendering = false;
|
||||
}
|
||||
else {
|
||||
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
|
||||
"Using direct rendering for 8-bit content on Intel");
|
||||
m_DirectRendering = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user