using namespace synfig;
/* === M A C R O S ========================================================= */
-const unsigned int DEF_TILE_WIDTH = 64;
-const unsigned int DEF_TILE_HEIGHT= 64;
+const unsigned int DEF_TILE_WIDTH = TILE_SIZE / 2;
+const unsigned int DEF_TILE_HEIGHT= TILE_SIZE / 2;
#define SYNFIG_OPTIMIZE_LAYER_TREE 1
#ifdef _DEBUG
add_tile_time+=timer();
}
tile_timer.reset();
+ signal_progress()();
}
}
if(cb && !cb->amount_complete(total_tiles,total_tiles))
#if SYNFIG_DISPLAY_EFFICIENCY==1
synfig::info(">>>>>> Render Time: %fsec, Find Tile Time: %fsec, Add Tile Time: %fsec, Total Time: %fsec",work_time,find_tile_time,add_tile_time,total_time());
- synfig::info(">>>>>> FRAME EFICIENCY: %f%%",(100.0f*work_time/total_time()));
+ synfig::info(">>>>>> FRAME EFFICIENCY: %f%%",(100.0f*work_time/total_time()));
#endif
#undef total_tiles
return true;
curr_frame_=0;
init();
if( !init() ){
- if(cb) cb->error(_("Target initialisation failure"));
+ if(cb) cb->error(_("Target initialization failure"));
return false;
}