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-09-20Fix T49408: OpenGL light widget breaks viewport shadingSergey Sharybin
2016-07-18Additional Waveform Drawing ModeSergey Sharybin
This diff adds a 6th drawing mode to the Waveform Scope. The new mode shows the RGB colour channels overlaid as a "Full colour" waveform. The old "Red Green Blue" mode is renamed "Parade" which is the standard industry term for RGB channels shown side-by-side. This full colour style of waveform is very much more useful for colour grading than the Parade mode and is the default waveform for many artists. Files from older Blender versions which show scopes open as expected. Patch by John Cox (johnedwardcox), thanks! Reviewers: sergey Reviewed By: sergey Subscribers: campbellbarton, tmw, Blendify Differential Revision: https://developer.blender.org/D1936
2016-06-10GPU: use basic-shader for line-stippleCampbell Barton
2016-06-09GPU: avoid multiple bind calls in GPU_draw_pbvh_buffersCampbell Barton
Also add utility functions: GPU_basic_shader_bind_enable/disable so we don't have to get the previous state every time and manipulate it
2016-06-09Flat shading for basic shaderAlexander Romanov
The purpose of the patch is to replace deprecated glShadeModel. To decrease glShadeModel calls I've set GL_SMOOTH by default Reviewers: merwin, brecht Reviewed By: brecht Subscribers: blueprintrandom, Evgeny_Rodygin, AlexKowel, yurikovelenov Differential Revision: https://developer.blender.org/D1958
2016-02-19Set line-width, point size when running callbacksCampbell Barton
Since 2.76 Blender no longer resets these after use, this may break add-ons, so reset before calling region callbacks.
2016-02-16Add missing line-width for curve widgetCampbell Barton
2016-01-23OpenGL: call glLineWidth less oftenMike Erwin
Each LINES draw call is now responsible for its own line width. No need to set it back to its 1.0 default after every draw. This eliminates half our calls to glLineWidth , similar to last week’s work on glPointSize.
2016-01-22OpenGL: cleanupMike Erwin
- LINE_STRIP to LINES when only drawing one - group state changes for easier reading - general cleanup
2016-01-16OpenGL: remove redundant state changeMike Erwin
2016-01-16cleanup: C99Mike Erwin
- tighter scoping - declare closer to use - struct initializers - bool vs int
2016-01-16OpenGL: simplify some UI draw callsMike Erwin
- vectorscope grid - color ramp handles - box shadows (image file preview)
2016-01-16OpenGL: fixes related to GL_POINTSMike Erwin
I put all usage of GL_POINTS under the microscope. Fixed problems & optimized a couple of spots. - reduce calls to glPointSize by about 50% - draw selected & unselected vertices together for UV editor & EditMesh - draw initial gpencil stroke point the proper size - a few other smaller fixes New policy: each GL_POINTS draw call needs to set its desired point size. This eliminates half our calls to glPointSize (setting it back to its 1.0 default after every draw).
2016-01-08OpenGL: remove glPointSize hackMike Erwin
2015-12-27OpenGL: stipple support added to basic GLSL shaderAlexander Romanov
The is intended to replace the deprecated glPolygonStipple() calls with a shader based alternative, once we switch over to GLSL shaders. Reviewers: brecht Differential Revision: https://developer.blender.org/D1688
2015-12-06OpenGL: rename simple shader to basic shader.Brecht Van Lommel
2015-12-06OpenGL: isolate fixed function lighting in simple shader code.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1645
2015-11-28OpenGL: set OpenGL lights through simple shader API.Brecht Van Lommel
2015-09-20Fix T46180: Theme > UV Image editor > Scope Background does not have any effectJulian Eisel
2015-06-22Fix T45149: Normal Node shows a hole in its sphere with heigh scale facsJulian Eisel
2015-05-04Cleanup: wrapped function indentationCampbell Barton
2015-03-17Part 2 of D1082 by Troy Sobotka, remove our functions that do lumaAntony Riakiotakis
calculations and use the OCIO one instead.
2015-02-26cleanup: spelling & typosMike Erwin
Comments only, no functional change.
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-27Interface get rid of some quadstrips in favor of trianglestripsMartijn Berger
If we ever want OpenGL 3.2 core context quadstrips need to go anyway and while there is much more things that need to be done this is something that can be tackled without any mayor surgery. And without losing any kind of compatibility with ancient GL. Reviewers: psy-fi Reviewed By: psy-fi Subscribers: psy-fi Projects: #bf_blender Differential Revision: https://developer.blender.org/D1027
2015-01-19Viewport: Add adjustable safe areas, 3d-view & VSECampbell Barton
Also adds safe-area presets. D325 by Diego Gangl with own edits.
2014-12-07Input Method Editor (IME) support for text buttonsSeverin
Original patch by @random (D765) with some minor work done by @campbell and me. At this place, I'd like call out a number of people who were involved and deserve a big "Thank you!": * At the first place @randon who developed and submitted the patch * The Blendercn community which helped a lot with testing - espacially * @yuzukyo, @leon_cheung and @kjym3 * @campbellbarton, @mont29 and @sergey for their help and advises during * review * @ton who realized the importance of this early on and asked me for * reviewing We are still not finished, as this is only the first part of the implementaion, but there's more to come!
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-08-29Fix T41617: Color ramp crashes user preferencesCampbell Barton
Color ramps with no handles caused issues.
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-06-27UI: increase contrast for active colorband handleCampbell Barton
2014-06-26Code cleanup: remove MAT3/4_UNITY defines, just call unit_m3/4Campbell Barton
2014-05-14Fix for curve widget hue gradient drawing incorrectly when zoomingCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-27Code cleanup: const args and arraysCampbell Barton
2014-04-20Code cleanup: styleCampbell Barton
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-10Speedup track preview widget for byte imagesSergey Sharybin
This gives a huge speedup gain for cases when you've got rather huge markers on a byte images. Done by skipping IMB_float_from_rect()/IMB_rect_from_float() for such cases. We can sample the buffers without color space conversion.
2014-04-10Remove extra glEnd() call.Antony Riakiotakis
2014-04-02Replace resize code of image scopes by use of new GRIP button.Bastien Montagne
This deduplicates/simplifies some code. Also cleanup up a bit scopes UI code! Use new GRIP button for uiList grab-resize. This allows us to greatly simplifies the code, and get rid of a few hacks in uiList event handling! Note autosize mode of uiList is now trigered by any value of list_grip below a given threshold, rather than the fixed zero value... Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D343
2014-03-29UI: Color-Ramp handlesCampbell Barton
- display handles with solid color. - active handle is highlighted. - 1/4 of the colorband draws solid. - use old-style handles when zoomed out. D289 by Charlie Jolly with own modifications.
2014-02-13Code cleanup: remove unused button aspectCampbell Barton
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-04UI: Use bool rather then int/short's where possibleCampbell Barton
2013-12-24UI: Display alpha checkers in image info's color swatch.Campbell Barton
2013-12-07Code Cleanup: pass rectangles as const in insterface filesCampbell Barton
2013-10-08uiSetRoundBox still took hard coded numbers in places.Campbell Barton
2013-08-11use 'greater/less then or equal to' operators rather then adding 1.Campbell Barton
2013-05-28code cleanup: remove old/unused bmesh bevel transform mode, remove commented ↵Campbell Barton
character list UI widget and the members these used in 'G' global.
2013-04-19UI drawing fix:Ton Roosendaal
Wrongly replaced a "&" with "|" for a define. That made node headers in node editor draw too dark. Also made header for default node not use alpha. In general this drawing is not very good - it gets too transparent and dark. Needs nicer AA function in interface, will be done later.