Age | Commit message (Collapse) | Author |
|
|
|
Add framebuffer viewport setter; Remove framebuffer restore; Expose framebuffer push/pop stack API; Remove blend modes; Remove depth_range_set; Implement GPU_face_culling, GPU_front_facing, GPU_point_size, GPU_line_width, GPU_viewport, GPU_color_mask and GPU_depth_mask"
This reverts commit 9db3d1951da15254efbbcf028176facb78118ec1.
This was an accidental commit of the patch D8826
|
|
framebuffer viewport setter; Remove framebuffer restore; Expose framebuffer push/pop stack API; Remove blend modes; Remove depth_range_set; Implement GPU_face_culling, GPU_front_facing, GPU_point_size, GPU_line_width, GPU_viewport, GPU_color_mask and GPU_depth_mask
|
|
Add explanations for cases the header-guard defines are still used.
|
|
This was committed as a temporary workaround in 82150f5641364
as release builds were failing (only debug builds worked).
This adds `stdio.h` to the header which is now split into a file that
contains more specialized functionality.
Also move function body inside BPY_python_backtrace,
removing PyC_StackPrint as we have PyC_StackSpit() for
similar functionality that can be called from a debugger.
|
|
Issue caused by e9c4325515aed.
|
|
This helps Python developers troubleshoot errors when
Python causes a crash.
|
|
Also pass some args as 'const'.
|
|
Allows including null bytes in the resulting string.
|
|
Needed for standalone mathutils module.
|
|
More convenient than comparing strings,
with the advantage that errors don't need to repeat expected values.
|
|
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
|
|
While \file doesn't need an argument, it can't have another doxy
command after it.
|
|
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
|
|
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.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
And use inline functions instead of preprocessor directives.
|
|
|
|
|
|
Avoids having to use `__import__` to access modules.
|
|
|
|
Utility to get an int or pointer from a Python expression.
|
|
|
|
|
|
Folders removed entirely:
* //extern/recastnavigation
* //intern/decklink
* //intern/moto
* //source/blender/editors/space_logic
* //source/blenderplayer
* //source/gameengine
This includes DNA data and any reference to the BGE code in Blender itself.
We are bumping the subversion.
Pending tasks:
* Tile/clamp code in image editor draw code.
* Viewport drawing code (so much of this will go away because of BI removal
that we can wait until then to remove this.
|
|
|
|
Adds categories "bpy.context" & "bpy.rna"
|
|
Move function error printing utility into py_capi_utils.
|
|
This allows to have different macro headers without them sharing
similar names to regular C modules.
|
|
Was already used in two other headers, remove underscore prefix.
|
|
So we can use in headers without pulling in many other defines.
|
|
Would cause problems if args included function calls.
|
|
This was meant to be generic but introduced possible type errors
and unnecessary complication.
Replace with typed PyC_Tuple_PackArray_* functions.
Also add PyC_Tuple_Pack_* macro which replaces some uses of
Py_BuildValue, with the advantage of not having to parse a string.
|
|
|
|
Recent inclusion caused build error with the BGE.
|
|
Python's C-API doesn't provide functions to get
int's at specific integer sizes.
Leaving the caller to check for overflow,
which ended up being ignored in practice.
Add API functions that convert int/uint 8/16/32/64, also bool.
Raising overflow exception for unsupported ranges.
|
|
Utility to execute a string and get the resulting string,
matching BPY_execute_string_as_number.
Not used just yet but generally useful function.
|
|
|
|
Read the string length from Python directly when assigning id-properties
|
|
Use BPY_execute_* prefix for all Python execution commands
|
|
Use for mathutils.bvhtree
|
|
Would only happen when the list-length was an unexpected size.
Also add PyC_AsArray_FAST
|
|
Mistakes in button expressions were previously only printed to the console.
|
|
Setting all values of a tuple is such a common operation that it deserves its own macro.
Also added Py_INCREF_RET to avoid confusing use of comma operator.
|