Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Introducing OSVGS
Re: Introducing OSVGS [message #36446 is a reply to message #36442] Mon, 28 May 2012 09:03 Go to previous messageGo to previous message
Tom1
Messages: 1305
Registered: March 2007
Ultimate Contributor
Hi Koldo,

The start-up delay is caused by benchmarking the drawing performance each time the display is updated. By clicking the uncovered window area with left mouse button, you can get the performance report of the previous refresh.

The main.cpp for the OSVGS_Demo includes the TEST macro, in which int reps=2000;. Change to reps=1; and it starts reasonably fast. However, the benchmarking will not give proper results then because the timer resolution is not sufficient for such short test periods.

#define TEST(_function_,_result_) { \
	dword begin;\
	dword end;\
	int reps=2000;\
	dword zero=ms_timer;\


Thanks for your interest.

Best regards,

Tom
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Precisions on keyflags value in MouseMove
Next Topic: Chromium embedded in U++
Goto Forum:
  


Current Time: Wed Aug 13 12:07:48 CEST 2025

Total time taken to generate the page: 0.06567 seconds