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
2011-09-16- fix for access past the buffer size (paint / sculpt used some 2d vecs as 3d)Campbell Barton
- remove redundant NULL checks on old code where it would crash if the result was NULL later on. - add some missing NULL checks.
2011-09-09GPU: add gpu python module with export_shader() function to export GLSL shader.Benoit Bolsee
shader = gpu.export_shader(scene,material) Returns the GLSL shader that blender generates to produce the visual effect of material in scene for the purpose of reusing the shader in an external engine. This function is meant to be used in a material exporter so that the GLSL shader can be exported entirely. The return value is a dictionary containing the shader source code and all associated data. The full documentation is under sphinx. Warning: there has been an API between the patch and this commit: uniform['lamp'] and uniform['image'] now return python reference to ID block instead of ID name as before. The X3D exporter that uses this function must be adapted.
2011-08-28- use static vars and functions where possible.Campbell Barton
- use NULL rather than 0 when used as pointers.
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-21whitespace only, no functional change mixed tabs/spaces --> tabs.v2.57aCampbell Barton
2011-03-07se BLI_snprintf() for msvc compat, cleanup CMake file, some bad comments ↵Campbell Barton
left in. also on only try build RPM's on linux.
2011-03-07Ensure gpu_extensions.c compiles with MSVC -> include BLI_winstuff.hNathan Letwory
2011-03-07bug [#26329] Project Paint not workingCampbell Barton
we cant ensure that a requested buffer can be allocated so report opengl errors when failing to allocate the buffer (rather then printing to console). this is common enough and generic error isn't too helpful to users.
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-02-27doxygen: blender/gpu tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
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-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-11-27Detect Gallium driver. Extend NPoT workaround to opensource drivers.Guillermo S. Romero
2010-11-26ATI X1xxx gfx cards (R500 chipset) lack full support for npot textures ↵Janne Karhu
although they report the GLEW_ARB_texture_non_power_of_two extension.
2010-11-24Reverting revision 33120, which added vram monitoring. The method used had ↵Mitchell Stokes
some problems (especially in the freeing function). I will research an alternative solution and submit it to the tracker.
2010-11-18Bugfix #22052Ton Roosendaal
OpenGL viewport render gave squeezed results in cases. Reason: some graphics cards only give offscreen buffers in multiples of 256 or 512 (my case). Current fix uses the actual size returned by graphics card, which is also safe for too large renders. More elaborate cropping or matching is for another time. (Added printf for feedback on this, might disappear)
2010-11-17Adding monitoring for (approximate) VRAM used by textures. The information ↵Mitchell Stokes
is currently only used in the profiling data of the BGE. Here is a image of it in action: http://www.pasteall.org/pic/show.php?id=6351 What it monitors: * VRAM used by textures created via bf_gpu and BL_Textures What it does not monitor: * VRAM used by the Blender ui * VRAM used by 2d filters * VRAM allocated by the user via KX_Scene.pre_draw and KX_Scene.pre_draw
2010-10-22fix for warnings & detecting opensource nouveau drivers.Campbell Barton
2010-10-22bugfix/workaround for ../../radeon/radeon_cs_gem.c:181: cs_gem_write_reloc: ↵Campbell Barton
Assertion `boi->space_accounted' failed. [#656100] reported on launchpad. calling glClear(GL_COLOR_BUFFER_BIT); was crashing blender, since this is only used to blank the window before its drawn, disable for opensource ATI drivers.
2010-10-15remove/tag unused args for view*.c, gpu*.c & image*.cCampbell Barton
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-08remove unused includesCampbell Barton
2010-07-162.5: automatic draw method now uses overlap for Intel on all platforms.Brecht Van Lommel
2010-07-04Fix #21894: backface selection wasn't working correct with < 24 bits colors,Brecht Van Lommel
e.g. thousands of colors on OS X, due to use of uninitialized value. Problem tracked down and patch provided by Shane Ambler, thanks!
2010-04-15Make memstat easier to read, add missing Intel ID and cleanups.Guillermo S. Romero
2010-04-05Fix #21349: triple buffer drawing doesn't work well with thousands ofBrecht Van Lommel
colors setting on Mac, just disabled it in that case.
2010-03-27Fix #21667: smoke drawing crashes calling glTexImage3D on graphics card that doBrecht Van Lommel
not support it.
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-02-13Added support for animated texture draw, GLSL textures.Ton Roosendaal
Note, this is not like GE ffmpg, but Blender Image Texture display for GLSL materials. Speed can be disappointing, use smaller images for realtime edits.
2010-02-12correct fsf addressCampbell Barton
2010-02-01GPU type detection tweaks for unix/mac software rendering.Brecht Van Lommel
2010-02-01WM Draw Methods now has a new option Automatic (default). This willBrecht Van Lommel
set the draw method to triple buffer or overlap depending on the configuration. Ideally I could get all cases working well with triple buffer but it's hard in practice. At the moment there are two cases that use overlap instead: * opensource ATI drives on linux * windows software renderer Also added a utility function to check GPU device/os/driver.
2010-01-30Fix #19980: crash with opengl render active viewport.Brecht Van Lommel
2010-01-30Fix #19875: drawing smoke on graphics cards that do not supportBrecht Van Lommel
non-power-of-two textures lead to artifacts due to uninitialized memory if the domain had a non-power-of-two size.
2009-10-28OpenGL Render restored.Brecht Van Lommel
I tried to make it integrate more with regular render but couldn't do it well, it still needs a 3D view to take the settings from, and can't run in a separate thread due to OpenGL. However, it is now rendering to an offscreen buffer which then gets displayed in the image window. This requires FBO's to be available, so a fallback creating a new window is still needed. Currently available from the Render menu in the top header.
2009-10-20Smoke:Daniel Genrich
* Use GL_QUADS and GL_TRIANGLES instead of GL_POLYGON for faster drawing * Use variable count of slices
2009-10-19Fix #19669 and other: triple buffer & icon texture drawing could causeBrecht Van Lommel
a system crash and other issues on ATI/Apple, due to a buggy driver (similar issues reported for other OpenGL applications). For now, work around it by not using non-power-of-two textures on this combination.
2009-09-15Smoke:Daniel Genrich
* Less verbose * More OpenGL error messages (on blender -d)
2009-09-15Smoke:Daniel Genrich
* Bugfix for non working 3dview Credits: Thanks to Wahooney, jesterKing and a big thanks to Matt/broken for hunting this down!
2009-09-09Smoke:Daniel Genrich
* Enable cache for high res + new preview * Bugfix for smoke banding (in cooperation with N_T) Hint: Work-in-progress regarding collision objects so can be broken, didn't test Hint2: jahka enabled a general particle panel but * bake button doesn't work * step is not supported for cloth * several other things there ;)
2009-08-25Pointcache:Daniel Genrich
*introducing unique ID's following brechts hint from ML Enhancements resulting from this: * multiple caches per modifier stack position
2009-08-25Smoke:Daniel Genrich
*enable non-2^n textrues for all gfx cards which support it. * try to enhance the visual quality under linux a bit when gfx card doesn't support it (still errors visible)
2009-08-25Smoke:Daniel Genrich
*fixing the fix as usual
2009-08-25Smoke:Daniel Genrich
* Bugfix for scaling on non-2^n-textures
2009-08-20Smoke:Daniel Genrich
* cache for low res (deactivating high res for now) * new way of view3d rendering of smoke (no longer 3 axes) -using 3dtexture now (introduced into gpu/intern) * introducing LZO and LZMA libs into extern (makefiles missing for now) * reducing memory usage after simulating for the frame ended (freeing temporary buffers) * splitting smoke into 2 modifier for the cache-sake (it cannot handle more than 1 cache on the same modifier-index) * no color on gui anymore * fixing non-power-of-2 resolutions (hopefully) * fixing select-deselect of domain drawing bug * fixing drawobject.c coding style (making Ton happy) ;-) HINT #1: If scons doesn't work -> cmakefiles are up-to-date, couldn't test scons (but i tried to mantain them, too) CODERS HINT #1: we really need a way to disable adding all modifiers through "Add Modifiers" dropdown! WARNING #1: before applying this commit, deactivate your SMOKE DOMAIN in your old files and save them then. You can open them then savely after that. WARNING #2: File and cache format of smoke can be changed, this is not final!
2009-08-172.5: Update GPU module to deal with removed G_TEXTUREPAINTBrecht Van Lommel
global, passing along enable/disable mipmap setting through various functions instead.