Blender Git Commit Log

Git Commits -> Revision 15d0772

Revision 15d0772 by Brecht Van Lommel (master)
September 29, 2009, 19:12 (GMT)
Sorry, three commits in one, became difficult to untangle..

Editors Modules

* render/ module added in editors, moved the preview render code there and
also shading related operators.
* physics/ module made more consistent with other modules. renaming files,
making a single physics_ops.c for operators and keymaps. Also move all
particle related operators here now.
* space_buttons/ now should have only operators relevant to the buttons
specificially.

Updates & Notifiers

* Material/Texture/World/Lamp can now be passed to DAG_id_flush_update,
which will go back to a callback in editors. Eventually these should
be in the depsgraph itself, but for now this gives a unified call for
doing updates.
* GLSL materials are now refreshed on changes. There's still various
cases missing,
* Preview icons now hook into this system, solving various update cases
that were missed before.
* Also fixes issue in my last commit, where some preview would not render,
problem is avoided in the new system.

Icon Rendering

* On systems with support for non-power of two textures, an OpenGL texture
is now used instead of glDrawPixels. This avoids problems with icons get
clipped on region borders. On my Linux desktop, this gives an 1.1x speedup,
and on my Mac laptop a 2.3x speedup overall in redrawing the full window,
with the default setup. The glDrawPixels implementation on Mac seems to
have a lot of overhread.
* Preview icons are now drawn using proper premul alpha, and never faded so
you can see them clearly.
* Also tried to fix issue with texture node preview rendering, globals can't
be used with threads reliably.

Commit Details:

Full Hash: 15d07720e515a2e9caada6ee9900c388c5e06490
SVN Revision: 23559
Parent Commit: 7f5dc46
Lines Changed: +9691, -9003

13 Added Paths:

/source/blender/editors/include/ED_render.h (+86, -0) (View)
/source/blender/editors/physics/particle_boids.c (+400, -0) (View)
/source/blender/editors/physics/particle_edit.c (+3950, -0) (View)
/source/blender/editors/physics/particle_object.c (+575, -0) (View)
/source/blender/editors/physics/physics_fluid.c (+1204, -0) (View)
/source/blender/editors/physics/physics_ops.c (+173, -0) (View)
/source/blender/editors/physics/physics_pointcache.c (+337, -0) (View)
/source/blender/editors/render/Makefile (+56, -0)
/source/blender/editors/render/render_intern.h (+49, -0) (View)
/source/blender/editors/render/render_ops.c (+54, -0) (View)
/source/blender/editors/render/render_preview.c (+1146, -0) (View)
/source/blender/editors/render/render_shading.c (+645, -0) (View)
/source/blender/editors/render/SConscript (+12, -0) (View)

9 Deleted Paths:

/source/blender/editors/include/ED_previewrender.h (+0, -79)
/source/blender/editors/physics/editparticle.c (+0, -4008)
/source/blender/editors/physics/ed_fluidsim.c (+0, -1207)
/source/blender/editors/physics/ed_pointcache.c (+0, -357)
/source/blender/editors/physics/physics_boids.c (+0, -430)
/source/blender/editors/preview/Makefile (+0, -56)
/source/blender/editors/preview/previewrender.c (+0, -1153)
/source/blender/editors/preview/previewrender_intern.h (+0, -37)
/source/blender/editors/preview/SConscript (+0, -12)

37 Modified Paths:

/release/scripts/ui/buttons_particle.py (+8, -8) (Diff)
/source/blender/blenkernel/BKE_depsgraph.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+18, -0) (Diff)
/source/blender/editors/include/ED_particle.h (+7, -10) (Diff)
/source/blender/editors/include/ED_physics.h (+2, -5) (Diff)
/source/blender/editors/include/UI_interface_icons.h (+3, -3) (Diff)
/source/blender/editors/interface/interface_icons.c (+211, -98) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_widgets.c (+8, -8) (Diff)
/source/blender/editors/Makefile (+1, -1) (Diff)
/source/blender/editors/object/object_intern.h (+4, -0) (Diff)
/source/blender/editors/object/object_ops.c (+3, -0) (Diff)
/source/blender/editors/physics/physics_intern.h (+66, -0) (Diff)
/source/blender/editors/SConscript (+1, -1) (Diff)
/source/blender/editors/space_api/spacetypes.c (+4, -6) (Diff)
/source/blender/editors/space_buttons/buttons_intern.h (+0, -27) (Diff)
/source/blender/editors/space_buttons/buttons_ops.c (+0, -986) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+1, -28) (Diff)
/source/blender/editors/space_file/file_draw.c (+3, -3) (Diff)
/source/blender/editors/space_node/node_draw.c (+6, -9) (Diff)
/source/blender/editors/space_node/node_edit.c (+1, -1) (Diff)
/source/blender/editors/space_node/space_node.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+9, -0) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+21, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+38, -2) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+96, -69) (Diff)
/source/blender/makesrna/intern/rna_material.c (+211, -192) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+189, -155) (Diff)
/source/blender/makesrna/intern/rna_world.c (+70, -27) (Diff)
/source/blender/nodes/intern/TEX_util.c (+3, -11) (Diff)
/source/blender/nodes/intern/TEX_util.h (+0, -2) (Diff)
/source/blender/render/intern/source/texture.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+5, -3) (Diff)
/source/blender/windowmanager/WM_types.h (+6, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021