Revision 3996fbc by Mike Erwin October 15, 2016, 18:41 (GMT) |
Revision cf5750a by Mike Erwin October 15, 2016, 18:41 (GMT) |
Gawain: improve immediate mode performance This was already fast on Apple, but @Severin and @dfelinto noticed slowdowns in user prefs, which is text heavy. The problem was immBeginAtMost not being smart about VBO write flushing. immBeginAtMost can use all of its allocated range or only a subrange. The previous code was forcing back-to-back draw calls and buffer writes to serialize. This commit lets OpenGL know that our VBO writes never overlap, so there's no need to wait. Should be much faster now! |
Revision 5e428b3 by Julian Eisel October 15, 2016, 16:59 (GMT) |
Revision fcff984 by Bastien Montagne October 15, 2016, 08:05 (GMT) |
Merge branch 'master' into blender2.8 |
Revision 9632ca0 by Mike Erwin October 15, 2016, 06:49 (GMT) |
OpenGL: draw node sockets more efficiently 1 or 2 draw calls per node instead of 1 per socket (inputs + outputs). Rearranged draw order so we set uniforms less frequently. Some style & dead code cleanup. Part of T49043 |
Revision 2df2799 by Mike Erwin October 15, 2016, 06:30 (GMT) |
OpenGL: new built-in point shader, clean up other shader names Smooth round point with outline (uniform color) and fill (varying color). Updated shader naming scheme: a shader that doesn't deal with color does not have to say "no color". Vertex shaders do not have to say "uniform color" since their frag counterpart actually has the uniform. Each name should describe what that shader *does*, not what it *doesn't do*. |
Revision 48db354 by Mike Erwin October 15, 2016, 04:14 (GMT) |
blender 2.8: OpenGL: node_circle_draw use now immediate mode I use your new point shader to draw the node's soket Reviewers: Severin, merwin Maniphest Tasks: T49043 Differential Revision: https://developer.blender.org/D2286 |
Revision 29b4792 by Mike Erwin October 15, 2016, 03:42 (GMT) |
OpenGL: bump Linux to GL 3.3 compat profile fall back to 3.0 if needed (during development) Part of T49012 |
Revision 4f4c780 by Mike Erwin October 15, 2016, 02:40 (GMT) |
fix pointer type warning thanks, gcc |
Revision 325b21c by Julian Eisel October 15, 2016, 00:08 (GMT) |
Revision 4736f19 by Mike Erwin October 15, 2016, 00:00 (GMT) |
BLF: early exit when drawing empty strings Avoids all kinds of setup & preparations to draw nothing. |
Revision 3f0c0ed by Mike Erwin October 15, 2016, 00:00 (GMT) |
BLF: fix crash on text input fields Some strings have known length, others are NULL terminated (len = INT_MAX in this case). Now font drawing knows to treat INT_MAX special. |
Revision 9904d73 by Julian Eisel October 14, 2016, 23:38 (GMT) |
Outliner: Draw highlights over entire row Previously, highlights (mouse hover, selection, search-match) didn't affect background of restriction icons, now the entire line gets highlighted. |
Revision ae8e845 by Julian Eisel October 14, 2016, 23:03 (GMT) |
Outliner: Element mouse hover feedback Some little UI polish to get familiar with outliner code (but also because it's a useful feature). Committing to blender2.8 branch but can also port to master (2.7) if wanted. This basically causes the mouse hovered element to be highlighted. Contrast of the highlight should be fine, even with a non-default theme. Also did some minor cleanup. |
October 14, 2016, 22:26 (GMT) |
Cycles: use near clipping distance in panorama camera. Reviewed By: sergey, brecht, dfelinto Differential Revision: https://developer.blender.org/D1952 |
Revision ee54a6f by Dalai Felinto October 14, 2016, 19:00 (GMT) |
viewport: draw non-mesh objects for a starter This starts to decouple non-mesh objects and the legacy draw pipeline. It shows how we can mix e.g., Cycles and lamps and empties. |
Revision 608e240 by Dalai Felinto October 14, 2016, 19:00 (GMT) |
viewport: move border drawing code to new file |
Revision 4a10eb3 by Dalai Felinto October 14, 2016, 19:00 (GMT) |
immediate mode: convert render border code and move to new drawing routine |
Revision e1e97bb by Dalai Felinto October 14, 2016, 18:58 (GMT) |
Revision 11653f8 by Dalai Felinto October 14, 2016, 18:57 (GMT) |
Immediate mode: new util functions (imm_cpack and imm_draw_line_box) |
|
|
|


Master Commits
MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021