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-02-11Cleanup: comment indentation & spellingCampbell Barton
2019-02-10Cleanup: move clipping shader lib & define into structCampbell Barton
Also compare clipping with the draw context instead of accessing the RegionView3D, currently they're matching but this might not always be the case.
2019-02-10Cleanup: use shorter name for shader configCampbell Barton
The struct name is descriptive, this isn't going to be confused with other variables.
2019-02-08DRW: support clipping for stick & wire bonesCampbell 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-06Fix T61196: Mesh select ignores clippingCampbell Barton
Select clipping now works when x-ray is disabled.
2019-02-06GPU: refactor clipped drawing from DRW into GPUCampbell Barton
Needed to fix T61196, supporting clipped back-buffer in the 3D view which is done outside the draw module. It was also inconvenient having DRW_shader_* versions of GPU_shader_* API calls. - Clipping distances are now supported as a shader configuration for builtin shaders. - Add shader config argument when accessing builtin shaders. - Move GPU_shader_create_from_arrays() from DRW to GPU.
2019-02-05Edit Mesh: Refactor Edit cage drawing to use old style drawingClément Foucault
This is work in progress. Look is not final. This align data VBO data structure used for edti cage drawing to the one use for normal drawing. We no longer use barycentric coords to draw the lines an just rasterize line primitives for edge drawing. This is a bit slower than using the previous fast method but faster than the "correct" (edge artifact free) method. This also make the code way simpler. This also makes it possible to reuse possible and normal vbos used for shading if the edit cage matches the This also touches the UV batch code to share as much render data as possible. The code also prepare for edit cage "modified" drawing cage (with modifier applied) but is not enabled since selection and operators does not work with modified cage yet.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
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-31Cleanup: style, unused variableCampbell Barton
2019-01-29DRW: support clipping for all lamp typesCampbell Barton
2019-01-29Cleanup: remove immediate mode TODOCampbell Barton
We've managed without these functions and can add them if needed, this TODO isn't helping.
2019-01-29Cleanup: replace attrib w/ attrCampbell Barton
Also rename GPUVertexAttribs to GPUVertAttrLayers, avoids confusion with GPUVertAttr which isn't closely related.
2019-01-28DRW: support clipping for object & lamp centersCampbell Barton
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-26Cleanup: blank lines over doxy headersCampbell Barton
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-26Cleanup: redundant definesCampbell Barton
Comment or remove unused defines.
2019-01-26DRW: support clipping for empty objectCampbell Barton
2019-01-26Cleanup: avoid static vars to store legacy shadersCampbell Barton
2019-01-26GPU: refactor defines into GPUShaderStagesCampbell Barton
Code comment notes there are "just a few", now there are enough it's useful to include in GPUShaderStages.
2019-01-26Cleanup: order GPUShaderStages (vert, geom, frag)Campbell Barton
Use names for declarations to support adding defines, coming next.
2019-01-25T60745: GPU texture alloc failed when opening Preference WindowsClément Foucault
Was generating INVALID_FRAMEBUFFER here instead of failled texture alloc. Add safety asserts in gpu_texture.c and clamp minimum size to 1 inside GPU_offscreen_create.
2019-01-25Cleanup: remove duplicated shaders that only added clipping checksCampbell Barton
Originally I wanted to avoid adding draw manager specific ifdef's all over generic shaders however this isn't needed in so many places. Also there are shaders that are only used by the draw manager so duplicating them only to have the original unused doesn't make sense.
2019-01-24DRW: support clipping for camera objectsCampbell Barton
2019-01-24Fix T59145: don't clamp color value in Hue Saturation Value node in eeveeJacques Lucke
2019-01-233D View: draw clipping regionCampbell Barton
Only for workbench solid/wire modes.
2019-01-23Cleanup: use eGPU prefix for GPU enum typesCampbell Barton
2019-01-21GPUShader: Add GPU_VERTEX/FRAGMENT/GEOMETRY_SHADER definesClément Foucault
This makes it possible to have some code specific to each shader inside a shader library.
2019-01-21Cleanup: rename GPU function to set buffer lengthCampbell Barton
2019-01-17GPUInterface: Add builtin check in uniform location request.Clément Foucault
This is a compile time option to remove the unecessary uniform queries.
2019-01-17DRW: Make missing uniform debuging print only onceClément Foucault
2019-01-17DRW: Use name buffer to request uniform location before drawing.Clément Foucault
This is in order to avoid GL call during the "cache creation" phase and support multithreading.
2019-01-17GPU: Rename GPU_shader_get_uniform to GPU_shader_get_uniform_ensureClément Foucault
This is in order to make the API more multithread friendly inside the draw manager. GPU_shader_get_uniform will only serve to query the shader interface and not do any GL call, making it threadsafe. For now it only print a warning if the uniform was not queried before.
2019-01-17Cleanup: unused codeCampbell Barton
2019-01-16Preferences: remove OpenGL select method preference.Brecht Van Lommel
Deprecated GL_SELECT no longer works in OpenGL core profile, so there is no reason to have this.
2019-01-16Preferences: remove unnecessary 16 bit textures preference.Brecht Van Lommel
This is a leftover from a time when these were not supported on all GPUs.
2019-01-16Preferences: always do GPU accelerated mipmapping, remove preference.Brecht Van Lommel
This setting was added long ago to be cautious in case some GPUs did not support this propertly, no reason to have it anymore.
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-14GPUMaterial: CleanupClément Foucault
2019-01-12Drawing API: shgroup_instance and shgroup_instance_alpha clarificationDalai Felinto
shgroup_instance_alpha was getting a color[4] but would only use the alpha defined upon creation of the shading group. This was very limiting since it wouldn't allow for different instances to have different alpha values. Patch made with Clément Foucault (he made the code of it, while I fixed all the parts of the code that were relying on shgroup_instance_alpha.
2019-01-11UVEdit: Port texpaint_loop_wire to batch requestClément Foucault
This removes code duplication and put an end to the old "create at request" batch creation. Also it uses the same vbo as the uv layer used for shading. Reducing VRAM usage. Also fixes the modified uv display in uv edit mode.
2019-01-11UVEdit: Add back uv angle stretch aspect correctionClément Foucault
This is now done in shader so that the batches are shared across ImageUV areas.
2019-01-11GPUShader: Cleanup Unused shadersClément Foucault
2019-01-11GPUMaterial: Cleanup / optimizationClément Foucault
2019-01-11GPUShader: Add selection id shaderClément Foucault
This is to separate id drawing from standard color drawing.
2019-01-10Fix use of uninitialized GPU context memory in release builds.Brecht Van Lommel
Reported by valgrind, not sure it caused any real bugs.
2019-01-07Cleanup: add trailing commas to structsCampbell Barton