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
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-02-22Code cleanup: styleCampbell Barton
2014-01-19Docs: doxygen file descriptions for BLF, GPU and WMCampbell Barton
2013-12-05User Interface: Ctrl+C over a menu copies the py commandCampbell Barton
also use bools rather then ints
2013-11-22Code Cleanup: use NULL for pointer checks and remove joke.Campbell Barton
2013-10-31Fix #37261 Rendering a Render Layer from another scene doesn't update.Lukas Toenne
The scene pointer used for looking up the appropriate source of render result images in the image editor was always taken from context. This means that render results for a different scene would never be displayed in the image editor. To give feedback on running renders, try to get the running render job's scene pointer in the image editor for render result type images. This only happens during rendering, apart from that the regular context scene result is displayed.
2013-09-23Fix #36800: closing render window during render crashes, the operator would beBrecht Van Lommel
cancelled before the job, causing invalid access to op->reports in the job thread.
2013-08-28Fix #36555: preview render in properties editor did not get cancelled andBrecht Van Lommel
restarted fast enough on resizing the editor, especially noticeable with e.g. luxrender which does a progressive refining render.
2013-07-08Fix #35960, #36044: blender internal viewport rendering crash while editing ↵Brecht Van Lommel
data. Now the viewport rendering thread will lock the main thread while it is exporting objects to render data. This is not ideal if you have big scenes that might block the UI, but Cycles does the same, and it's fairly quick because the same evaluated mesh can be used as for viewport drawing. It's the only way to get things stable until the thread safe dependency graph is here. This adds a mechanism to the job system for jobs to lock the main thread, using a new 'ticket mutex lock' which is a mutex lock that gives priority to the first thread that tries to lock the mutex. Still to solve: undo/redo crashes.
2013-05-17More work on 3d view render:Ton Roosendaal
- reverted fix for bug 32537 (error report drawing after thread job didn't show) This solves very bad 3d view render updates while using transform, it was getting into an eternal feedback loop for dependencies. (jobs sending mousemoves causing jobs to end, causing mousemoves, causing etc). - The render-update code was not going over all windows, but over every screen to send signals (also the invisble ones)
2013-04-04Remove unused function.Sergey Sharybin
It was only used for movie clips prefetching, no need in it nowadays.
2013-03-20Prefetching for movie clipsSergey Sharybin
This commit basically implements frames prefetching for movie clip datablock. Number of frames to be prefetched is controlled in User Preferences, System tab, Prefetch Frames option. Currently prefetching is destructive-less for movie cache, meaning mo frames will be removed from the cache when while prefetching. This is because it's half of simplier to implement, but it also makes sense from tracking point of view -- we could want to playback in both directions and removing frames from behind time cursor is not always a good idea. Anyway, smarter prefetching strategy could be developed later. Some implementation notes: - Added MEM_CacheLimiter_get_memory_in_use function to get memory usage of specified memory limiter. - Fixed prototype of MEM_CacheLimiter_get_maximum which was simply wrong (used wrong data type for output). - Added some utility functions to movie clip and movie cache for direct cache interaction and obtaining cache statistics. - Prefetching is implemented using general jobs system. which is invoking from clip draw function. - Prefetcing will stop as soon other job or playback starts. This is done from performance point of view. Jobs will likely require lots of CPU power and better to provide whole CPU to it. Playback is a bit more complicated case. For jpeg sequence playback prefetching while paying back is nice. But trying to prefetch heavy exr images and doing color space conversion slows down both playback and prefetching. TODO: - Think of better policy of dealing with already cached frames (like when cached frames from other clips prevents frames from current clip to be prefetched) - Currently a bit funky redraw notification happens from prefetch job. Perhaps own ND_ is better to have here. - Hiding clip while prefetch is active in theory shall stop prefetching job. - Having multiple clips opened on file load will prefetch frames for only one of them.
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2012-11-28Fix #33330: Proxies are not built in Sequencer if preview is visibleSergey Sharybin
Was own regression when was solving conflict between sequencer preview and compositor jobs. Made it so now only compositor jobs are being killed from sequencer preview.
2012-11-23Fix #33270: Opening file browser crashes when sequencer preview is visibleSergey Sharybin
Crash only happens if thumbnails are enabled and crash was caused by removing jobs while iterating them.
2012-11-07code cleanup:Campbell Barton
- remove double promotions - use UI_DPI_ICON_FAC macro rather then dpi/72 - add assert to prevent creating jobs with WM_JOB_TYPE_ANY, which should only be used for finding jobs.
2012-11-06Bugfix #33092Ton Roosendaal
Fluid sim would stop or crash with node editor. Bug was a real bad one - the code for giving out WM jobs was messed up for long. It was giving a running fluid job to the compositer even... tsk! I will go over jobs code carefully next days to see if it all behaves. Now it allows per owner multiple jobs, provided it has different job_type set. Also fixed: preview renders (material) were deadslow once a while - caused by icon render setting miniature tile render sizes. Now it's fast again, but there are still 3 icon jobs running per UI change... need to check what.
2012-10-29Bugfix #33004Ton Roosendaal
Screencast recording stopped on a undo/redo. This was because all thread jobs were killed then. Now it leaves screen jobs (screen cast) running, that's data that doesn't change on undos. Also renamed jobs_stop_all() to jobs_kill_all() - it terminates threads.
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-09-28fix for header not updating with an error report when a job finishes.Campbell Barton
was reported as a reply to [#32537], but is a different issue then the original report.
2012-08-15code cleanup: use TRUE/FALSE for wm jobsCampbell Barton
2012-08-15fix for missing change to fluidsim from last commit and name jobs a more ↵Campbell Barton
useful name - 'wm_job'.
2012-08-15add wm job types they are not used yet, so this just defines them for new ↵Campbell Barton
jobs add add argument to search by job type.
2012-08-12code cleanup: WM naming conventionsCampbell Barton
2012-06-29Added command line option "--debug-jobs"Sergey Sharybin
This option enables time profiling of background jobs, namely it's measuring run time of the job and prints it to the console.
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-04-26Fix crash clicking Render button in render layer compositing node. ActuallyBrecht Van Lommel
this crash could happen in other situations too, problem was a bug in the jobs system. A job could be suspended, and the operator would stop before the job was actually done since it was not marked as running.
2012-04-25style cleanup: no functional changesCampbell Barton
2012-03-27style cleanup: wm, mosyly adding space around opsCampbell Barton
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-18spelling cleanupCampbell Barton
2012-03-09style cleanup: comment blocksCampbell Barton
2012-01-10Fix jobs progress display in taskbar incorrectly flashing on/off with multipleBrecht Van Lommel
jobs active.
2011-11-29Fix #27328: Undoing an operation while baking fluids freezes BlenderSergey Sharybin
Prevent Undo be run if there are any jobs are currently running. This also makes sense with such jobs as multires baker, for example.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-08-28== Sequencer ==Peter Schlaile
This patch adds: * support for proxy building again (missing feature from Blender 2.49) additionally to the way, Blender 2.49 worked, you can select several strips at once and make Blender build proxies in the background (using the job system) Also a new thing: movie proxies are now build into AVI files, and the proxy system is moved into ImBuf-library, so that other parts of blender can also benefit from it. * Timecode support: to fix seeking issues with files, that have a) varying frame rates b) very large GOP lengths c) are broken inbetween d) use different time code tracks the proxy builder can now also build timecode indices, which are used (optionally) for seeking. For the first time, it is possible, to do frame exact seeking on all file types. * Support for different video-streams in one video file (can be selected in sequencer, other parts of blender can also use it, but UI has to be added accordingly) * IMPORTANT: this patch *requires* ffmpeg 0.7 or newer, since older versions don't support the pkt_pts field, that is essential for building timecode indices. Windows and Mac libs are already updated, Linux-users have to build their own ffmpeg verions until distros keep up.
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-02-25doxygen: blender/windowmanager tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-01-04Todo item:Ton Roosendaal
New option to start threaded wmJobs, with flag WM_JOB_SUSPEND. This makes the job wait 1 timer step before running. Used now for Material Icon render renders, which makes the big preview to be always rendered first while using UI.
2011-01-02Bugfix #25446 (and todo item)Ton Roosendaal
The icons for materials were always lagging or not updating at all. I also found it suspicious slow... It appeared that the icons now store a "mip level", where for every change in Materials 2 render jobs for icons were started, one for 32x32 pix, one for 96x96. The latter was cancelling out the first job almost always. Also made preview renders detect size, to set amount of tiles to be rendered. Small icons use 1 part, larger previews 16 now. All in all, behaves much smoother now! But, will also update the thread Jobs manager to allow "delayed jobs" like for icons, these are aggressively put as first in the jobs list.
2010-12-11Small fix: Ton Roosendaal
Material Properties: adding new materials didn't create a new preview icon for it.
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-12-03fix for some pedantic warnings.Campbell Barton
2010-07-18fix for crash when terminating thumbnail threadsAndrea Weikert
2010-07-04Fix #21062 and #22175: crash with node previews being calculated whileBrecht Van Lommel
editing nodes. Now preview jobs are killed before making any node edits.
2010-06-07fix for crash with the job system progress bar on load, matt you may want to ↵Campbell Barton
check if this case should be happening at all.
2010-06-02Progress indicator in the application iconDamien Plisson
Displays a global progress indicator in the application icon reflecting the total progress of all running jobs. Currently fully implemented on OSX (Cocoa). On other OSes that do not allow to redraw the app icon, this can be implemented as a [x%] display in the app title, so to appear in the taskbar. Thanks to Matt for the windowmanager wrapper.