Blender Git Loki

Git Commits -> Revision 56dd7fe

Revision 56dd7fe by Jeroen Bakker (master)
October 4, 2019, 14:23 (GMT)
GPU: Platform Support Level

Adds a check when starting blender if your platform is supported. We use a blacklist
as drivers are updated more regular then blender (stable releases).

The mechanism detects if the support level changed or has been validated by the user previously.
Changes can happen due to users updating their drivers, but also when we change the support
level in our code base.

When the user has seen the limited support level message it is saved in the user config.
It would be better to have a system specific config section, but currently not clear
what could benefit from that.

When the platform is unsupported or has limited support a dialog box will appear including a link
to our user manual describing what to do.

**Windows**
Windows uses the MessageBox that is provided by the windows kernel.

**X11**
We use a very lowlevel messagebox for X11. It is very limited in use and can be fine tuned when needed.

**SDL/APPLE**
There is no implementation for SDL or APPLE at this moment as the platform support feature targets mostly Windows users.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5955

Commit Details:

Full Hash: 56dd7feb06bff69dce11d72828a6091eb48adebe
Parent Commit: 45745f7
Lines Changed: +999, -125

5 Added Paths:

/source/blender/gpu/GPU_platform.h (+75, -0) (View)
/source/blender/gpu/intern/gpu_platform.c (+246, -0) (View)
/source/blender/windowmanager/intern/wm_platform_support.c (+216, -0) (View)
/source/blender/windowmanager/intern/wm_platform_support.h (+30, -0) (View)
/source/blender/windowmanager/intern/wm_window_private.h (+40, -0) (View)

28 Modified Paths:

/intern/ghost/GHOST_C-api.h (+16, -0) (Diff)
/intern/ghost/GHOST_ISystem.h (+17, -0) (Diff)
/intern/ghost/GHOST_Types.h (+5, -0) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+17, -2) (Diff)
/intern/ghost/intern/GHOST_System.h (+15, -0) (Diff)
/intern/ghost/intern/GHOST_SystemCocoa.mm (+2, -1) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.cpp (+43, -7) (Diff)
/intern/ghost/intern/GHOST_SystemWin32.h (+12, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.cpp (+210, -0) (Diff)
/intern/ghost/intern/GHOST_SystemX11.h (+11, -0) (Diff)
/source/blender/blenkernel/BKE_appdir.h (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_effects.c (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_occlusion.c (+1, -0) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+1, -0) (Diff)
/source/blender/editors/screen/screen_draw.c (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.c (+1, -1) (Diff)
/source/blender/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/gpu/GPU_extensions.h (+0, -28) (Diff)
/source/blender/gpu/intern/gpu_batch.c (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+8, -82) (Diff)
/source/blender/gpu/intern/gpu_init_exit.c (+3, -2) (Diff)
/source/blender/gpu/intern/gpu_private.h (+4, -0) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_texture.c (+1, -0) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+5, -0) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+11, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021