[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20698] branches/blender2.5/blender/source /blender: 2.5

Ton Roosendaal ton at blender.org
Sun Jun 7 13:12:37 CEST 2009


Revision: 20698
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20698
Author:   ton
Date:     2009-06-07 13:12:35 +0200 (Sun, 07 Jun 2009)

Log Message:
-----------
2.5

Nice goodie: Preview renders!

- Added new preview.blend, allowing super wide cinemascope previews
- Draws nicely blended inside widget type, rounded corners
- Preview now renders using all available cpus/cores.
- Uses - hopefully rock stable - method, which doesn't copy or 
  allocate anything for previews, but just uses render API calls.
- Multiple previews are possible! But, added provision in Jobs
  manager to only render one preview job at a time. If you start
  more preview jobs, they're suspended until it's their turn.

Bugfix: new buttons context code crashed when going full-window.

Tweaks are still needed for notifiers. I have to figure out still
how to retrieve SpaceButs button view types...

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/editors/datafiles/preview.blend.c
    branches/blender2.5/blender/source/blender/editors/include/ED_previewrender.h
    branches/blender2.5/blender/source/blender/editors/include/UI_interface.h
    branches/blender2.5/blender/source/blender/editors/interface/interface.c
    branches/blender2.5/blender/source/blender/editors/interface/interface_intern.h
    branches/blender2.5/blender/source/blender/editors/interface/interface_templates.c
    branches/blender2.5/blender/source/blender/editors/preview/previewrender.c
    branches/blender2.5/blender/source/blender/editors/preview/previewrender_intern.h
    branches/blender2.5/blender/source/blender/editors/screen/screen_ops.c
    branches/blender2.5/blender/source/blender/editors/screen/screendump.c
    branches/blender2.5/blender/source/blender/editors/space_buttons/buttons_context.c
    branches/blender2.5/blender/source/blender/editors/space_buttons/space_buttons.c
    branches/blender2.5/blender/source/blender/editors/space_node/node_edit.c
    branches/blender2.5/blender/source/blender/makesdna/DNA_space_types.h
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_material.c
    branches/blender2.5/blender/source/blender/makesrna/intern/rna_world.c
    branches/blender2.5/blender/source/blender/render/intern/source/pipeline.c
    branches/blender2.5/blender/source/blender/windowmanager/WM_api.h
    branches/blender2.5/blender/source/blender/windowmanager/WM_types.h
    branches/blender2.5/blender/source/blender/windowmanager/intern/wm_jobs.c

Modified: branches/blender2.5/blender/source/blender/editors/datafiles/preview.blend.c
===================================================================
--- branches/blender2.5/blender/source/blender/editors/datafiles/preview.blend.c	2009-06-07 07:04:31 UTC (rev 20697)
+++ branches/blender2.5/blender/source/blender/editors/datafiles/preview.blend.c	2009-06-07 11:12:35 UTC (rev 20698)
@@ -1,1754 +1,1791 @@
 /* DataToC output of file <preview_blend> */
 
