Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-04-29Cleanup: comments (long lines) in pythonCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-11Cleanup: comment indentation & spellingCampbell Barton
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell 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-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-02Cleanup: py-gpu error checksCampbell Barton
Move gpu initialization checks to the start of each function instead of mixing with argument parsing.
2019-01-02Revert file rename from T59773 fixCampbell 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-02Fix 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-14Cleanup: python doc-stringsCampbell Barton
Indentation & trailing space.
2018-11-13Py API Docs: CleanupJacques Lucke
2018-11-13Py API Docs: GPUBatch documentationJacques Lucke
2018-11-07Cleanup: 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-10-31Cleanup: rename PyAPI VertBatch to BatchCampbell Barton
Only used for internal functions, follow 'GPU_batch.h' naming.
2018-10-31Fix leak in successive calls to Batch.program_setCampbell Barton
2018-10-31PyAPI: add check for exceeding batch VBO limitCampbell Barton
2018-10-31Cleanup: batch Python APICampbell Barton
Add utility function to raise an error.
2018-10-31Fix missing error returns in batch APICampbell Barton
2018-10-05GPU Python: fix crash when calling `batch.draw` without passing a shader.mano-wii
2018-10-04Cleanup: remove single backtick quotesCampbell Barton
This isn't valid RST.
2018-10-04Python GPU: GPUBatch and GPUShader refactor.mano-wii
The changes are: - The shader now is passed as a parameter of the batch `draw` method (batch.draw(shader)). Since the batch always has to set a shader before drawing; - The batch methods to specify a value to a uniform have been removed. Uniforms are parameters of the program (here called shader). If you change a uniform, it changes in all batchs that use the same program; - New methods were added to set uniforms by the shader; - The `batch.program_set_builtin` was removed. It is a duplicate of `program_set` but without a shader object. We need the shader object to configure the uniform; Differential Revision: https://developer.blender.org/D3752
2018-10-01GPY Python: program_use_begin and program_use_end.mano-wii
The user has to be encouraged to use the `program_set` or `program_set_builtin` before drawing. This avoids problem with gl_context.
2018-09-27Python GPU module: Wrap GPUIndexBufmano-wii
Differential Revision D3714
2018-09-27Python GPU module: replace `PyArg_ParseTupleAndKeywords` by ↵mano-wii
`_PyArg_ParseTupleAndKeywordsFast` part of T47811 ("for faster argument parsing").
2018-09-20gpu.batch module: keep shader reference in batch.mano-wii
2018-09-14GPU module: Initial implementation of the `gpu.shader` submodule.mano-wii
Differential Revision: https://developer.blender.org/D3688
2018-09-06gpu module: close quotation marks in descriptionsmano-wii
2018-09-06gpu module: retouching the description of the types.mano-wii
2018-09-06Join the python modules `gpu` and `_gpu` into one.mano-wii
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