|
|
@@ -326,6 +326,19 @@ ConfigVariableBool gl_depth_zero_to_one
|
|
|
"range from 0 to 1, matching other graphics APIs. This setting "
|
|
|
"requires OpenGL 4.5, or NVIDIA GeForce 8+ hardware."));
|
|
|
|
|
|
+ConfigVariableInt gl_texture_reload_num_threads
|
|
|
+ ("gl-texture-transfer-num-threads", 2,
|
|
|
+ PRC_DESC("The number of threads that will be started to upload and download "
|
|
|
+ "texture data asynchronously, either via the setup_async_transfer "
|
|
|
+ "interface on the the Texture class or via the async screenshot "
|
|
|
+ "interface."));
|
|
|
+
|
|
|
+ConfigVariableEnum<ThreadPriority> gl_texture_transfer_thread_priority
|
|
|
+ ("gl-texture-transfer-thread-priority", TP_normal,
|
|
|
+ PRC_DESC("The default thread priority to assign to the threads created for "
|
|
|
+ "asynchronous texture transfers. The default is 'normal'; you may "
|
|
|
+ "also specify 'low', 'high', or 'urgent'."));
|
|
|
+
|
|
|
extern ConfigVariableBool gl_parallel_arrays;
|
|
|
|
|
|
void CLP(init_classes)() {
|