[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash ChangeLog gui/NullGui.cpp
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash ChangeLog gui/NullGui.cpp |
Date: |
Fri, 06 Jul 2007 00:19:58 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 07/07/06 00:19:58
Modified files:
. : ChangeLog
gui : NullGui.cpp
Log message:
Get rid of tu_timer n favor of boost, albeit ticks_per_second() might
return nanoseconds, I donnu what the implication of this would be.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3658&r2=1.3659
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.13&r2=1.14
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3658
retrieving revision 1.3659
diff -u -b -r1.3658 -r1.3659
--- ChangeLog 5 Jul 2007 19:45:27 -0000 1.3658
+++ ChangeLog 6 Jul 2007 00:19:57 -0000 1.3659
@@ -1,3 +1,7 @@
+2007-07-05 Markus Gothe <address@hidden>
+
+ * gui/NullGui.cpp: use boost instead of tu_timer.
+
2007-07-05 Martin Guy <address@hidden>
* server/parser/movie_def_impl.cpp: Report internal sample ID too in
Index: gui/NullGui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- gui/NullGui.cpp 4 Jul 2007 07:32:52 -0000 1.13
+++ gui/NullGui.cpp 6 Jul 2007 00:19:58 -0000 1.14
@@ -32,7 +32,9 @@
# include <unistd.h> // for usleep
#endif
-#include "tu_timer.h"
+#include <boost/date_time/posix_time/posix_time_types.hpp>
+
+using namespace boost::posix_time;
namespace gnash
{
@@ -41,7 +43,7 @@
NullGui::run()
{
uint64_t prevtimer=0;
- uint64_t start_timer = tu_timer::get_ticks(); // returns milliseconds
+ uint64_t start_timer = time_duration::ticks_per_second(); // returns
milliseconds, maybe even ns...
prevtimer = start_timer;
@@ -55,7 +57,7 @@
while (1)
{
- timer = tu_timer::get_ticks();
+ timer = time_duration::ticks_per_second();
if (timer - prevtimer >= _interval)
break; // next frame, please!
- [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, Udo Giacomozzi, 2007/07/04
- [Gnash-commit] gnash ChangeLog gui/NullGui.cpp,
Markus Gothe <=
- Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, Martin Guy, 2007/07/06
- Message not available
- Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, Martin Guy, 2007/07/06
- Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, Martin Guy, 2007/07/06
- Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, Martin Guy, 2007/07/06
- Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, Tomas Groth, 2007/07/06
- Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, Martin Guy, 2007/07/06
- Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, zou lunkai, 2007/07/08
- Re: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, Sandro Santilli, 2007/07/08
- Re[2]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, Udo Giacomozzi, 2007/07/06
- Re: Re[2]: [Gnash-commit] gnash ChangeLog gui/NullGui.cpp, Martin Guy, 2007/07/07