Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-11 | Cleanup: comment indentation & spelling | Campbell Barton | |
2019-02-06 | Cleanup: remove redundant doxygen \file argument | Campbell Barton | |
Move \ingroup onto same line to be more compact and make it clear the file is in the group. | |||
2019-02-05 | Cleanup: remove contributors for CMake files | Campbell Barton | |
Following removal from C source code. See: 8c68ed6df16d8893 | |||
2019-02-03 | Cleanup: trailing commas | Campbell Barton | |
Needed for clan-format not to wrap onto one line. | |||
2019-02-01 | Cleanup: remove redundant, invalid info from headers | Campbell Barton | |
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits. | |||
2019-01-29 | Cleanup: replace attrib w/ attr | Campbell Barton | |
Also rename GPUVertexAttribs to GPUVertAttrLayers, avoids confusion with GPUVertAttr which isn't closely related. | |||
2019-01-26 | Cleanup: blank lines over doxy headers | Campbell Barton | |
2019-01-26 | Cleanup: remove redundant BKE/BLI/BIF headers | Campbell Barton | |
2019-01-23 | Cleanup: use eGPU prefix for GPU enum types | Campbell Barton | |
2019-01-17 | GPU: Rename GPU_shader_get_uniform to GPU_shader_get_uniform_ensure | Clément Foucault | |
This is in order to make the API more multithread friendly inside the draw manager. GPU_shader_get_uniform will only serve to query the shader interface and not do any GL call, making it threadsafe. For now it only print a warning if the uniform was not queried before. | |||
2019-01-02 | Cleanup: py-gpu error checks | Campbell Barton | |
Move gpu initialization checks to the start of each function instead of mixing with argument parsing. | |||
2019-01-02 | Revert file rename from T59773 fix | Campbell Barton | |
Mixing file rename with other changes should be avoided. Using 'module_py_api' convention here is in keeping with imbuf, idprop, blf & bmesh. No reason for gpu to have a different convention. | |||
2019-01-02 | Fix T59773: Raise exception if the gpu module is used in backgound mode. | mano-wii | |
Instead of crashing, an error message is displayed if a function of the gpu module is called without a GPU context. Reviewers: brecht, campbellbarton, JacquesLucke, mont29 Subscribers: abdelmatinboulbayam, amir.shehata Differential Revision: https://developer.blender.org/D4143 | |||
2018-11-20 | Cleanup: style, unused | Campbell Barton | |
2018-11-19 | PyAPI: GPUOffscreen: Add context manager for the `bind` method to work with ↵ | mano-wii | |
the `with` statement. Differential Revision: https://developer.blender.org/D3918 | |||
2018-11-19 | Py API Docs: Fix wrong type | Jacques Lucke | |
2018-11-15 | Py API: Fix documentation/actual behavior missmatch in gpu.matrix | Jacques Lucke | |
2018-11-15 | Py API Docs: Fix formatting | Jacques Lucke | |
2018-11-14 | minor cleanup | Jacques Lucke | |
2018-11-14 | minor cleanup | Jacques Lucke | |
2018-11-14 | minor api docs fix | Jacques Lucke | |
2018-11-14 | Py API: Remove GPUShader.transform_feedback_enable/disable | Jacques Lucke | |
It couldn't really be used in the current implementation, so it is better to remove it instead of confusing everyone. | |||
2018-11-14 | Cleanup: python doc-strings | Campbell Barton | |
Indentation & trailing space. | |||
2018-11-13 | Py API: fix parameter order in offscreen.draw_view3d | Jacques Lucke | |
2018-11-13 | Py API Docs: GPUVertFormat documentation | Jacques Lucke | |
2018-11-13 | Py API Docs: Cleanup | Jacques Lucke | |
2018-11-13 | Py API Docs: GPUIndexBuf documentation | Jacques Lucke | |
2018-11-13 | Py API Docs: GPUBatch documentation | Jacques Lucke | |
2018-11-09 | gpu.offscreen, fix pydoc, example and rename modelviewmatrix > viewmatrix | Dalai Felinto | |
Technically this is only the view matrix, not model view matrix. And view layer was missing from the pydoc. | |||
2018-11-09 | BKE_id_is_in_gobal_main > BKE_id_is_in_global_main | Dalai Felinto | |
2018-11-07 | Cleanup: remove some useless BKE_library and BKE_main includes. | Bastien Montagne | |
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please). | |||
2018-11-06 | Cleanup: No need to save/restor frame buffer twice | Jacques Lucke | |
2018-11-05 | API Docs: gpu api introduction + examples | Jacques Lucke | |
2018-10-31 | Cleanup: rename PyAPI VertBatch to Batch | Campbell Barton | |
Only used for internal functions, follow 'GPU_batch.h' naming. | |||
2018-10-31 | Fix leak in successive calls to Batch.program_set | Campbell Barton | |
2018-10-31 | PyAPI: add check for exceeding batch VBO limit | Campbell Barton | |
2018-10-31 | Cleanup: batch Python API | Campbell Barton | |
Add utility function to raise an error. | |||
2018-10-31 | Fix missing error returns in batch API | Campbell Barton | |
2018-10-30 | PyAPI: GPU: improve GPUShader.from_builtin and GPUShader.code_from_builtin ↵ | mano-wii | |
description. | |||
2018-10-29 | PyAPI: remove GPUVertFormat() creation from a list | Campbell Barton | |
We already have `attr_add` method, best not have two ways to do the same thing. See: D3830 | |||
2018-10-28 | Cleanup: fix compiler warnings. | Brecht Van Lommel | |
2018-10-26 | Fix parsing single int for uniform_int | Campbell Barton | |
This worked for float but not int. | |||
2018-10-26 | PyAPI: Make GPUVertFormat() argument optional | Campbell Barton | |
2018-10-25 | PyAPI: rename GPL VertBuf.attr_fill identifier to id | Campbell Barton | |
This is used elsewhere in the API and its a common abbreviation. | |||
2018-10-24 | Fix: buffer overflow when creating gpu.types.GPUIndexBuf | Jacques Lucke | |
2018-10-24 | GPUShader: shader.uniform_float, matrix parsing | Campbell Barton | |
Add checks to parse 3x3 or 4x4 matrices, also use error from `mathutils_array_parse` instead of overwriting. | |||
2018-10-23 | GPUShader: shader.uniform_float parameters | Jacques Lucke | |
Allow to pass in single numbers, sequences and mathutils.* types into `shader.uniform_float`. Reviewers: mano-wii Differential Revision: https://developer.blender.org/D3820 | |||
2018-10-23 | Cleanup: rename VertBuf.fill_attribute > attr_fill | Campbell Barton | |
2018-10-22 | Python API: fix docstrings | Jacques Lucke | |
2018-10-12 | Python GPU: Best description for exceptions | mano-wii | |