소스 검색

Update thread_safe_apis.rst to mention don't call certain rendering functions on other threads (#8749)

* Update thread_safe_apis.rst to mention don't call certain rendering functions on other threads

---------

Co-authored-by: Max Hilbrunner <[email protected]>
Co-authored-by: A Thousand Ships <[email protected]>
谢天 1 년 전
부모
커밋
c6abcbae94
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      tutorials/performance/thread_safe_apis.rst

+ 4 - 0
tutorials/performance/thread_safe_apis.rst

@@ -60,6 +60,10 @@ To make rendering thread-safe, set the **Rendering > Driver > Thread Model** pro
 Note that the Multi-Threaded thread model has several known bugs, so it may not be usable
 in all scenarios.
 
+You should avoid calling functions involving direct interaction with the GPU on other threads, such as creating new textures
+or modifying and retrieving image data, these operations can lead to performance stalls because they require synchronization 
+with the :ref:`RenderingServer<class_RenderingServer>`, as data needs to be transmitted to or updated on the GPU.
+
 GDScript arrays, dictionaries
 -----------------------------