Blender Git Commit Log

Git Commits -> Revision 6d04e48

Revision 6d04e48 by Germano Cavalcante (master)
September 6, 2018, 00:15 (GMT)
Join the python modules `gpu` and `_gpu` into one.

Maybe it's still early to set the new drawing api for python.
But joining these two modules is an initial step.

```
>>> gpu.
matrix
select
types
```
```
>>> gpu.types.GPU
Batch(
OffScreen(
VertBuf(
VertFormat(
```
The creation of a new offscreen object is now done by the `GPUOffscreen.__new__` method.

Reviewers: campbellbarton, dfelinto

Reviewed By: campbellbarton, dfelinto

Tags: #bf_blender_2.8

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

Commit Details:

Full Hash: 6d04e48539ce50f0de9cc73a36e7733aee608773
Parent Commit: b060248
Lines Changed: +2467, -1741

13 Added Paths:

/doc/python_api/examples/gpu.types.GPUOffScreen.py (+193, -0) (View)
/source/blender/python/gpu/gpu_py_batch.c (+414, -0) (View)
/source/blender/python/gpu/gpu_py_batch.h (+48, -0) (View)
/source/blender/python/gpu/gpu_py_matrix.c (+555, -0) (View)
/source/blender/python/gpu/gpu_py_matrix.h (+30, -0) (View)
/source/blender/python/gpu/gpu_py_offscreen.c (+336, -0) (View)
/source/blender/python/gpu/gpu_py_offscreen.h (+41, -0) (View)
/source/blender/python/gpu/gpu_py_select.c (+95, -0) (View)
/source/blender/python/gpu/gpu_py_select.h (+30, -0) (View)
/source/blender/python/gpu/gpu_py_vertex_buffer.c (+345, -0) (View)
/source/blender/python/gpu/gpu_py_vertex_buffer.h (+42, -0) (View)
/source/blender/python/gpu/gpu_py_vertex_format.c (+230, -0) (View)
/source/blender/python/gpu/gpu_py_vertex_format.h (+41, -0) (View)

5 Deleted Paths:

/doc/python_api/examples/gpu.offscreen.1.py (+0, -193)
/doc/python_api/rst/gpu.rst (+0, -20)
/source/blender/python/intern/gpu.h (+0, -43)
/source/blender/python/intern/gpu_py_matrix.c (+0, -552)
/source/blender/python/intern/gpu_py_select.c (+0, -92)

8 Modified Paths:

/doc/python_api/sphinx_doc_gen.py (+7, -3) (Diff)
/source/blender/python/gpu/CMakeLists.txt (+12, -0) (Diff)
/source/blender/python/gpu/gpu_py_api.c (+31, -11) (Diff)
/source/blender/python/gpu/gpu_py_api.h (+4, -4) (Diff)
/source/blender/python/gpu/gpu_py_types.c (+7, -778) (Diff)
/source/blender/python/gpu/gpu_py_types.h (+5, -37) (Diff)
/source/blender/python/intern/bpy_interface.c (+1, -3) (Diff)
/source/blender/python/intern/CMakeLists.txt (+0, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021