Blender Git Loki

Git Commits -> Revision 48fa029

Revision 48fa029 by Germano Cavalcante (master)
May 14, 2021, 15:26 (GMT)
Python GPU: New 'platform' module

This module exposes the platform utils defined in the GPU module in C.

This will be useful for porting existing code with `bgl` to `gpu`.

Reviewed By: fclem, brecht, campbellbarton

Maniphest Tasks: T80730

Part of D11147

Commit Details:

Full Hash: 48fa029dd11bb09d4aca8e0a420781e3ec07a3a2
Parent Commit: 3f4f109
Lines Changed: +223, -56

2 Added Paths:

/source/blender/python/gpu/gpu_py_platform.c (+81, -0) (View)
/source/blender/python/gpu/gpu_py_platform.h (+23, -0) (View)

6 Modified Paths:

/source/blender/gpu/GPU_platform.h (+3, -0) (Diff)
/source/blender/gpu/intern/gpu_platform.cc (+61, -12) (Diff)
/source/blender/gpu/intern/gpu_platform_private.hh (+10, -6) (Diff)
/source/blender/gpu/opengl/gl_backend.cc (+39, -38) (Diff)
/source/blender/python/gpu/CMakeLists.txt (+2, -0) (Diff)
/source/blender/python/gpu/gpu_py_api.c (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021