This site is no longer active and is available for archival purposes only. Registration and login is disabled.

OpenDisplay and CloseDisplay in GapiApplication


OpenDisplay and CloseDisplay in GapiApplication

Postby AndreyT » Nov 1, 2002 @ 6:46pm

AndreyT
pm Member
 
Posts: 7
Joined: Oct 18, 2002 @ 10:35am
Location: Minsk, Belarus


Postby InexorableTash » Nov 1, 2002 @ 8:47pm

User avatar
InexorableTash
pm Member
 
Posts: 99
Joined: Sep 13, 2002 @ 6:14am


Postby Johan » Nov 1, 2002 @ 8:51pm

User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby iceboxman » Nov 2, 2002 @ 12:49am

iceboxman
pm Member
 
Posts: 30
Joined: Aug 6, 2002 @ 11:06pm


Postby AndreyT » Nov 2, 2002 @ 1:28am

Most probably I already tryed SuspendDisplay() and ResumeDisplay() functions before Close and Open...
and it doesn't help (I tryed so much things that couldn't remember it exactly ;)).
I'll retry at monday.
As I understand these functions just stopping output at display and locking it's surface, but dont closing GAPI screen, so other application or thread couldn't open GAPI screen exclusively

sbl, what's Pause() function to call each frame? I doesn't seen it anywhere...

BTW: I found slightly other solution. I hope it will fit my needs. I could show video :

1. directly to m_display, don't calling Flip().
Nothing will be updated except video, but it's Ok in my case. I tryed, speed is not bad.

2. to backbuffer after PrepareNextFrame() synchronizing Flips() with movie.
(dont tryed yet. speed should be almost as in 1, but all GapiDraw features should work)

3. to any CGapiSurface.
I tryed, speed is not enough, FPS not stable, probably I make mistake in sinchronization.

I'll continue my investigations at monday (or tomorrow), and inform you about progress here :)

If you are interesting, I'm trying to use MpegTV SDK (http://www.mpegtv.com/sdk/)

Best regards,
AndreyT.
AndreyT
pm Member
 
Posts: 7
Joined: Oct 18, 2002 @ 10:35am
Location: Minsk, Belarus


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron