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-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-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-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-24Cleanup: use macro to set flagsCampbell Barton
2019-01-24Animation player: tweaks for zooming in and outSergey Sharybin
Use zoom steps lower than 1. This allows to zoom out a high-res image. For example, before it was not possible to maker 4K image to fit on FullHD monitor. Also, don't force zoom to be above 1. Not sure why that was done, but this disallows zooming out. It is still not possible to zoom in higher than the window size allows. In order to support this the player needs to be refactored in a way that allows to decouple zoom from window size. Fixes T59177: Animplayer extreme zooms in when playing rendered animation
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-18GWN: Port to GPU module: Move files to GPUClément Foucault
This does not include all the struct and type renaming. Only files were renamed. gwn_batch.c/h was fusioned with GPU_batch.c/h gwn_immediate.c/h was fusioned with GPU_immediate.c/h gwn_imm_util.c/h was fusioned with GPU_immediate_util.c/h
2018-07-16Merge branch 'master' into blender2.8Brecht Van Lommel
2018-07-15Cleanup: doxy commentsCampbell Barton
2018-07-15GPU_matrix: use Blender's naming conventionsCampbell Barton
Thanks to @sergey for review
2018-07-10Fix T55776: crash with multiple windows and reload new.Brecht Van Lommel
There were a number of cases where immActivate() and immDeactivate() could get out of sync, causing crashes due to using a freed mutex lock. Refactor the code now to hopefully avoid this always.
2018-07-08Cleanup: abbreviate unsigned types (editors, wm)Campbell Barton
2018-07-06Merge branch 'master' into blender2.8Sergey Sharybin
2018-07-06Animation player: Ensure new frames are displayed while dragging mouseSergey Sharybin
Thanks Campbell for review!
2018-07-01Fix T55675: Crash internal animation playerCampbell Barton
2018-06-19Fix animation player drawing wrong sizeCampbell Barton
2018-06-19Fix animation playerCampbell Barton
2018-06-07Merge branch 'master' into blender2.8Campbell Barton
2018-06-07Cleanup: trailing space for windowmanagerCampbell Barton
2018-02-14GPU: use alpha blend that works for drawing to transparent buffer.Brecht Van Lommel
It's unlikely to ever be intentional to square the source alpha, as happens with glBlendFunc, so this changes the blending throughout the code.
2017-09-26Cleanup: naming (GPU immediate util)Campbell Barton
2017-09-13Cleanup: use explicit 2d suffix for imm utilsCampbell Barton
Avoid ambiguity between 2d/3d (which were already named).
2017-08-18Audaspace: Moving audaspace 1.3 into extern.Jörg Müller
Deleting the old internal audaspace. Major changes from there are: - The whole library was refactored to use C++11. - Many stability and performance improvements. - Major Python API refactor: - Most requested: Play self generated sounds using numpy arrays. - For games: Sound list, random sounds and dynamic music. - Writing sounds to files. - Sequencing API. - Opening sound devices, eg. Jack. - Ability to choose different OpenAL devices in the user settings.
2017-07-10Merge branch 'master' into blender2.8Campbell Barton
2017-07-10Error in last commitCampbell Barton
2017-07-10Fix T51998: Anim player uses 100% CPUCampbell Barton
The loop running with no events didn't sleep. Now wait for events when paused.
2017-07-08Merge branch 'master' into blender2.8Brecht Van Lommel
2017-07-08Fix build after previous commit.Brecht Van Lommel
2017-06-19Gawain API naming refactorCampbell Barton
Use consistent prefix for gawain API names as well as some abbreviations to avoid over-long names, see: D2678
2017-05-04Remove cpackCampbell Barton
Places where it's removed are already replaced by newer logic.
2017-04-19Get rid of glMatrixMode callsSergey Sharybin
With the explicit calls we don't need to worry about current state outside of the GPU module now. In fact. we don't need to worry about current matrix mode in core profile at all. Legacy OpenGL now has some code which ensures current matrix mode when using explicit calls to push/pop matrix.
2017-04-19Fix node editor drawing when built with core profileSergey Sharybin
There are two major things in this commit. First one is to have proper stack for projection matrices. This is something what OpenGL specification grants to have at least 2 elements for and what is required to have for proper editor drawing without refactoring the way how we restore projection matrix. Supporting this stack have following advantages: - Our GPU stack is closer to OpenGL specs, making it easier to follow by other developers who are always familiar with OpenGL. - Makes it easier to port all editors to a new API. - Should help us getting rid of extra matrix push/pop added in various commits to 2.8 branch. The new API follows the following convention: - gpuPushMatrix/gpuPopMatrix ALWAYS deals with model view matrix and nothing more. While this name does not fully indicate that it's only model view matrix operator, it matches behavior of other matrix operations such as transform which also doesn't indicate what matrix type they are operating on. - Projection matrix has dedicated calls for push/pop which are gpuPushProjectionMatrix/gpuPopProjectionMatrix.
2017-04-16cleanup use of immUniformColorMike Erwin
- use best function for the job - don't specify alpha if 100% - 'f' for floating point literals
2017-04-11Make image drawing code working with core profileSergey Sharybin
The issue was caused here by usage of deprecated GL_CURRENT_PROGRAM which was returning rubbish value. Now we use imm API and create vertex format prior to immBindProgram. This made us required to have some sort of state passed from setup function to actual drawing.
2017-04-10GL/playanim: use immediate mode wrapper, replace glDrawPixelsCampbell Barton
2017-04-06Depsgraph: Remove old depsgraph header from window managerSergey Sharybin
2017-04-06Initialize immediate mode in Animation PlayerGermano Cavalcante
PS. With this solution, immediate mode can be initialized and finalized consecutively if you drop a video part of T49043
2017-04-05Cleanup: Move imm_draw utils into own fileCampbell Barton
These were in BIF_glutil which is documented to be removed, so best not define new API's there.
2017-03-27OpenGL: remove several glMatrixMode callsMike Erwin
A few of these were redundant, others could be converted to new matrix API. Part of T49450
2017-03-21OpenGL: convert to new matrix API (part 3)Mike Erwin
Part of T49450
2017-03-04OpenGL: remove fdrawcheckerboardMike Erwin
This helper function was marked DEPRECATED since it uses old OpenGL calls. Switched last 2 uses to imm_draw_checker_box, which does the same thing, only awesome. Part of T49043
2016-05-10Fix T48369: Missing suport for main '+' key.Bastien Montagne
Many keyboard layouts (italian, spanish, german...) have direct access to '+' key on main keyboard area (not the numpad one), ans x11 has own define for this key, so use it instead of generating an unkown key event. Note that we most likely have much more missing 'specific' keycodes for non-US keyboard layout, but think since we already had a 'minus' keyevent, supporting 'plus' one is totally consistent. And we had a spare space in our defined values just for it even! This keyevent is only supported/generated by x11 and cocoa Ghost backends for now, neither SDL nor win32 seem to have matching key events...
2016-01-29Cleanup: remove unused codeCampbell Barton
2015-12-27Fix T47064: Change Audio defaults to 48 kHzJörg Müller
Historically blender had an audio sample rate of 44.1 kHz as default which is mostly popular because it's the sample rate of audio CDs. Audaspace kept using this default from the pre 2.5 era. It was about time to change to 48 kHz, which is a more widespread standard nowadays, especially in video. It is the recommended sampling rate of the Audio Engineering Society. Further reading: https://en.wikipedia.org/wiki/44,100_Hz#Status
2015-10-15Fix crash w/ PlayAnim & long filenamesCampbell Barton
Paths >128 chars could crash. Replace BLI_newname with direct BLI_stringenc/dec use which makes more sense in this case.
2015-10-15Fix memory leaks in PlayAnimCampbell Barton
Was never freeing filenames or pictures.
2015-10-15Fix T46465: Lag scrubbing w/ PlayAnimCampbell Barton
2015-10-15PlayAnim: avoid list count setting frame from mouseCampbell Barton
2015-10-08Cleanup: redundant code in anim playerCampbell Barton
Was setting the path to a directory when no file was given - then checking its a loadable file.