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-08-05Fix T67259 : Auto depth not working with multires in sculpt modemano-wii
Basically the solution is to call `DRW_shgroup_call_sculpt` when `BKE_sculptsession_use_pbvh_draw(...)` is true. Ref T67259 Reviewers: fclem, jbakker, brecht Reviewed By: fclem, brecht Maniphest Tasks: T67259 Differential Revision: https://developer.blender.org/D5396
2019-05-30Fix T65049 Crash cause by NULL geom pointerClément Foucault
2019-05-30DRW: Refactor to use object pointer for drawcall by defaultClément Foucault
This cleans up a bit of duplicated code and some confusion about what was culled and what wasn't. Now everything is culled based on the given object pointer. If the object pointer is NULL there is no culling performed.
2019-05-27Cleanup: DRW: Move WorldClipPlanes to builtin uniformClément Foucault
2019-05-22DRW: Remove DRW_state_clip_planes_set_from_rv3dClément Foucault
This should be handled by DST.view_default
2019-05-17Cleanup: DRW: Remove uneeded DRWState valuesClément Foucault
This removes: - DRW_STATE_TRANS_FEEDBACK - DRW_STATE_WIRE - DRW_STATE_POINT
2019-05-14Cleanup: DRW: Remove uneeded _add suffix from DRW_shgroup_call_addClément Foucault
2019-04-25DRW: Use culling when selectingClément Foucault
The culing still seems to be off but at least it is enabled now.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-20Cleanup: use lowercase for dimensions in function namesCampbell Barton
Most API's already use this convention.
2019-03-16Cleanup: fix compiler warnings.Brecht Van Lommel
2019-03-13Fix T62156: Hair particle only shows up in final render when visible in viewportSergey Sharybin
Draw manager was checking for particles being enabled in viewport, but actual evaluation was happening for render. Now the check in draw manager properly follows current evaluation mode. Additionally, de-duplicated some check, by moving everything needed to a single place. Annoying part is the const-cast, that could be cleaned up later by modifying some underlying functions.
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-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-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-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: add trailing commasCampbell Barton
Improve clang-format output.
2019-01-26Cleanup: draw manager headersCampbell Barton
2019-01-24DRW: use clipping for depth bufferCampbell Barton
Object selection now supports clipping.
2019-01-23Cleanup: add BEGIN/END to GPL headersCampbell Barton
2019-01-04Cleanup: indentation (right shift)Campbell Barton
2018-12-19DNA: move back-face culling to shading popoverCampbell Barton
Overlay options shouldn't be used when overlays are disabled. Move to shading popover, reported as T58070.
2018-12-18DRW: Cleanup / Renaming of mesh batch cache functionsClément Foucault
THis is in order to avoid the jungle of names being different at each step of the API. Also removes some unused functions.
2018-12-18DRW: Fix flat object not being selectable in wireframe viewClément Foucault
The problem was double. They were not selectable in wireframe view and they would not display with the right color, thus always appearing un-selected.
2018-12-17Mesh Batch Cache: Optimization & Refactor shaded surface supportClément Foucault
This now only upload data per loops to the GPU, making use of index buffer to draw polygon. This make use of the vertex cache, speed up renders and saves a lot of vram. Update performance is also slightly faster and can even be improved further by updating only uvs or vcol independently. This commits breaks texture paint batches. It will be added back in another commit.
2018-11-29Fix rotate around point under cursor 'seeing' hidden faces in paint modes.Alexander Gavrilov
2018-10-09DRW: Fix volume visibility when object draw type is wire or bboxClément Foucault
2018-10-08Cleanup: use DRW_object_is_* for object checksCampbell Barton
Also use const qualifier for object's.
2018-09-19Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-14Object Mode: Make Flat object selectable in ortho view ...Clément Foucault
... when wireframe is enabled
2018-07-20Basic Draw Engine: Cleanup unused code.Clément Foucault
This engine is only used for selection and draw depth so no need for anything else. Also add backface culling support to selection.
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-12Cleanup: style, duplicate headerCampbell Barton
2018-07-10Fix T55484: Border zoom fails in Edit-ModeSergey Sharybin
2018-06-07Draw: Use proper continue when psys is disabledSergey Sharybin
2018-05-26Cleanup: whitespace, long lines, duplicate includeCampbell Barton
2018-05-20DRW: Rename some DRW_STATE_* for more consistency.Clément Foucault
2018-05-17Remove ViewLayer settings - cleanup 1/2Dalai Felinto
2018-05-15Draw manager: Pass object to hair batch cacheSergey Sharybin
Currently unused, but is required for an upcoming work.
2018-05-15Particle edit: Make visibility check to be per-particle systemSergey Sharybin
This way we can see other particle systems while combing another one.
2018-05-11Draw manager: Add utility function to check whether particle systems are to ↵Sergey Sharybin
be drawn
2018-04-17Particles: Hair: Make hair selectable in the 3D view.Clément Foucault
2018-03-25Basic Engine: Remove unneeded use of Framebuffers.Clément Foucault
2018-01-30DRW / Render: Add support for render pipeline in drawmanager.Clément Foucault
For simplicity we choose to execute the rendering of Opengl engines in the main thread and block the interface. This might be addressed in the future at least for video rendering. A drawmanager wrapper (DRW_render_to_image) is called by the render pipeline to set up the Opengl state and then call the specific draw_engine->render_to_image function.
2017-11-29Basic engine: Cleanup, use lower case prefix for private functionsSergey Sharybin
2017-11-29Draw manager: Listen to depsgraph's ID update callbacksSergey Sharybin
This replaces dedicated flag which wasn't clean who sets it and who clears it, and which was also trying to re-implement existing functionality in a way. Flushing is not currently very efficient but there are ways to speed this up a lot, but needs more investigation.
2017-11-14Fix Opengl Error with glBlitFramebufferClément Foucault
This was caused by 93936b8643b9c4f77fe13d35b41ecaa246843dd8 From GL spec : GL_INVALID_OPERATION is generated if mask contains GL_DEPTH_BUFFER_BIT or GL_STENCIL_BUFFER_BIT and the source and destination depth and stencil formats do not match. So blitting framebuffer with depth or stencil require the SAME FORMAT.
2017-11-11GPUFramebuffer: Add possibility to blit stencil buffer.Clément Foucault