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-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-08-06Merge remote-tracking branch 'origin/blender-v2.90-release'Dalai Felinto
2020-08-06Cleanup: Remove bad level calls from space imageDalai Felinto
Groundwork for upcoming fix (D8472)
2020-08-06Cleanup: Stop accessing gpu_batch_presets_reset()Dalai Felinto
The current code is accessing this from outside the gpu "namespace". As such it should be accessing GPU_ functions, not gpu_ functions. This is also a place to centralize the XXX message that will be addressed upon refactor. So we can reuse this call in other places that need the same temporary workaround. Groundwork for upcoming fix (D8472)
2020-08-06Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-06Fix T79309: Safe Areas are not visibleCampbell Barton
2020-08-05Merge branch 'blender-v2.90-release'Jeroen Bakker
2020-08-05Fix T77346: GPU Workaround Always Render Using Main ContextJeroen Bakker
In Blender 2.90 EEVEE materials were refactored that introduced crashes on Intel GPUs on Windows. The crash happened in the `local_context_workaround` that temporary stored compiled materials in a binary form to reload it in the main GL context. It has been tested that the workaround isn't needed anymore for HD6xx GPUs, but it is still needed for HD4000. After several unsuccesfull fixes we came to the conclusion that we could not support the local context workaround and needed to come with a different workaround. The idea of this patch is that in these cases there is only a single context that is used for rendering. Threads that uses these contextes are guarded by a mutex and will block. Impact on User Level: * Due to main mutex lock the UI freezes when rendering or baking or feel less snappy Reviewed By: Clément Foucault, Brecht van Lommel Differential Revision: https://developer.blender.org/D8410
2020-08-05GPUTexture: Fix missing breakClément Foucault
2020-08-05Fix possible fall-through after recent changeSergey Sharybin
2020-08-05Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-05Merge branch 'blender-v2.90-release' into masterCampbell Barton
2020-08-05GPUTexture: Check PROXY textures for cubemap typesClément Foucault
It can happen than some textures are not supported on some implementation even if they fix the `GPU_max_texture_size` and `GPU_max_texture_layers`.
2020-08-05GPUTexture: Improve debug printClément Foucault
2020-08-03Cleanup: remove trailing space, newlines at eofCampbell Barton
2020-08-02GPU: Convert gpu_matrix.c to C++Clément Foucault
2020-08-02GPU: Convert gpu_shader_interface.c to C++Clément Foucault
2020-08-01Cleanup: use term init instead of initialize/initialiseCampbell Barton
The abbreviation 'init' is brief, unambiguous and already used in thousands of places, also initialize is often accidentally written with British spelling.
2020-07-31Merge branch 'blender-v2.90-release'Antonio Vazquez
2020-07-31Fix T79397: blurry icons at some UI scales, after recent refactorBrecht Van Lommel
Solution found by Yevgeny Makarov.
2020-07-30Fix T79347 GPU: Segfault starting blenderClément Foucault
2020-07-30GPU: Fix compilation errorClément Foucault
2020-07-30EEVEE: GLSL refactor/cleanupClément Foucault
- add the use of DRWShaderLibrary to EEVEE's glsl codebase to reduce code complexity and duplication. - split bsdf_common_lib.glsl into multiple sub library which are now shared with other engines. - the surface shader code is now more organised and have its own files. - change default world to use a material nodetree and make lookdev shader more clear. Reviewed By: jbakker Differential Revision: https://developer.blender.org/D8306
2020-07-30GPUBatch & GPUImmediate: Use GPUShader instead of using raw OGL handleClément Foucault
2020-07-30Cleanup: spellingCampbell Barton
2020-07-30Cleanup: GPU: Remove GPU_draw.h and move fluid gpu function to DRWClément Foucault
2020-07-30Cleanup: Split gpu_texture_image.c into BKE and IMB modulesClément Foucault
This is in order to disolve GPU_draw.h into more meaningful code blocks. All the Image related function are in `image_gpu.c`. All the MovieClip related function are in `movieclip.c`. The IMB module now has a connection with GPU. This is not strickly necessary and the code could be move to `image_gpu.c` if needed. The Image garbage collection is also ported to `image_gpu.c`.
2020-07-30GPU_draw.h: cleanup before splittingClément Foucault
2020-07-29GPUShader: Fix linking with MSVCClément Foucault
2020-07-29Cleanup: GPUTexture: Use UNPACK3 in texture_fluidClément Foucault
2020-07-29GPUState: Fix compilation error on MSVCClément Foucault
2020-07-29Cleanup: GPU: Move Image based function to GPU_draw.hClément Foucault
This makes it less confusing what functions are for blender structures.
2020-07-29Cleanup: GPU: Rename gpu_texture_smoke to fluid, and move back to CClément Foucault
The file do not have a reason to be C++ anymore.
2020-07-29GPU: Refactor gpu_texture_image to not use GL callsClément Foucault
This is also a bit of code cleanup, reorganisation. Tried to be DRYed but avoid too much code change to (hopefully) minimize breakage. - GPU: remove TEXTARGET_CUBE_MAP, this is no longer used in the codebase. - GPUTexture: Move compressed texture upload to gpu_texture.cc - GPUTexture: Add per texture Anisotropic filtering switch
2020-07-29GPU: Move gpu_shader.c to C++Clément Foucault
We split builtin shader support to its own file to avoid converting code (lack of designated initializer in C++) and to reduce file size.
2020-07-29GPU: Move gpu_state.c to C++Clément Foucault
2020-07-29GPU: Move gpu_texture.c to C++Clément Foucault
# Conflicts: # source/blender/gpu/GPU_texture.h
2020-07-29GPU: Move gpu_uniformbuffer.c to C++Clément Foucault
This also rewrite and simplify the module a bit.
2020-07-29GPU: Move gpu_vertex_buffer.c to C++Clément Foucault
2020-07-29GPU: Move gpu_vertex_format.c to C++Clément Foucault
2020-07-29Cleanup: correct assert in GPU_offscreen_read_pixelsCampbell Barton
2020-07-28Cleanup: spelling, commentsCampbell Barton
2020-07-27Cleanup: quiet warnings without DDSCampbell Barton
2020-07-27GPU: Fix crash and missing texture due to recent C++ portClément Foucault
Fix T79306 DRW: small issues with yesterday commits modifying TEXTARGET Fix T79303 Image texture node crashes EEVEE when connected to a shader output
2020-07-27GPU: Fix MSVC compile errorsClément Foucault
2020-07-26Cleanup: Image: Rename redundant enum for clarityClément Foucault
2020-07-26GPUTexture: Replace GL textarget enum by Image enumClément Foucault
2020-07-26GPU: Remove GL constant from BIF_glutilClément Foucault
2020-07-26Cleanup: GPU: Remove GPU_glew.h outside of GPU moduleClément Foucault
Remove use of GL* constants and types inside the codebase. There is still a few occurence to get rid of.