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-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
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-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-29Cleanup: replace attrib w/ attrCampbell Barton
Also rename GPUVertexAttribs to GPUVertAttrLayers, avoids confusion with GPUVertAttr which isn't closely related.
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-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-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-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-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-06Cleanup: add trailing commas to structsCampbell Barton
Needed for clang formatting to workaround bug/limit, see: T53211
2019-01-04Cleanup: SpellingSergey Sharybin
2019-01-04Provide more information on unknown GPUSergey Sharybin
2019-01-04Merge branch 'blender2.7'Sergey Sharybin
2019-01-04Recognize llvmpipe renderer as software OpenGLSergey Sharybin
2019-01-03Revert "GPU: add negated normal conversion functions"Campbell Barton
This reverts commit d28b29d428cc7fc7eb29f2302b5d80fc63a9f870.
2019-01-03GPU: add negated normal conversion functionsCampbell Barton
Saves having to negate to a temporary variable.
2019-01-02Fix T59773: Raise exception if the gpu module is used in backgound mode.mano-wii
Instead of crashing, an error message is displayed if a function of the gpu module is called without a GPU context. Reviewers: brecht, campbellbarton, JacquesLucke, mont29 Subscribers: abdelmatinboulbayam, amir.shehata Differential Revision: https://developer.blender.org/D4143
2018-12-30Cleanup: warnings (clang)Campbell Barton
2018-12-25GPU: Add another driver to the list of unused_fb_slot_workaroundmano-wii
I start to think that an automatic detection would be a better solution.
2018-12-24Fix/cleanup another bunch of UI messages issues.Bastien Montagne
Also (mostly in comments): behaviour -> behavior (we use American English).
2018-12-18DRW: Instance: Makes it possible to have instances of a non-init batchClément Foucault
2018-12-17GPU: Add Intel HD Graphics 530 to the list of buggy intel gpusClément Foucault