[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37014] branches/soc-2011-onion: == Merged with soc-2010-jwilkins ==
Jason Wilkins
Jason.A.Wilkins at gmail.com
Mon May 30 07:57:34 CEST 2011
Revision: 37014
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37014
Author: jwilkins
Date: 2011-05-30 05:57:33 +0000 (Mon, 30 May 2011)
Log Message:
-----------
== Merged with soc-2010-jwilkins ==
** todo: double check that psyfi's work did not get mangled
** todo: double check that scons build works correctly (cmake was tested)
** todo: diff again with trunk to make sure things are clean
Modified Paths:
--------------
branches/soc-2011-onion/CMakeLists.txt
branches/soc-2011-onion/build_files/scons/config/aix4-config.py
branches/soc-2011-onion/build_files/scons/config/darwin-config.py
branches/soc-2011-onion/build_files/scons/config/freebsd7-config.py
branches/soc-2011-onion/build_files/scons/config/freebsd8-config.py
branches/soc-2011-onion/build_files/scons/config/freebsd9-config.py
branches/soc-2011-onion/build_files/scons/config/irix6-config.py
branches/soc-2011-onion/build_files/scons/config/linux2-config.py
branches/soc-2011-onion/build_files/scons/config/linuxcross-config.py
branches/soc-2011-onion/build_files/scons/config/openbsd3-config.py
branches/soc-2011-onion/build_files/scons/config/sunos5-config.py
branches/soc-2011-onion/build_files/scons/config/win32-mingw-config.py
branches/soc-2011-onion/build_files/scons/config/win32-vc-config.py
branches/soc-2011-onion/build_files/scons/config/win64-vc-config.py
branches/soc-2011-onion/build_files/scons/tools/btools.py
branches/soc-2011-onion/intern/ghost/SConscript
branches/soc-2011-onion/intern/ghost/intern/GHOST_WindowCarbon.cpp
branches/soc-2011-onion/intern/ghost/intern/GHOST_WindowCocoa.mm
branches/soc-2011-onion/intern/ghost/intern/GHOST_WindowWin32.cpp
branches/soc-2011-onion/intern/ghost/intern/GHOST_WindowX11.cpp
branches/soc-2011-onion/release/scripts/startup/bl_ui/space_view3d.py
branches/soc-2011-onion/release/scripts/startup/bl_ui/space_view3d_toolbar.py
branches/soc-2011-onion/source/blender/blenkernel/BKE_blender.h
branches/soc-2011-onion/source/blender/blenkernel/BKE_brush.h
branches/soc-2011-onion/source/blender/blenkernel/BKE_paint.h
branches/soc-2011-onion/source/blender/blenkernel/intern/brush.c
branches/soc-2011-onion/source/blender/blenkernel/intern/material.c
branches/soc-2011-onion/source/blender/blenkernel/intern/object.c
branches/soc-2011-onion/source/blender/blenkernel/intern/paint.c
branches/soc-2011-onion/source/blender/blenlib/BLI_pbvh.h
branches/soc-2011-onion/source/blender/blenlib/intern/pbvh.c
branches/soc-2011-onion/source/blender/blenloader/intern/readfile.c
branches/soc-2011-onion/source/blender/editors/include/ED_sculpt.h
branches/soc-2011-onion/source/blender/editors/sculpt_paint/SConscript
branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_stroke.c
branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_utils.c
branches/soc-2011-onion/source/blender/editors/sculpt_paint/sculpt.c
branches/soc-2011-onion/source/blender/editors/sculpt_paint/sculpt_intern.h
branches/soc-2011-onion/source/blender/editors/sculpt_paint/sculpt_undo.c
branches/soc-2011-onion/source/blender/editors/space_view3d/drawmesh.c
branches/soc-2011-onion/source/blender/editors/space_view3d/drawobject.c
branches/soc-2011-onion/source/blender/editors/space_view3d/space_view3d.c
branches/soc-2011-onion/source/blender/editors/space_view3d/view3d_draw.c
branches/soc-2011-onion/source/blender/gpu/intern/gpu_codegen.c
branches/soc-2011-onion/source/blender/gpu/intern/gpu_draw.c
branches/soc-2011-onion/source/blender/gpu/intern/gpu_material.c
branches/soc-2011-onion/source/blender/makesdna/DNA_brush_types.h
branches/soc-2011-onion/source/blender/makesdna/DNA_object_types.h
branches/soc-2011-onion/source/blender/makesdna/DNA_scene_types.h
branches/soc-2011-onion/source/blender/makesdna/DNA_texture_types.h
branches/soc-2011-onion/source/blender/makesdna/DNA_userdef_types.h
branches/soc-2011-onion/source/blender/makesdna/DNA_view3d_types.h
branches/soc-2011-onion/source/blender/makesrna/SConscript
branches/soc-2011-onion/source/blender/makesrna/intern/rna_brush.c
branches/soc-2011-onion/source/blender/makesrna/intern/rna_object.c
branches/soc-2011-onion/source/blender/makesrna/intern/rna_sculpt_paint.c
branches/soc-2011-onion/source/blender/makesrna/intern/rna_space.c
branches/soc-2011-onion/source/blender/makesrna/intern/rna_texture.c
branches/soc-2011-onion/source/blender/windowmanager/SConscript
branches/soc-2011-onion/source/blender/windowmanager/intern/wm_draw.c
branches/soc-2011-onion/source/blender/windowmanager/intern/wm_operators.c
Added Paths:
-----------
branches/soc-2011-onion/source/kernel/
Removed Paths:
-------------
branches/soc-2011-onion/doc/blender_file_format/
branches/soc-2011-onion/source/blender/makesrna/rna_cleanup/
Property Changed:
----------------
branches/soc-2011-onion/
Property changes on: branches/soc-2011-onion
___________________________________________________________________
Modified: svn:mergeinfo
- /trunk/blender:36833-37002
+ /branches/soc-2010-jwilkins:28499-37009
/trunk/blender:36833-37000
Modified: branches/soc-2011-onion/CMakeLists.txt
===================================================================
--- branches/soc-2011-onion/CMakeLists.txt 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/CMakeLists.txt 2011-05-30 05:57:33 UTC (rev 37014)
@@ -156,6 +156,7 @@
option(WITH_INSTALL_PORTABLE "Install redistributeable runtime, otherwise install into CMAKE_INSTALL_PREFIX" ON)
endif()
option(WITH_PYTHON_INSTALL "Copy system python into the blender install folder" ON)
+option(WITH_ONSURFACEBRUSH "Enable use of the 'on-surface brush' for paint/sculpt. Requires a stencil buffer, GL_depth_texture, and GLSL" ON)
# disable for now, but plan to support on all platforms eventually
option(WITH_MEM_JEMALLOC "Enable malloc replacement (http://www.canonware.com/jemalloc)" OFF)
@@ -988,6 +989,10 @@
endif()
endif()
+if(WITH_ONSURFACEBRUSH)
+ add_definitions(-DWITH_ONSURFACEBRUSH)
+endif(WITH_ONSURFACEBRUSH)
+
if(WITH_IMAGE_OPENJPEG)
if(UNIX AND NOT APPLE)
set(OPENJPEG /usr)
Modified: branches/soc-2011-onion/build_files/scons/config/aix4-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/aix4-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/aix4-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -149,6 +149,9 @@
BF_REDCODE_INC = '${BF_REDCODE}/include'
BF_REDCODE_LIBPATH='${BF_REDCODE}/lib'
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
# Mesa Libs should go here if your using them as well....
WITH_BF_STATICOPENGL = 'false'
BF_OPENGL = '/usr'
Modified: branches/soc-2011-onion/build_files/scons/config/darwin-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/darwin-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/darwin-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -265,6 +265,8 @@
elif MACOSX_ARCHITECTURE == 'x86_64':
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse','-msse2']
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
#############################################################################
################### various compile settings and flags ##################
Modified: branches/soc-2011-onion/build_files/scons/config/freebsd7-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/freebsd7-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/freebsd7-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -174,6 +174,9 @@
WITH_BF_RAYOPTIMIZATION = True
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse','-pthread']
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-D_LARGEFILE_SOURCE','-D_FILE_OFFSET_BITS=64','-D_LARGEFILE64_SOURCE']
CPPFLAGS = []
Modified: branches/soc-2011-onion/build_files/scons/config/freebsd8-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/freebsd8-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/freebsd8-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -174,6 +174,9 @@
WITH_BF_RAYOPTIMIZATION = True
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse','-pthread']
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-D_LARGEFILE_SOURCE','-D_FILE_OFFSET_BITS=64','-D_LARGEFILE64_SOURCE']
CPPFLAGS = []
Modified: branches/soc-2011-onion/build_files/scons/config/freebsd9-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/freebsd9-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/freebsd9-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -174,6 +174,9 @@
WITH_BF_RAYOPTIMIZATION = True
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse','-pthread']
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing','-D_LARGEFILE_SOURCE','-D_FILE_OFFSET_BITS=64','-D_LARGEFILE64_SOURCE']
CPPFLAGS = []
Modified: branches/soc-2011-onion/build_files/scons/config/irix6-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/irix6-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/irix6-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -154,6 +154,8 @@
BF_OPENGL_LIBPATH = '/usr/X11R6/lib'
BF_OPENGL_LIB_STATIC = '${BF_OPENGL}/libGL.a ${BF_OPENGL}/libGLU.a ${BF_OPENGL}/libXxf86vm.a ${BF_OPENGL}/libX11.a ${BF_OPENGL}/libXi.a ${BF_OPENGL}/libXext.a ${BF_OPENGL}/libXxf86vm.a'
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
CC = 'c99'
CXX = 'CC'
Modified: branches/soc-2011-onion/build_files/scons/config/linux2-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/linux2-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/linux2-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -192,6 +192,9 @@
WITH_BF_RAYOPTIMIZATION = True
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse','-pthread']
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
##
CC = 'gcc'
CXX = 'g++'
Modified: branches/soc-2011-onion/build_files/scons/config/linuxcross-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/linuxcross-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/linuxcross-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -172,6 +172,9 @@
WITH_BF_RAYOPTIMIZATION = True
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse']
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
CCFLAGS = [ '-pipe', '-funsigned-char', '-fno-strict-aliasing' ]
CPPFLAGS = ['-DWIN32', '-DFREE_WINDOWS', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE']
Modified: branches/soc-2011-onion/build_files/scons/config/openbsd3-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/openbsd3-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/openbsd3-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -111,6 +111,9 @@
BF_OPENGL_LIBPATH = '${BF_OPENGL}/lib'
BF_OPENGL_LIB_STATIC = '${BF_OPENGL_LIBPATH}/libGL.a ${BF_OPENGL_LIBPATH}/libGLU.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a ${BF_OPENGL_LIBPATH}/libX11.a ${BF_OPENGL_LIBPATH}/libXi.a ${BF_OPENGL_LIBPATH}/libXext.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a'
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
##
##CC = gcc
##CCC = g++
Modified: branches/soc-2011-onion/build_files/scons/config/sunos5-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/sunos5-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/sunos5-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -128,6 +128,9 @@
BF_OPENGL_LIBPATH = '${BF_OPENGL}/lib'
BF_OPENGL_LIB_STATIC = '${BF_OPENGL_LIBPATH}/libGL.a ${BF_OPENGL_LIBPATH}/libGLU.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a ${BF_OPENGL_LIBPATH}/libX11.a ${BF_OPENGL_LIBPATH}/libXi.a ${BF_OPENGL_LIBPATH}/libXext.a ${BF_OPENGL_LIBPATH}/libXxf86vm.a'
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
##
CC = 'gcc'
CXX = 'g++'
Modified: branches/soc-2011-onion/build_files/scons/config/win32-mingw-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/win32-mingw-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/win32-mingw-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -158,6 +158,9 @@
WITH_BF_RAYOPTIMIZATION = False
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-msse']
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
##
CC = 'gcc'
CXX = 'g++'
Modified: branches/soc-2011-onion/build_files/scons/config/win32-vc-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/win32-vc-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/win32-vc-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -153,6 +153,9 @@
WITH_BF_RAYOPTIMIZATION = True
BF_RAYOPTIMIZATION_SSE_FLAGS = ['/arch:SSE']
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
WITH_BF_STATICOPENGL = False
BF_OPENGL_INC = '${BF_OPENGL}/include'
BF_OPENGL_LIBINC = '${BF_OPENGL}/lib'
Modified: branches/soc-2011-onion/build_files/scons/config/win64-vc-config.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/config/win64-vc-config.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/config/win64-vc-config.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -155,6 +155,9 @@
WITH_BF_RAYOPTIMIZATION = True
BF_RAYOPTIMIZATION_SSE_FLAGS = ['/arch:SSE','/arch:SSE2']
+#On-Surface Brush
+WITH_BF_ONSURFACEBRUSH = True
+
WITH_BF_STATICOPENGL = False
BF_OPENGL_INC = '${BF_OPENGL}/include'
BF_OPENGL_LIBINC = '${BF_OPENGL}/lib'
Modified: branches/soc-2011-onion/build_files/scons/tools/btools.py
===================================================================
--- branches/soc-2011-onion/build_files/scons/tools/btools.py 2011-05-30 05:29:33 UTC (rev 37013)
+++ branches/soc-2011-onion/build_files/scons/tools/btools.py 2011-05-30 05:57:33 UTC (rev 37014)
@@ -132,6 +132,7 @@
'BF_GHOST_DEBUG',
'WITH_BF_RAYOPTIMIZATION',
'BF_RAYOPTIMIZATION_SSE_FLAGS',
+ 'WITH_BF_ONSURFACEBRUSH',
'BF_NO_ELBEEM',
'WITH_BF_CXX_GUARDEDALLOC',
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list