-int datatoc_preview_blend_size= 446288;
+int datatoc_preview_blend_size= 567892;
 char datatoc_preview_blend[]= {
- 66, 76, 69, 78, 68, 69, 82, 95, 86, 50, 52, 55, 82, 69, 78, 68,
-  0,  0,  0, 32,191,255,241,160,  0,  0,  0,  0,  0,  0,  0,  1,  0,  0,  0,  1,  0,  0,  0, 20,112,114,101,118,105,101,119,  0,
-  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 71, 76, 79, 66,  0,  0,  0, 32,191,255,241,144,  0,  0,  0,165,
-  0,  0,  0,  1, 32, 32, 32, 53,  0,  5,  0,  0,  0,245,  0, 15,  0,  1,  1,  0,  7, 31,229,144,  7,159,144, 32,  0,  0,  0,  0,
-  0,  0,  0, 64,  0,  0, 83, 82,  0,  0,  0,120,  7, 31,229,144,  0,  0,  0,160,  0,  0,  0,  1,  0,  0,  0,  0,  0,  0,  0,  0,
-  0,  0,  0,  0,  0,  0,  0,  0, 83, 82,115, 99,114,101,101,110,  0, 45, 83, 99,114,105,112,116,105,110,103,  0,  0,  0,  0,  0,
-  0,  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  7, 29,221,112,  7, 31,232, 48,  7, 31,232,112,  7, 31,235,176,  7, 31,235,240,
- 13, 64,121,112,  7,159,144, 32,  0,  0,  3,231,  1,143,  4,174,  3,232,  3, 32,  0,  1,  0,  1,  0,  0,  0,  0,  0,  1,  0, 10,
-  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  7, 29,221,112,  0,  0,  0,161,
-  0,  0,  0,  1,  7, 31,230, 48,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,
-  7, 31,230, 48,  0,  0,  0,161,  0,  0,  0,  1,  7, 31,230,112,  7, 29,221,112,  0,  0,  0,  0,  0,  0,  3, 32,  0,  0,  0,  0,
- 68, 65, 84, 65,  0,  0,  0, 20,  7, 31,230,112,  0,  0,  0,161,  0,  0,  0,  1,  7, 31,230,176,  7, 31,230, 48,  0,  0,  0,  0,
-  3,232,  3, 32,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  7, 31,230,176,  0,  0,  0,161,  0,  0,  0,  1,  7, 31,230,240,
-  7, 31,230,112,  0,  0,  0,  0,  3,232,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  7, 31,230,240,  0,  0,  0,161,
-  0,  0,  0,  1,  7, 31,231, 48,  7, 31,230,176,  0,  0,  0,  0,  0,  0,  3,  6,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,
-  7, 31,231, 48,  0,  0,  0,161,  0,  0,  0,  1,  7, 31,231,112,  7, 31,230,240,  0,  0,  0,  0,  3,232,  3,  6,  0,  0,  0,  0,
- 68, 65, 84, 65,  0,  0,  0, 20,  7, 31,231,112,  0,  0,  0,161,  0,  0,  0,  1,  7, 31,231,176,  7, 31,231, 48,  0,  0,  0,  0,
-  3, 32,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  7, 31,231,176,  0,  0,  0,161,  0,  0,  0,  1,  7, 31,231,240,
-  7, 31,231,112,  0,  0,  0,  0,  3, 32,  3,  6,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  7, 31,231,240,  0,  0,  0,161,
-  0,  0,  0,  1,  7, 31,232, 48,  7, 31,231,176,  0,  0,  0,  0,  1,236,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,
-  7, 31,232, 48,  0,  0,  0,161,  0,  0,  0,  1,  0,  0,  0,  0,  7, 31,231,240,  0,  0,  0,  0,  1,236,  3,  6,  0,  0,  0,  0,
- 68, 65, 84, 65,  0,  0,  0, 24,  7, 31,232,112,  0,  0,  0,162,  0,  0,  0,  1,  7, 31,232,176,  0,  0,  0,  0,  7, 31,230, 48,
-  7, 31,230,112,  0,  1,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  7, 31,232,176,  0,  0,  0,162,  0,  0,  0,  1,
-  7, 31,232,240,  7, 31,232,112,  7, 31,230, 48,  7, 31,230,240,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,
-  7, 31,232,240,  0,  0,  0,162,  0,  0,  0,  1,  7, 31,233, 48,  7, 31,232,176,  7, 31,230,112,  7, 31,231, 48,  0,  0,  0,  0,
-  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  7, 31,233, 48,  0,  0,  0,162,  0,  0,  0,  1,  7, 31,233,112,  7, 31,232,240,
-  7, 31,230,240,  7, 31,231, 48,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  7, 31,233,112,  0,  0,  0,162,
-  0,  0,  0,  1,  7, 31,233,176,  7, 31,233, 48,  7, 31,230,176,  7, 31,231,112,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,
-  0,  0,  0, 24,  7, 31,233,176,  0,  0,  0,162,  0,  0,  0,  1,  7, 31,233,240,  7, 31,233,112,  7, 31,231, 48,  7, 31,231,176,
-  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  7, 31,233,240,  0,  0,  0,162,  0,  0,  0,  1,  7, 31,234, 48,
-  7, 31,233,176,  7, 31,231,112,  7, 31,231,176,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  7, 31,234, 48,
-  0,  0,  0,162,  0,  0,  0,  1,  7, 31,234,112,  7, 31,233,240,  7, 31,230,176,  7, 31,231, 48,  0,  0,  0,  0,  0,  0,  0,  0,
- 68, 65, 84, 65,  0,  0,  0, 24,  7, 31,234,112,  0,  0,  0,162,  0,  0,  0,  1,  7, 31,234,176,  7, 31,234, 48,  7, 29,221,112,
-  7, 31,230,240,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  7, 31,234,176,  0,  0,  0,162,  0,  0,  0,  1,
-  7, 31,234,240,  7, 31,234,112,  7, 29,221,112,  7, 31,231,240,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,
-  7, 31,234,240,  0,  0,  0,162,  0,  0,  0,  1,  7, 31,235, 48,  7, 31,234,176,  7, 31,231,112,  7, 31,231,240,  0,  0,  0,  0,
-  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  7, 31,235, 48,  0,  0,  0,162,  0,  0,  0,  1,  7, 31,235,112,  7, 31,234,240,
-  7, 31,230,240,  7, 31,232, 48,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  7, 31,235,112,  0,  0,  0,162,
-  0,  0,  0,  1,  7, 31,235,176,  7, 31,235, 48,  7, 31,231,176,  7, 31,232, 48,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,
-  0,  0,  0, 24,  7, 31,235,176,  0,  0,  0,162,  0,  0,  0,  1,  0,  0,  0,  0,  7, 31,235,112,  7, 31,231,240,  7, 31,232, 48,
-  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0,204,  7, 31,235,240,  0,  0,  0,164,  0,  0,  0,  1, 13, 64, 24,144,
-  0,  0,  0,  0,  7, 31,230,240,  7, 31,230, 48,  7, 31,230,112,  7, 31,231, 48,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
+ 66, 76, 69, 78, 68, 69, 82, 95, 86, 50, 52, 57, 82, 69, 78, 68,  0,  0,  0, 32,
+191,255,241, 96,  0,  0,  0,  0,  0,  0,  0,  1,  0,  0,  0,  1,  0,  0,  0, 20,112,114,101,118,105,101,119,  0,  0,  0,  0,  0,
+  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 71, 76, 79, 66,  0,  0,  0, 32,191,255,241, 80,  0,  0,  0,170,  0,  0,  0,  1,
+ 32, 32, 32, 48,  0,  0,  0,  0,  0,245,  0, 15,  0,  1,  1,  0,  8,192,222, 48,  3,160,158, 32,  0,  0,  0,  0,  0,  0,  0, 64,
+  0,  0, 83, 82,  0,  0,  0,120,  8,192,222, 48,  0,  0,  0,165,  0,  0,  0,  1,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,
+  0,  0,  0,  0, 83, 82,115, 99,114,101,101,110,  0, 45, 83, 99,114,105,112,116,105,110,103,  0,  0,  0,  0,  0,  0,  1,  0,  0,
+  0,  0,  0,  0,  0,  0,  0,  0,  2, 78,  9, 80,  8,192,224,144,  8,192,224,208,  8,192,228, 16,  8,192,228, 80,  8,193,115,224,
+  3,160,158, 32,  0,  0,  3,231,  1,143,  4,174,  3,232,  3, 32,  0,  1,  0,  1,  0,  0,  0,  0,  0,  1,  0,  8,  0,  0,  0,  0,
+  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  2, 78,  9, 80,  0,  0,  0,166,  0,  0,  0,  1,
+  2, 76,195, 64,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  2, 76,195, 64,
+  0,  0,  0,166,  0,  0,  0,  1,  8,192,222,208,  2, 78,  9, 80,  0,  0,  0,  0,  0,  0,  3, 32,  0,  0,  0,  0, 68, 65, 84, 65,
+  0,  0,  0, 20,  8,192,222,208,  0,  0,  0,166,  0,  0,  0,  1,  8,192,223, 16,  2, 76,195, 64,  0,  0,  0,  0,  3,232,  3, 32,
+  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  8,192,223, 16,  0,  0,  0,166,  0,  0,  0,  1,  8,192,223, 80,  8,192,222,208,
+  0,  0,  0,  0,  3,232,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  8,192,223, 80,  0,  0,  0,166,  0,  0,  0,  1,
+  8,192,223,144,  8,192,223, 16,  0,  0,  0,  0,  0,  0,  3,  6,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  8,192,223,144,
+  0,  0,  0,166,  0,  0,  0,  1,  8,192,223,208,  8,192,223, 80,  0,  0,  0,  0,  3,232,  3,  6,  0,  0,  0,  0, 68, 65, 84, 65,
+  0,  0,  0, 20,  8,192,223,208,  0,  0,  0,166,  0,  0,  0,  1,  8,192,224, 16,  8,192,223,144,  0,  0,  0,  0,  3, 32,  0,  0,
+  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  8,192,224, 16,  0,  0,  0,166,  0,  0,  0,  1,  8,192,224, 80,  8,192,223,208,
+  0,  0,  0,  0,  3, 32,  3,  6,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  8,192,224, 80,  0,  0,  0,166,  0,  0,  0,  1,
+  8,192,224,144,  8,192,224, 16,  0,  0,  0,  0,  1,236,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 20,  8,192,224,144,
+  0,  0,  0,166,  0,  0,  0,  1,  0,  0,  0,  0,  8,192,224, 80,  0,  0,  0,  0,  1,236,  3,  6,  0,  0,  0,  0, 68, 65, 84, 65,
+  0,  0,  0, 24,  8,192,224,208,  0,  0,  0,167,  0,  0,  0,  1,  8,192,225, 16,  0,  0,  0,  0,  2, 76,195, 64,  8,192,222,208,
+  0,  1,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  8,192,225, 16,  0,  0,  0,167,  0,  0,  0,  1,  8,192,225, 80,
+  8,192,224,208,  2, 76,195, 64,  8,192,223, 80,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  8,192,225, 80,
+  0,  0,  0,167,  0,  0,  0,  1,  8,192,225,144,  8,192,225, 16,  8,192,222,208,  8,192,223,144,  0,  0,  0,  0,  0,  0,  0,  0,
+ 68, 65, 84, 65,  0,  0,  0, 24,  8,192,225,144,  0,  0,  0,167,  0,  0,  0,  1,  8,192,225,208,  8,192,225, 80,  8,192,223, 80,
+  8,192,223,144,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  8,192,225,208,  0,  0,  0,167,  0,  0,  0,  1,
+  8,192,226, 16,  8,192,225,144,  8,192,223, 16,  8,192,223,208,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,
+  8,192,226, 16,  0,  0,  0,167,  0,  0,  0,  1,  8,192,226, 80,  8,192,225,208,  8,192,223,144,  8,192,224, 16,  0,  0,  0,  0,
+  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  8,192,226, 80,  0,  0,  0,167,  0,  0,  0,  1,  8,192,226,144,  8,192,226, 16,
+  8,192,223,208,  8,192,224, 16,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,  0,  0,  0, 24,  8,192,226,144,  0,  0,  0,167,
+  0,  0,  0,  1,  8,192,226,208,  8,192,226, 80,  8,192,223, 16,  8,192,223,144,  0,  0,  0,  0,  0,  0,  0,  0, 68, 65, 84, 65,
+  0,  0,  0, 24,  8,192,226,208,  0,  0,  0,167,  0,  0,  0,  1,  8,192,227, 16,  8,192,226,144,  2, 78,  9, 80,  8,192,223, 80,

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list