Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_manager.c
| Context not available. | |||||
| DrawEngineType *draw_engine_type = engine_type->draw_engine; | DrawEngineType *draw_engine_type = engine_type->draw_engine; | ||||
| Render *render = engine->re; | Render *render = engine->re; | ||||
| /* Legacy Intel Devices on Windows aren't able to share shaders between contextes. | |||||
jbakker: HD4000 Series | |||||
| * For image rendering these are scheduled on the main thread to share the same context. | |||||
| * | |||||
| * We ignore icon/preview rendering as these devices are not officially supported. Adding support | |||||
Done Inline Actionsthese devices are officially supported jbakker: these devices are officially supported | |||||
| * in a clean way required an overhaul icon/preview rendering. */ | |||||
| if (!BLI_thread_is_main() && GPU_main_thread_workaround()) { | |||||
| return; | |||||
| } | |||||
| /* IMPORTANT: We don't support immediate mode in render mode! | /* IMPORTANT: We don't support immediate mode in render mode! | ||||
| * This shall remain in effect until immediate mode supports | * This shall remain in effect until immediate mode supports | ||||
| * multiple threads. */ | * multiple threads. */ | ||||
| Context not available. | |||||
HD4000 Series