projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added my "Copyright (c) 2007" notices, for files I edited in 2007.
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
asyncrenderer.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/asyncrenderer.cpp
b/synfig-studio/trunk/src/gtkmm/asyncrenderer.cpp
index
70051dc
..
ca7de13
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/asyncrenderer.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/asyncrenderer.cpp
@@
-6,6
+6,7
@@
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-53,6
+54,8
@@
#include <synfig/general.h>
#include <ETL/clock>
#include <synfig/general.h>
#include <ETL/clock>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#endif
/* === U S I N G =========================================================== */
@@
-192,6
+195,13
@@
public:
{
tile_t& tile(tile_queue.front());
{
tile_t& tile(tile_queue.front());
+ if (getenv("SYNFIG_SHOW_TILE_OUTLINES"))
+ {
+ Color red(1,0,0);
+ tile.surface.fill(red, 0, 0, 1, tile.surface.get_h());
+ tile.surface.fill(red, 0, 0, tile.surface.get_w(), 1);
+ }
+
alive_flag=warm_target->add_tile(tile.surface,tile.x,tile.y);
tile_queue.pop_front();
alive_flag=warm_target->add_tile(tile.surface,tile.x,tile.y);
tile_queue.pop_front();
@@
-306,7
+316,9
@@
public:
#endif
}
#endif
}
- if (!single_threaded())
+ if (single_threaded())
+ signal_progress()();
+ else
while(alive_flag && !ready_next)
{
Glib::Mutex::Lock lock(mutex);
while(alive_flag && !ready_next)
{
Glib::Mutex::Lock lock(mutex);