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-01-14Add compression modes for TIFF imagesQuentin Wenger
This patch aims at providing multiple compression modes for TIFF output, particularly uncompressed mode. At this moment have None, Deflate, LZW and Pack Bits modes been integrated, mimicking The GIMP export modes (except JPEG mode, which returned encoding errors). More modes could be added if needed. Default remains Deflate. Reviewers: campbellbarton, mont29, sergey Differential Revision: https://developer.blender.org/D1709
2016-01-11Report errno string when writing files failsCampbell Barton
Screenshot ignored errors, some render code printed 'Saved' without checking for failure. note: errno is now cleared from IMB_saveiff so all callers don't need to.
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-12-21Cleanup: remove unused fileCampbell Barton
2015-12-21Cleanup: warnings (msvc)Campbell Barton
Part of patch D1670 by @LazyDodo
2015-12-20Cleanup: invalid comment & styleCampbell Barton
2015-12-15Fix T46951: invalid OpenGL mipmaps when using high bit depth textures.Brecht Van Lommel
2015-11-23Cleanup: shadowing (blenlib, gpu, imbuf)Campbell Barton
2015-11-19Cleanup: redundant 'break', minor editsCampbell Barton
2015-11-16ImBuf: Fix typo in duplicating float z bufferSergey Sharybin
2015-11-16Add missing newlines for debug printsCampbell Barton
2015-11-12Fix T46748: OpenEXR output different when frame saved with F3 vs. in an ↵Sergey Sharybin
animation The issue was caused by the image save operator ignoring Z-Buf if the input buffer due to the way how IMB_dupImBuf() worked. There's no reason to to ignore z-buf on imbuf duplication, it only asks for issues in the future.
2015-10-28Temporary "fix" for crash when saving OpenEXR Multi-View from Image EditorDalai Felinto
2015-10-28Fix T46617 File Output Node seems to save only black images into OpenEXR ↵Dalai Felinto
image data If the node output had only one layer, it would be detected as singlelayer, and it would miss the blender exr header string
2015-10-23Cleanup: use int for view_id's & view countCampbell Barton
`size_t` is useful for memory sizes or offsets, the number of views wont realistically exceed an int.
2015-10-23Comments for link-list typesCampbell Barton
2015-10-19Fix T46534: Crash loading corrupt HDR'sCampbell Barton
2015-10-19Cleanup: use UNLIKELY for checking corrupt HDR'sCampbell Barton
2015-10-17IMB_thumbs: add missing error checkCampbell Barton
2015-10-17Cleanup: remove unused BLI_string_to_utf8Campbell Barton
2015-10-14Fix T46453: JPEG quality not stored in fileCampbell Barton
This is a feature unique to jpeg that would store the quality it was saved. - Use struct instead of bit-shifting. - No longer store the 'flag'.
2015-10-14Cleanup: remove historic, blender-only jpeg ioCampbell Barton
2015-10-11Fix warnings and remove casts by adding copy_vx_vx_uchar() functions.Brecht Van Lommel
2015-10-10Fix various compiler warnings.Brecht Van Lommel
2015-09-29Fix T46299: Windows: File Browser Crash while listing big folders in preview ↵Bastien Montagne
mode (fonts, images...). Windows-only bug, mmap & co are not threadsafe by default on this platform, so we have to add a dedicated spinlock for them in win32. Note that we may try to get rid of those mmap later, but not for 2.76! To be backported to final 2.76...
2015-09-14Fix T46109: Bitmap font objects leads to unfreed memory.Bastien Montagne
2015-09-03ImBuf: Fix crash generating preview for really huge imageSergey Sharybin
In fact, any user of IMB_scalefastImBuf() is now robust against working with really hires images.
2015-09-02Add missing spin-lock to IMB_makeSingleUserCampbell Barton
2015-08-27Make .blend file thumbnail reading simpler and more coherent, read/store ↵Bastien Montagne
them when reading in background mode. Primary goal of this commit is to fix an annoying issue - when processing and saving .blend files in background mode you lose their thumbnails, since it can only be generated with an OpenGL context. Solution to that is to read .blend thumbnail while reading .blend file (only done in background mode currently), and store it in Main struct. Also, this lead to removing .blend file reading code from thumb_blend (no need to have doublons). We now have a small interface in regular reading code area, which keeps it reasonbaly light by only reading/parsing header info, and first few BHead blocks. This makes code reading .blend thumbnail about 3 to 4 times slower than previous highly specialized one in blend_thumb.c, but overall thumbnail generation of a big .blend files folder only grows of about 1%, think we can bare with it. Finally, since thumbnail is now optionally stored in Main struct, it makes it easy to allow user to define their own custom one (instead of auto-generated one). RNA API for this was not added though, accessing that kind of .blend meta-data has to be rethought a bit on a bigger level first. Reviewers: sergey, campbellbarton Subscribers: Severin, psy-fi Differential Revision: https://developer.blender.org/D1469
2015-08-19Cleanup: style + doxyCampbell Barton
2015-08-18IMB_thumb: Allow blen-handling func to also load datablock previews from ↵Bastien Montagne
.blend file. Notes: * Not yet used, this is the last piece of 'side changes' before the big filebrowser commit. * We can probably be more effective here (like e.g. reading and storing all previews for a given group in thumbnails cache at once, instead of re-opening and parsing the whole file each time), but will do this later.
2015-08-18IMB_thumb: add thread locking API.Bastien Montagne
General idea is that, if several threads are handling thumbnails at the same time, they can end working on the same file at some point, which will generate conflict. To avoid this, threads can now lock a given filepath. Note that locking data is allocated on a ref-count basis, to avoid keeping the GSet in memory when not needed. Also, we are using global LOCK_IMAGE mutex for now. Needed for upcomming filebrowser rework.
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-07-29ImBuf: Fixes for openexr imagesSergey Sharybin
- Fixed crash loading multilayer EXR - Fixed another memory leak loading multilayer EXR
2015-07-27Jpeg2000: Fixed for DCP pipelineSergey Sharybin
Profile and color space were not properly set.
2015-07-23ImBuf: Fix OpenExr leaking memory when reading file with IB_test flagSergey Sharybin
2015-07-21Fix T45502: Crash showing thumbnailsCampbell Barton
2015-07-16Fix T45451: File Browser crash on 16bits PNG image previews.Bastien Montagne
Issue was that with those files, Blender generate a float image by default, not a byte one... Now, we ensure in two places we only get a byte imbuf for our thumbnails!
2015-07-13Cleanup: IMB prefix for ImBuf definesCampbell Barton
2015-07-13 Imbuf types refactor.Antony Riakiotakis
ImBuf types were getting stored as bitflags in a 32bit integer which had already run out of space. Solved the problem by separating file type to an ftype enum, and file specific options to foptions. Reviewed by Campbell, thanks a lot!
2015-07-11ImBuf: Fix compilation error with older libpngSergey Sharybin
Older libpng library does not use const pointer to a memory. The exact version is a bit of a guess here, maybe needs tweaks to it tho.
2015-07-11error in own last commitCampbell Barton
2015-07-11Avoid static var for OpenEXRCampbell Barton
2015-07-11Make Iris image loading thread-safeCampbell Barton
Needed for thumbnails
2015-07-11ImBuf: cleanup, use const for memory passed inCampbell Barton
2015-07-03Fix T45283: Blender crashes on some grayscale PNGs with alpha.Bastien Montagne
PNG_COLOR_TYPE_GRAY colortype can have some values for alpha, in the same way as PNG_COLOR_TYPE_PALETTE colortype. In this case, we need two channels (grayscale and alpha), not one.
2015-07-01Sequencer metadata:Antony Riakiotakis
Add option to render strip metadata to final result, bypassing current scene metadata.
2015-06-30Cleanup: move BLI_char_switch into BLI_stringCampbell Barton
2015-06-27Cleanup: all params of BLI_str partition funcs can be const...Bastien Montagne
2015-06-27OpenEXR cleanup: get rid of public `IMB_exr_split_token`, use BLI str ↵Bastien Montagne
helpers instead of own cooking.