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
2022-06-01Cleanup: remove redundant const qualifiers for scalar & enum typesCampbell Barton
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2022-01-17Cleanup: Correct comments for immediate mode buffer draw functionsJulian Eisel
2022-01-17Cleanup: Improve naming of immediate mode buffer draw functionsJulian Eisel
Followup to the previous commit. Jeroen and I agreed the old naming was confusing.
2022-01-17UI: Speed up icon scalingJulian Eisel
Use GPU-side scaling to speed up the scaling itself, and to avoid having to copy the image buffer using the CPU. Mipmapping is used to get decent filtering when downscaling without ugly artifacts. In my comparisons, there was barely any difference between the methods for DPIs >= 1. Below that, the result looks a bit different due to the different filtering method. See D13144 for screen-recordings showing the difference. Part of T92922. Differential Revision: https://developer.blender.org/D13144 Reviewed by: Jeroen Bakker
2021-12-08Cleanup: move public doc-strings into headers for 'editors'Campbell Barton
Ref T92709
2021-07-26Cleanup: spelling in commentsCampbell Barton
2020-08-07Cleanup: Clang-Tidy. readability-non-const-parameter in pixel drawingSergey Sharybin
2020-08-07Merge branch 'blender-v2.90-release' into masterJacques Lucke
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2020-07-26GPU: Remove GL constant from BIF_glutilClément Foucault
2020-07-18Cleanup: GPU: rename bglPolygonOffset to GPU_polygon_offsetClément Foucault
And move it to GPU module.
2020-03-02Cleanup: make remaining editor include headers work in C++Jacques Lucke
2019-08-25Cleanup: redundant struct declarationsCampbell Barton
2019-07-02Cleanup: rename set_inverted_drawing, move to GPU_stateCampbell Barton
2019-04-29Cleanup: spellingCampbell Barton
2019-04-20GPU: automatically draw images with GLSL shader depending on resolutionBrecht Van Lommel
This adds a new "Automatic" image display method which uses GLSL shaders for most images. It only does CPU side color management for higher res images where sending big float buffers to the GPU is likely to be a bottleneck or cause memory usage problem. Automatic is the default now, previously it was 2D Texture.
2019-04-20Cleanup: remove unused OpenGL functions, rename some for clarityBrecht Van Lommel
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-03-24GPU: Remove unused and deprecated GPU_line_stipple()Clément Foucault
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-05Edit Mesh: Fix some problem with new implementationClément Foucault
- Add manual depth offset to vertices and edges. - Revert to plain edge decoration. - Fix active edge coloring. - Remove active face display if not in face selection mode. - Add wide line support.
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-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2018-02-13Code cleanup: remove unneeded gla* 2D drawing functions.Brecht Van Lommel
2017-05-08Fix OCIO shader being attmepted to be unbound twiceSergey Sharybin
2017-04-11Make image drawing code working with core profileSergey Sharybin
The issue was caused here by usage of deprecated GL_CURRENT_PROGRAM which was returning rubbish value. Now we use imm API and create vertex format prior to immBindProgram. This made us required to have some sort of state passed from setup function to actual drawing.
2017-04-05Cleanup: Move imm_draw utils into own fileCampbell Barton
These were in BIF_glutil which is documented to be removed, so best not define new API's there.
2017-04-05Naming constancy for 'imm' utility functionsCampbell Barton
- use 'imm_draw_' prefix for functions that draw. - use '_3d' suffix for 3d functions, no suffix for 2d functions. - use terms fill/wire (shorter than filled / lined). Also add `imm_draw_circle_fill_3d` (only had wire version)
2017-04-03Rename circle_partial -> disk_partialCampbell Barton
We may have a 'disk' function (not the partial version).
2017-04-03Add gluPartialDisk replacement (imm_draw_filled_circle_partial)Campbell Barton
Needed for custom-manipulators branch but generally useful.
2017-03-21OpenGL: remove fdrawline & other helper functionsMike Erwin
Finally, fdrawline is no more! Part of T49043 & T49450
2017-03-08OpenGL: convert editarmarture_sketch to new imm modeKhanh Ha
Part of T49043, T49042 Reviewers: fclem, merwin Tags: #bf_blender_2.8 Differential Revision: https://developer.blender.org/D2548
2017-03-06OpenGL: Object bound drawing.Clément Foucault
2017-03-04OpenGL: remove fdrawcheckerboardMike Erwin
This helper function was marked DEPRECATED since it uses old OpenGL calls. Switched last 2 uses to imm_draw_checker_box, which does the same thing, only awesome. Part of T49043
2017-03-04OpenGL: remove old DrawPixels util functionsMike Erwin
a little bit of T49043, mostly related to T49165 Thx to @fclem for marking these as unused & making shader-based replacements.
2017-03-04OpenGL: remove glaDrawBorderCornersMike Erwin
This helper function was marked DEPRECATED since it uses old OpenGL calls. Part of T49043
2017-03-04OpenGL: remove stipple pattern definesMike Erwin
GPU_basic_shader handles this internally; no other code depends on it.
2017-03-04OpenGL: remove glutil_draw_*_arc (lined, filled)Mike Erwin
These helper functions were marked DEPRECATED since they use old OpenGL calls. Now they are marked GONE! Part of T49043
2017-03-03OpenGL: remove fdrawbox, sdrawbox, sdrawlineMike Erwin
These helper functions were marked DEPRECATED since they use old OpenGL calls. Now they are marked GONE! Part of T49043
2017-02-26OpenGL: replace gluProject and gluUnProject, and simplify surrounding code.Brecht Van Lommel
Part of T49042.
2017-02-24Opengl glaDrawPixels removal: More descriptive setup.Clément Foucault
2017-02-24Add immDrawBorderCorners functionLuca Rood
This replaces `glaDrawBorderCorners`.
2017-02-24Opengl glaDrawPixels removal: #if 0 glDrawPixels...Clément Foucault
2017-02-24OpenGL: Make glaDrawImBuf_glsl functions compatible with new immDrawPixelsClément Foucault
And change relevant function calls.
2017-02-23OpenGl immediate mode: remove imm_draw_lineLuca Rood
Replaced all calls to `imm_draw_line` by plain `immVertex2f` calls, and removed `imm_draw_line`, as that function was not supposed to exist in the first place, and causes unnecessary calls to `immBegin`/`immEnd`. Part of T49043
2017-02-16Add imm_draw_checker_box functionLuca Rood
This replaces `fdrawcheckerboard` in drawing a standard gray checkerboard for alpha backgrounds.
2017-02-15Revert "Collection Editor based on patch by Julian Eisel"Dalai Felinto
This reverts commit 3da834e83ce9d7056c033148dab04885a6d3b1b7. We will use the outliner for this now. I'm also moving the collections_ops.c to outliner_collections.c
2017-02-14OpenGL immediate mode: Replacement for gluCylinderClément Foucault