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
2016-10-16BLF: make blurry text an optional (disabled) featureMike Erwin
While trying to simplify text drawing, noticed no Blender code uses the blur feature. Hopefully scripts don't use it!
2016-10-16OpenGL: remove some unused legacy matrix callsMike Erwin
Part of T49450
2016-10-15Gawain: improve immediate mode performanceMike Erwin
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!
2016-10-15Fix unitialized variable useJulian Eisel
Own mistake in ae8e8454700. Patch by @efi0ng, thanks!
2016-10-15Merge branch 'master' into blender2.8Bastien Montagne
2016-10-15OpenGL: draw node sockets more efficientlyMike Erwin
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
2016-10-15OpenGL: new built-in point shader, clean up other shader namesMike Erwin
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*.
2016-10-15blender 2.8: OpenGL: node_circle_draw use now immediate modeMike Erwin
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
2016-10-15fix pointer type warningMike Erwin
thanks, gcc
2016-10-15Outliner: Fix missing indentation for search-match highlightJulian Eisel
Own mistake in ae8e84547005.
2016-10-15BLF: early exit when drawing empty stringsMike Erwin
Avoids all kinds of setup & preparations to draw nothing.
2016-10-15BLF: fix crash on text input fieldsMike Erwin
Some strings have known length, others are NULL terminated (len = INT_MAX in this case). Now font drawing knows to treat INT_MAX special.
2016-10-15Outliner: Draw highlights over entire rowJulian Eisel
Previously, highlights (mouse hover, selection, search-match) didn't affect background of restriction icons, now the entire line gets highlighted.
2016-10-15Outliner: Element mouse hover feedbackJulian Eisel
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.
2016-10-14viewport: draw non-mesh objects for a starterDalai Felinto
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.
2016-10-14viewport: move border drawing code to new fileDalai Felinto
2016-10-14immediate mode: convert render border code and move to new drawingDalai Felinto
routine
2016-10-14Immediate mode: use new util functions, and border draw functionsDalai Felinto
Part of T49043 Reviewers: merwin
2016-10-14Immediate mode: new util functions (imm_cpack and imm_draw_line_box)Dalai Felinto
2016-10-14OpenGL: draw text with fewer draw callsMike Erwin
Was one draw call per glyph, now one per line. Still room for improvement here.
2016-10-14GPencil: Avoid assert error if the immEnd is called with only one point for ↵Antonioya
lines This function will be replace by geometry shader, but we need this fix until the shader will be ready. The problem is similar to T49614.
2016-10-14Prevent crash after OpenGL rendering animation to images.Sybren A. Stüvel
2016-10-14Fix T49614: Grease Pencil GPF error if stroke thickness change too much ↵Antonioya
between stroke points The problem was the function tried to draw a line with one point only. This fix will be replaced by new geometry shaders, but we need while this change is not ready.
2016-10-14Fix T49571: 2d stabilize keys not visible in the Graph Editor and Dope SheetSergey Sharybin
2016-10-14Fix T49657: Audio backend "Jack" should be named "JACK".Bastien Montagne
2016-10-14GPencil: Display stroke filling while drawingAntonioya
Before this change, the stroke was filled only after complete the stroke drawing. For artist is better to get a feedback of the area he is filling while drawing, so this commit draws the filling area while drawing. The triangulation of the stroke is recalculated every time the function is called because using a cache is not useful because the points information is changing all the time while the stroke is being drawing.
2016-10-14Fix T49601: Material menu length problem.Bastien Montagne
Regression from rB69b66d549bcc8, was supposed to be non-functionnal change, so not sure why search menu was reduced here? For now, restore to 2.77 width.
2016-10-14viewport: fix rv3d->viewport mem free issueDalai Felinto
2016-10-14Fix T49646: Switching from large to small image can get stuck zoom at max ↵Anthony Edlin
zoom distance. Allow for zooming in at max zoom distance. Reviewed By: Severin Differential Revision: https://developer.blender.org/D2291
2016-10-13immediate mode: starting using new immUniformThemeColorBlendShade and more ↵Dalai Felinto
conversion
2016-10-13more theme color functions: UI_GetThemeColorBlendShade4fv, ↵Dalai Felinto
immUniformThemeColorBlendShade
2016-10-13Gawain: vertex format now uses fixed allocations (CPU perf++)Mike Erwin
API stays exactly the same. Attribute names can still be of variable length, as long as the average length does not exceed AVG_VERTEX_ATTRIB_NAME_LEN. Since this includes unused attributes (length = 0) the current avg of 5 might even be too high.
2016-10-13Merge remote-tracking branch 'origin/master' into blender2.8Dalai Felinto
2016-10-13Fix T49534: 2.78 Wrong texture scaling in material viewportSergey Sharybin
Seems to be a bug in original implementation of a830280: code was always using tangent space instead of UV map because it had the same name. Now prefer UVMap over tangent because this is how Cycles works. At least it's closer to. Not sure it the save+reload issue is still relevant after this fix, that needs to be double-checked. Thanks @dfelinto for looking into the report and simplifying the case. Should be included into 2.78a.
2016-10-13viewport: barebones to handle viewport compositing in gpu_viewport.cDalai Felinto
2016-10-13Gawain: fix build when TRUST_NO_ONE is disabledMike Erwin
2016-10-13Fix compiling with BlenderplayerJulian Eisel
2016-10-13Prevent problems when appending scene with referenced proxySybren A. Stüvel
Such a "referenced proxy" could be a proxy that is used in a constraint on another object. Brings back part of 1cdc54dc7db85766 but without the memory leak.
2016-10-13Usual UI/i18n tweaks & fixes.Bastien Montagne
2016-10-13immediate mode: small cleanup on timelineDalai Felinto
(no need to unbind/rebind the same program)
2016-10-13Fix: Grease Pencil palettes were missing a RNA path callbackJoshua Leung
2016-10-13Proxy appending: re-establish link to proxies when they are made localSybren A. Stüvel
This allows appending of an entire scene from another blend file into this one, even when that blend file contains proxified armatures. This replaces the approach from commit 1cdc54dc7db85766. Thanks @sergey for the help.
2016-10-13Fix T49635: column_flow Layout - last column is too small.Bastien Montagne
Column flow layout was abuse ui_item_fit in a weird way, which was broken for last column items. Now rather use own code, which basically spread available width as equally as possible between all columns.
2016-10-13Cleanup: UI layout: remove unsed and confusing parameter.Bastien Montagne
Things are complicated enough like that, no need to add useless noise on top of it!
2016-10-13inform immediate mode when switching OpenGL contextMike Erwin
Longstanding to-do is now to-done. Heinous bug reported by @dfelinto pushed me to fix this.
2016-10-13Gawain: fix immediate mode for multiple GL contextsMike Erwin
New functions activate & deactivate immediate mode. Call these when switching context and the internal VAO will be handled properly. VAOs are one of the few things *not* shared between OpenGL contexts.
2016-10-13Fix for crash on dopesheet drawing with immediate mode (rB7a552612c)Dalai Felinto
2016-10-13viewport: bring the manipulatorsDalai Felinto
2016-10-13Fix timeline break after recent immediate mode change (rBf6e7e46f)Dalai Felinto
2016-10-13gawain: assert for immBeginAtMost(..., 0)Dalai Felinto