Revision c722fd2 by Bastien Montagne March 16, 2018, 16:49 (GMT) |
Some more minor cleanups. |
Revision 5389964 by Bastien Montagne March 16, 2018, 16:17 (GMT) |
Add an assert to BKE_icon_changed() that we are actually dealing with ID icon. Otherwise, ID->obj is an opaque pointer, wrong usage here could lead to a vast amount of bad things. |
Revision 1a71d5a by Bastien Montagne March 16, 2018, 16:06 (GMT) |
Fix T54310: Assert when enable Brush custom icon. We had a mix of two issues here actually: * First, Brush are currently using their own sauce for custom previews, this is not great, but moving them to use common ImagePreview system of IDs is a low-priority TODO. For now, they should totally ignore their own ImagePreview. * Second, BKE_icon_changed() would systematically create a PreviewImage for ID types supporting it, which does not really makes sense, this function is merely here to 'tag' previews as outdated. Actual creation of previews is deferred to later, when we actually need them. |
Revision 67e2806 by Bastien Montagne March 16, 2018, 15:44 (GMT) |
Cleanup: naming and const parameter. |
Revision 36e7de9 by Sergey Sharybin March 16, 2018, 11:26 (GMT) |
Merge branch 'master' into blender2.8 |
Revision da4efae by Sergey Sharybin March 16, 2018, 11:24 (GMT) |
Depsgraph: Support colored addresses in debug prints Enabled with --debug-depsgraph-pretty, only works with ANSI terminals. Thanks Bastien for review! |
Revision 295d851 by Sergey Sharybin March 16, 2018, 11:16 (GMT) |
Add Truecolor ANSI console constants They are used to start and end colored output in console. Use with care, it is up to you to check that console actually supports Truecolor ANSII. In thew future we can extend this to other consoles and platforms. |
Revision f0596bf by Sergey Sharybin March 16, 2018, 11:11 (GMT) |
Hash: Add utility function to convert address to rgb values Some magic hashing, will become handy to make debug messages easier to follow. |
Revision 5baf0de by Sergey Sharybin March 16, 2018, 10:24 (GMT) |
Merge branch 'master' into blender2.8 |
Revision 3baf31e by Sergey Sharybin March 16, 2018, 10:14 (GMT) |
Depsgraph: Move evaluation debug prints to depsgraph This way we can easily control format and keep it consistent. And also possibly do other trickery, like coloring addresses! |
Revision 7e954d9 by Clément Foucault March 16, 2018, 07:50 (GMT) |
GWN: Uncomment a (now) usefull assert |
Revision 53f8c47 by Clément Foucault March 16, 2018, 07:50 (GMT) |
Eevee: Add warning comment about ubo/texture persistence. More info on bindings persistence here : 8a692da7f81d8b0798f4aeebaa4a1123693fc279 |
Revision 2cfcffb by Clément Foucault March 16, 2018, 07:50 (GMT) |
Clay: Small cleanup. Use persistent binds for the texture and UBOs. Remove use of stencil. |
Revision 93e26cb by Clément Foucault March 16, 2018, 07:50 (GMT) |
DRW: Fix/refactor UBO & Texture binding. Previous approach was not clear enough and caused problems. UBOs were taking slots and not release them after a shading group even if this UBO was only for this Shading Group (notably the nodetree ubo, since we now share the same GPUShader for identical trees). So I choose to have a better defined approach: - Standard texture and ubo calls are assured to be valid for the shgrp they are called from. - (new) Persistent texture and ubo calls are assured to be valid accross shgrps unless the shader changes. The standards calls are still valids for the next shgrp but are not assured to be so if this new shgrp binds a new texture. This enables some optimisations by not adding redundant texture and ubo binds. |
Revision 43d0943 by Campbell Barton March 16, 2018, 06:04 (GMT) |
Merge branch 'master' into blender2.8 |
Revision ee0697e by Campbell Barton March 16, 2018, 05:29 (GMT) |
Cleanup: doxy sections for editmesh files. |
Revision 5de9c8f by Campbell Barton March 16, 2018, 05:29 (GMT) |
Cleanup: move mesh mirror functions to own file |
Revision 2816694 by Brecht Van Lommel March 16, 2018, 04:08 (GMT) |
Code cleanup: fix various compiler warnings on clang/macOS. |
Revision 3692a2b by Brecht Van Lommel March 16, 2018, 03:35 (GMT) |
Merge branch 'master' into blender2.8 |
Revision e5327af by Kévin Dietrich March 16, 2018, 03:06 (GMT) |
|