mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-15 14:42:26 +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:
@@ -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