Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-10-09 | Revert "Revert "BGL: Workaround broken bgl usage caused by GPU refactor"" | Clément Foucault | |
This reverts commit f23bf4cb109cb8f39f873c4f80acbec3f33b098c. | |||
2020-10-08 | Revert "BGL: Workaround broken bgl usage caused by GPU refactor" | Clément Foucault | |
This reverts commit f12b0373f322b710b9fa5cebb67bdf363ff90e9f. | |||
2020-10-08 | BGL: Workaround broken bgl usage caused by GPU refactor | Clément Foucault | |
This directly adress the issues caused by rB536c2e0ec916. Since the state tracking is done at a lower level, using the bgl functions needs to be safegarded by the state manager. The current workaround is to bypass `apply_state` when inside a callback that used a `bgl` function. Related to T80730. This fix T81003. Also this fix the default blend equation for callbacks. Fixes T80169 T81289. | |||
2020-09-12 | Cleanup: Remove GLEW dependencies outside of GL module | Clément Foucault | |
2020-08-20 | Cleanup: use const variables where possible in the Python API | Campbell Barton | |
2020-08-07 | Cleanup: PyBGL, Clang-Tidy readability-function-size fixes | Sybren A. Stüvel | |
This addresses warnings from Clang-Tidy's `readability-function-size` rule in the `source/blender/python` module. It's just `BPyInit_bgl()` that's been split up into one or two smaller functions per OpenGL version. No functional changes. | |||
2020-08-07 | Cleanup: Python, Clang-Tidy else-after-return fixes | Sybren A. Stüvel | |
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/python` module. No functional changes. | |||
2020-07-13 | Clang Tidy: enable readability-non-const-parameter warning | Jacques Lucke | |
Clang Tidy reported a couple of false positives. I disabled those `NOLINTNEXTLINE`. Differential Revision: https://developer.blender.org/D8199 | |||
2020-02-20 | Cleanup: use named unsigned types in the Python API | Campbell Barton | |
2019-12-20 | Cleanup: remove redundant 'char *' casts | Campbell Barton | |
2019-09-19 | Fix T70060: Add bgl wrapper for glVertexAttribIPointer | Jacques Lucke | |
2019-04-18 | Python API: allow passing integer to some BGL functions instead of bgl.Buffer | Brecht Van Lommel | |
These parameters can be both pointers and offsets into a bound buffer, so we need to support both even if it's possible to cause crashes this way. | |||
2019-04-17 | ClangFormat: apply to source, most of intern | Campbell 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-04-16 | Cleanup: trailing commas | Campbell Barton | |
2019-03-29 | Cleanup: style, use braces for the Python API | Campbell Barton | |
2019-03-26 | Python API: allow passing None to some BGL functions instead of bgl.Buffer | Brecht Van Lommel | |
Many OpenGL functions take NULL pointers, passing those was quite complicated with some addons even using ctypes to manipulate internal bgl.Buffer pointers. | |||
2019-02-18 | doxygen: add newline after \file | Campbell Barton | |
While \file doesn't need an argument, it can't have another doxy command after it. | |||
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-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-26 | Cleanup: blank lines over doxy headers | Campbell Barton | |
2019-01-19 | Cleanup: add trailing commas | Campbell Barton | |
Prevents clang-format merging into a single line. | |||
2019-01-10 | Cleanup: end bgl macros w/ semicolon | Campbell Barton | |
Needed for clang-format. | |||
2018-10-08 | Cleanup: rename checks for Python struct strings | Campbell Barton | |
Using 'format' prefix made this read as if t was for string formatting. Use 'PyC_StructFmt' prefix instead since these values are compatible with formatting from Python's 'struct' module. | |||
2018-10-07 | CPython: py_capi_utils: use more descriptive names for format string utilities. | mano-wii | |
2018-10-06 | Cleanup: use the naming convention in py_capi_utils | mano-wii | |
And use inline functions instead of preprocessor directives. | |||
2018-10-06 | Cleanup: use new format string utility | mano-wii | |
2018-09-24 | BGL: Wrap glBlitFramebuffer | mano-wii | |
2018-06-04 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2018-06-04 | Cleanup: strip trailing space in Python module | Campbell Barton | |
2018-04-14 | BGL: Expose OpenGL API for FrameBuffers and RenderBuffers. | Germano | |
2017-10-23 | Fix OpenGL extension report in system info operator. | Antony Riakiotakis | |
2017-10-18 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2017-10-17 | Fix T53074: Use the pybuffer->itemsize to get the corresponding GLtype | Germano | |
It seems that `typestr` does not always define the final size of the element. And it varies by operating system. Then use the `typestr` only to know the itemtype is `float` type or not. | |||
2017-10-06 | Merge branch 'master' into blender28 | Campbell Barton | |
2017-10-06 | Cleanup: style | Campbell Barton | |
2017-09-28 | Merge branch 'master' into blender2.8 | Sergey Sharybin | |
2017-09-28 | Cleanup: switch fall-through warning | Campbell Barton | |
2017-09-27 | bgl module: extend `gl_buffer_type_from_py_format_char` function to work ↵ | Germano | |
with more string formats Only basic types of character codes were being used | |||
2017-09-27 | Merge branch 'master' into blender2.8 | Campbell Barton | |
2017-09-27 | Cleanup: warning | Campbell Barton | |
2017-09-27 | bgl module: Interpret a buffer as a bgl.Buffer | Germano | |
Differential Revision: https://developer.blender.org/D2857 | |||
2017-04-18 | BGL: Remove deprecated enums | Dalai Felinto | |
Note: The enums that are deprecated and supported are still there | |||
2017-03-13 | OpenGL: remove packed imm mode functions from Python API | Mike Erwin | |
These are from the ARB_vertex_type_2_10_10_10_rev extension that became part of OpenGL 3.3. So they are new, but only exist for compatibility with immediate mode, which is old. Related to T49165 (general OpenGL upgrade) | |||
2017-03-13 | OpenGL: remove GLU functions from Python API | Mike Erwin | |
Part of T49042 | |||
2017-03-01 | Cleanup: warnings | Campbell Barton | |
2017-02-26 | Fix compiler warnings on macOS / clang / c++11. | Brecht Van Lommel | |
2016-11-19 | bgl do not bind parts of OpenGL that are not exposed in core profiles | Martijn Berger | |
2016-07-02 | Fix typo in bgl.Buffer report function | Thomas Szepe | |
A GL_INT buffer was reported as GL_BYTE. | |||
2016-03-04 | Cleanup: suspicious use of commas | Campbell Barton | |