[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2875.0. "synchronize to vsync?" by SORGEN::SUSANNE () Tue Jun 05 1990 09:52

Hello,

is it possible to synchronize some xlib- or xtoolkit-calls to the vsync-	
Signal, without writing your own device driver?

My customer wants to show pictures on a VS3520 in a quick order, like a film.
He is satisfied by the speed, but the problem is that sometimes XCopyArea 
is called during drawing the old picture. That means the upper half is old 
and the lower half is new. Therefore he would like to call the XcopyArea at 
Vsynctime. Is there a way to do so?

I have read a little within the decwindows devicedriver manual and in my 
opinion vsync is only an entrypoint within the driver so you have to write
your own to do something at that time.

Am I right?

Thanks for your help.
Susanne K�ster, DSC Munich
T.RTitleUserPersonal
Name
DateLines
2875.1Try a StoreColor to a visible and installed colormap.DECWIN::FISHERPrune Juice: A Warrior's Drink!Wed Jun 06 1990 13:367
There is no "official" way.  However, you might try doing a StoreColor just
before the CopyArea.  (If this is a 24-plane system, you'll have to create
a pseudo-color window and colormap, install the colormap, and store into that
one, since the default colormap can't be stored into.)  StoreColor waits till
a vsync on GPXs, although I'm not sure about the 3520/3540.

Burns