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-07Cleanup: GPUVertBuf: Replace TRUST_NO_ONE by BLI_asserts and ifdef DEBUGClément Foucault
2020-09-07GPUVertBuf: GL Backend IsolationClément Foucault
Part of the Vulkan port T68990 This makes a few changes in how the data is being handled by the backend to allow more flexibility in the future. The overall code logic is left unchanged.
2020-09-07GPUVertBuf: Rename GPUVertBuf to VertBuf and add some gettersClément Foucault
to avoid more typecasts.
2020-09-07Docs: add note on updating startup defaults to dna_defaultsCampbell Barton
Without this it's not clear which defaults these values are used for.
2020-09-07Fix T80531: Dope Sheet Shape Key Editor search/filter not workingPhilipp Oeser
Looks like this has just not been implemented before. Use the name matching method used in other Dope Sheet UI modes. Maniphest Tasks: T80531 Differential Revision: https://developer.blender.org/D8824
2020-09-07Cleanup: update comment after Clang-Tidy bugprone-incorrect-roundings fixesSybren A. Stüvel
Remove the comment about adding `0.5`, as this is no longer done (since fb5e2f56109e). No functional changes.
2020-09-07Fix mistake in Clang-Tidy bugprone-incorrect-roundings fixSybren A. Stüvel
Remove a `+ 0.5` that I overlooked in fb5e2f56109e.
2020-09-07EEVEE: Shaders testsJeroen Bakker
This will add the remaining static shaders to the eevee shader test suite. - Downsampling - GGX LUT generation - Mist - Motion Blur - Ambient Occlusion - Render Passes - Screen Raytracing - Shadows - Subsurface - Volumes Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8779
2020-09-07Cleanup: spellingCampbell Barton
Also correct wrapped lines of example code in threads.cc.
2020-09-07Cleanup: OBJECT_OT_collection_instance_addCampbell Barton
Minor changes to match OBJECT_OT_data_instance_add. - Access properties once & reuse them. - Early exit when the data to instance can't be found.
2020-09-07Cleanup: use doxy comments in object.cCampbell Barton
2020-09-07Cleanup: remove redundant scene argument in BKE_object_addCampbell Barton
2020-09-07Fix OBJECT_OT_data_instance_add creating empty data-blocksCampbell Barton
ED_object_add_type creates empty object data, add ED_object_add_type_with_obdata which can take existing object data.
2020-09-06Cleanup: GPUVertBuf: Replace GPU_vertbuf_create by GPU_vertbuf_callocClément Foucault
This is a simple cleanup to make naming consistent with the rest of the module.
2020-09-06GLTexture: Fix crash with --debug-gpu on windows + nvidiaClément Foucault
The combination of DSA + CubeMap seems to not please this driver.
2020-09-06GPUVertBuf: Make GPUVertBuf private to the GPU moduleClément Foucault
This is just a cleanup to isolate the internals of the vertbuf. This adds some getters to avoid refactor of existing code.
2020-09-06Cleanup: GLBackend: Fix missing override keywords producing warningsClément Foucault
2020-09-06GPUIndexBuf: GL backend IsolationClément Foucault
This is part of the Vulkan backend task T68990. There is no real change, only making some code re-organisation. This also make the IndexBuf completely abstract from outside the GPU module.
2020-09-06Cleanup: GPU: Rename GPU_element to GPU_index_bufferClément Foucault
Makes it follow the functions names.
2020-09-06GPencil: Remove console warning in RENDER_PT_gpencil panelAntonio Vazquez
COMPAT_ENGINE was missing
2020-09-06GPencil: Cleanup unused codeAntonio Vazquez
The poll method is not used
2020-09-06Viewport: support dropping object-data to create instancesCampbell Barton
This allows orphan object data for example (meshes, curves, etc) to be dropped into the 3D View from the outliner, creating a new object instance. Previously the only way to do this was to add the same type of object then swap it's data through the ID selector drop-down.
2020-09-05Fix T75827, boolean of non-manifold objects leaves stray edges.Howard Trickey
Well, this only fixes the example if one uses the new Exact mode, but since that is available, seems fair to call this fixed. Since these were not closed-volume operands, the Exact mode needed some adjustment to the threshold used for "inside-outside" tests for the case of deciding if the cutter is inside the other shape for a Difference.
2020-09-05GLState: Use unsigned long long instead of unsigned long for shiftsClément Foucault
This fix a compilation warning on msvc.
2020-09-05Cleanup: clang-formatCampbell Barton
2020-09-05Cleanup: spellingCampbell Barton
2020-09-05Makefile: update spell checking targetsCampbell Barton
Update check_spelling targets to match changes to the utility, take an optional CHECK_SPELLING_CACHE argument.
2020-09-05Fix T67265: Status bar is overlapped by workspace layoutJulian Eisel
The issue was that the screen geometry calculations scaled down the areas, but the header would become too small. So it would be upscaled again towards the lower screen edge (where the status-bar is at). Now we do another pass over the geometry calculations, until all areas fit into the screen, or until some rather arbitrary maximum is reached. This fixes the issue for common cases. Extreme cases, with many vertically stashed editors and a too small window to show all, are still not too well supported. Blender keeps working but the status-bar is still overlapped. We could deal with this better but what's there now should be good enough.
2020-09-05Cleanup: Add const to BKE screen functionJulian Eisel
2020-09-05GLState: Fix compilation warning on MSVCClément Foucault
2020-09-05GLTexture: Fix undefined behavior when binding textures the first timeClément Foucault
2020-09-05GLDebug: Trim NVidia debug outputClément Foucault
These buffer detailed infos are not needed unless going deep into perf. profiling, in which case you can still disable this compile option. This makes user report log much more readable.
2020-09-05GLTexture: Add Feedback loop checkClément Foucault
The check is better than before as we take into consideration the attached mip level.
2020-09-05Cleanup: GPUFramebuffer: Remove unused variableClément Foucault
2020-09-05GLTexture: Add direct state access supportClément Foucault
2020-09-05GLState: Add texture multibind and remove redundant bindsClément Foucault
2020-09-05Math Utils: Add bitscan 64bit versionClément Foucault
2020-09-05GPUTexture: OCIO: Workaround new missing bind error checkingClément Foucault
We cannot change the texture bind point since the interface count 4/5 textures to bind. Changing the uniform to avoid one bind make the system thinks one texture is missing. Avoid this by creating a dummy texture and binding it to the empty slot.
2020-09-05GPUDebug: Only enable resource checking in debug modeClément Foucault
2020-09-05Cleanup: GPUTexture: Move debug messages outside of creation functionClément Foucault
# Conflicts: # source/blender/gpu/intern/gpu_framebuffer.cc
2020-09-05GPUTexture: Change texture creation APIClément Foucault
This is to modernize the API: - Add meaningful name to all textures (except DRW textures). - Remove unused err_out argument: only used for offscreen python. - Add mipmap count to creation functions for future changes. - Clarify the data usage in creation functions. This is a cleanup commit, there is no functional change. # Conflicts: # source/blender/gpu/GPU_texture.h
2020-09-05Cleanup: GPUTexture: Remove use of GPU_texture_create_nDClément Foucault
Use creation + update function instead.
2020-09-05GLTexture: Add validation for empty slots before drawingClément Foucault
This is to have better error detection in debug builds. This is not a replacement for a full check like in renderdoc but it might catch some issues early on.
2020-09-05OCIO: Use GPUTexture instead of OpenGL calls and remove gl dependencyClément Foucault
Simple cleanup. Part of the Vulkan Port T68990.
2020-09-05GPUTexture: Implement back 3D texture resizeClément Foucault
But this time implement it outside the texture module. This makes more sense as only the volume textures need this feature.
2020-09-05BLI: Math: Add equals_v3v3_intClément Foucault
2020-09-05Cleanup: GPUTexture: Clean framebuffer attachmentClément Foucault
2020-09-05Cleanup: GPUFrameBuffer: Use Texture class instead of gl callsClément Foucault
2020-09-05GLTexture: Add back texture proxy checkClément Foucault
Cleanup the feature itself: - Check 3D textures size against the correct limit. - Add check for compressed textures.
2020-09-05GPUTexture: Add support for samplersClément Foucault
This just add back the support. This commit also includes a bit of cleanup. # Conflicts: # source/blender/gpu/GPU_texture.h