Use 4 background threads for shader compiler on PowerVR

Since powervr supports parallel shader compilation well, we use 
4 background threads for shader compilation.
This commit is contained in:
Mathias Agopian
2023-08-10 14:45:39 -07:00
committed by Mathias Agopian
parent 7840404132
commit f537f62adf
4 changed files with 47 additions and 12 deletions

View File

@@ -293,7 +293,8 @@ public:
enum class Priority {
NORMAL,
DISPLAY,
URGENT_DISPLAY
URGENT_DISPLAY,
BACKGROUND
};
static void setThreadPriority(Priority priority) noexcept;