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-01-31Cleanup: add trailing commasCampbell Barton
Improve clang-format output.
2019-01-29DRW: support clipping for all lamp typesCampbell 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-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: draw manager headersCampbell Barton
2019-01-26Cleanup: redundant definesCampbell Barton
Comment or remove unused defines.
2019-01-26Cleanup: wrapper for built-in shader accessCampbell Barton
2019-01-26DRW: support clipping for empty objectCampbell Barton
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-24Cleanup: add missing braces to draw managerCampbell Barton
2019-01-24Fix T60810: crash editing mesh with subdivision modifierPhilipp Oeser
typo in rBdc7e49298940 Reviewers: fclem Maniphest Tasks: T60810 Differential Revision: https://developer.blender.org/D4244
2019-01-24Cleanup: fix compiler warnings.Brecht Van Lommel
2019-01-24DRW: use clipping for depth bufferCampbell Barton
Object selection now supports clipping.
2019-01-24Correct doxy fileCampbell Barton
2019-01-24DRW: API for own versions of builtin GPU shadersCampbell Barton
DRW_shader_get_builtin_shader can replace GPU_shader_get_builtin_shader when we need to support clipping. Use this for loose point & wire drawing in object mode, clips edges in lattice edit mode.
2019-01-23Cleanup: comments above struct members, shader group assignmentsCampbell Barton
Avoid using pointer to pointer when building shader groups.
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-23DRW: generalize selecting between regular/clipped shadersCampbell Barton
Each engine was doing this on its own. Move to DRWContextState, use an enum.
2019-01-23Cleanup: add BEGIN/END to GPL headersCampbell Barton
2019-01-23DRW: only show hidden geometry when selection is usedCampbell Barton
Matches 2.7x behavior.
2019-01-22Cleanp: use single global for draw managerCampbell Barton
Add 'G_draw' for all draw manager globals, avoids adding extern to each file. Connection between `ts` and `globals_ubo` wasn't obvious, now called `G_draw.block` & `G_draw.block_ubo`.
2019-01-22Cleanup: use const argsCampbell Barton
2019-01-22DRW: Add DRW_shader_create_from_arrays utilityCampbell Barton
While verbose, this is a more flexible way to construct shaders. Libs & defines can be optionally included for each shader type which was previously done with inline string creation.
2019-01-21DRW: Fix corner indices order in clipping plane setupClément Foucault
Fix T60667: Eevee: reflection plane bug in rendered view.
2019-01-21Fix clipping shaders with some AMD/Intel driversCampbell Barton
Caused: error: unsized array index must be constant Use hard coded number of clipping planes, copying the 4th to 5 & 6 when only 4 are used.
2019-01-21DRW: Support wire overlay clippingCampbell Barton
2019-01-21Cleanup: rename terms count/num to lenCampbell Barton
2019-01-18DRW: Increase frustum culling precisionClément Foucault
Use normal_quad_v3 instead of normal_tri_v3 and compute the mean of all corner distance during frustum plane extraction. Fix T58243 Flickering of viewport when rotating and zooming
2019-01-18DRW: Fix assert when using draw debug APIClément Foucault
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-17Fix T60545: Buffer overflow in selection batch creationClément Foucault
Use loose_edges and loose_verts buffer instead of detecting them manually.
2019-01-17Cleanup: de-duplicate loose vert/edge checksCampbell Barton
2019-01-17Fix T60578: Crash selecting after hiding verticesCampbell Barton
2019-01-15Cleanup: rename BASE_FROMDUPLI -> BASE_FROM_DUPLICampbell Barton
Matches `BASE_FROM_SET`.
2019-01-15Fix T60504: Armature wire draw type hidden when unselectedCampbell Barton
2019-01-15Edit Mesh: Improve selected double vertices visibilityClément Foucault
The issue is that the edge fix geometry goes on top of the actual drawn points. This commit reduce the edge fix size to the strict minimum but does not get rid of it. Related to T60139
2019-01-15Fix T59482: Creating 2 Particle systems breaks the appClément Foucault
2019-01-14Fix T60476 Loose vertices only partially drawnClément Foucault
Was caused by a missing vbo attachement. Also fix said Vbo refreshing when selecting.
2019-01-14Fix T60332: Lattice objects do not display properly in Edit modeClément Foucault
This was caused by wires not having alpha by default, making them disapear with MSAA.
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-11EditUV: Only clear data VBO when selection changesClément Foucault
This is a small optimisation that make UV selection faster.
2019-01-11Fix T59990: Crash when entering edit mode with skin modifier enabledClément Foucault
The skin modifier does not keep the UV layers. This just add a safety check when there is no UV layers.
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.