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
2020-09-08GPUImmediate: Make activation / deactivation implicitClément Foucault
This avoids unecessary complexity. Also makes the GPUImmediate threadsafe by using a threadlocal imm variable.
2020-08-23Cleanup: GPU: Use explicit clear value in GPU_clear* commandsClément Foucault
This replace `GPU_clear()` by `GPU_clear_color()` and `GPU_clear_depth()`. Since we always set the clear value before clearing, it is unecessary to track the clear color state. Moreover, it makes it clearer what we clear the framebuffer to.
2020-08-18Cleanup: GPUState: remove double GPU_blend callsClément Foucault
2020-08-18GPUState: GPU_blend final API renamingClément Foucault
We now use GPU_blend for enabling / disabling blending and explicitly set the blend equation.
2020-08-18Cleanup: GPUState: Replace blend func separate by enumClément Foucault
2020-08-08GPU: Move ghost default framebuffer getter to context creationClément Foucault
2020-07-26GPU: Remove GL constant from BIF_glutilClément Foucault
2020-07-18Cleanup: GPU: Encapsulate glScissorClément Foucault
2020-07-18Cleanup: GPU: Encapsulate glViewport callsClément Foucault
2020-07-18Cleanup: GPU: Replace glBlendFunc by GPU equivalentClément Foucault
2020-07-16Cleanup: Port glClear calls to GPU module functionsClément Foucault
2020-07-03Clang-Tidy: Enable readability-redundant-control-flowHans Goudey
2020-04-30Fix animation player checkerboard drawing with alpha channelsCampbell Barton
Was using uninitialized theme values.
2020-04-07Cleanup: BLI_path.h function renamingCampbell Barton
Use BLI_path_ prefix, more consistent names: BLI_parent_dir -> BLI_path_parent_dir BLI_parent_dir_until_exists -> BLI_path_parent_dir_until_exists BLI_ensure_filename -> BLI_path_filename_ensure BLI_first_slash -> BLI_path_slash_find BLI_last_slash -> BLI_path_slash_rfind BLI_add_slash -> BLI_path_slash_ensure BLI_del_slash -> BLI_path_slash_rstrip BLI_path_native_slash -> BLI_path_slash_native Rename 'cleanup' to 'normalize', similar to Python's `os.path.normpath`. BLI_cleanup_path -> BLI_path_normalize BLI_cleanup_dir -> BLI_path_normalize_dir BLI_cleanup_unc -> BLI_path_normalize_unc BLI_cleanup_unc16 -> BLI_path_normalize_unc16 Clarify naming for extracting, creating numbered paths: BLI_stringenc -> BLI_path_sequence_encode BLI_stringdec -> BLI_path_sequence_decode Part of T74506 proposal.
2020-03-25UI: remove non-unicode font and simplify default font loading codeBrecht Van Lommel
There is no need to have another font embedded in the Blender executable, we can assume the bundled font exists. In the future we may provide a fallback if the font specified by the user in the preferences is missing a character, but that can use our bundled international font. Differential Revision: https://developer.blender.org/D6854
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-15Cleanup: redundant checksCampbell Barton
In some cases moved the checks into asserts, to ensure changes in the future don't cause the checks to become necessary again.
2019-06-02GPU: support default framebuffer with ID not equal to 0Tomoaki Kawada
2019-05-18macOS: always use the Blender quit dialog, like other platformsBrecht Van Lommel
The same was done for Windows, but some extra changes were needed to make it work on macOS. This is required because the Blender quit dialog now contains additional settings for image saving.
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
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-04-13Cleanup: style, use braces for the window managerCampbell Barton
2019-03-25GPU: State: Replace GL_BLEND by GPU_blendClément Foucault
2019-03-25Cleanup: pass const image data to IMB_ibImageFromMemoryCampbell Barton
2019-02-19Playanim: Fix heap use after free on exitSergey Sharybin
Was caused by the wrong de-initialization order, here is an ASAN log just in case P916.
2019-02-19Fix T61594: Frame playback is blankSergey Sharybin
Viewport and scissor were never initialized prior to window move/resize.
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-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-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-24Cleanup: use macro to set flagsCampbell Barton
2019-01-24Animation player: tweaks for zooming in and outSergey Sharybin
Use zoom steps lower than 1. This allows to zoom out a high-res image. For example, before it was not possible to maker 4K image to fit on FullHD monitor. Also, don't force zoom to be above 1. Not sure why that was done, but this disallows zooming out. It is still not possible to zoom in higher than the window size allows. In order to support this the player needs to be refactored in a way that allows to decouple zoom from window size. Fixes T59177: Animplayer extreme zooms in when playing rendered animation
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-18GWN: Port to GPU module: Move files to GPUClément Foucault
This does not include all the struct and type renaming. Only files were renamed. gwn_batch.c/h was fusioned with GPU_batch.c/h gwn_immediate.c/h was fusioned with GPU_immediate.c/h gwn_imm_util.c/h was fusioned with GPU_immediate_util.c/h
2018-07-16Merge branch 'master' into blender2.8Brecht Van Lommel
2018-07-15Cleanup: doxy commentsCampbell Barton
2018-07-15GPU_matrix: use Blender's naming conventionsCampbell Barton
Thanks to @sergey for review
2018-07-10Fix T55776: crash with multiple windows and reload new.Brecht Van Lommel
There were a number of cases where immActivate() and immDeactivate() could get out of sync, causing crashes due to using a freed mutex lock. Refactor the code now to hopefully avoid this always.
2018-07-08Cleanup: abbreviate unsigned types (editors, wm)Campbell Barton
2018-07-06Merge branch 'master' into blender2.8Sergey Sharybin
2018-07-06Animation player: Ensure new frames are displayed while dragging mouseSergey Sharybin
Thanks Campbell for review!
2018-07-01Fix T55675: Crash internal animation playerCampbell Barton
2018-06-19Fix animation player drawing wrong sizeCampbell Barton
2018-06-19Fix animation playerCampbell Barton
2018-06-07Merge branch 'master' into blender2.8Campbell Barton
2018-06-07Cleanup: trailing space for windowmanagerCampbell Barton
2018-02-14GPU: use alpha blend that works for drawing to transparent buffer.Brecht Van Lommel
It's unlikely to ever be intentional to square the source alpha, as happens with glBlendFunc, so this changes the blending throughout the code.
2017-09-26Cleanup: naming (GPU immediate util)Campbell Barton
2017-09-13Cleanup: use explicit 2d suffix for imm utilsCampbell Barton
Avoid ambiguity between 2d/3d (which were already named).