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

Surfaces and blitting


Surfaces and blitting

Postby yeatd » Apr 5, 2003 @ 2:41pm

yeatd
pm Member
 
Posts: 20
Joined: Feb 9, 2003 @ 1:11am
Location: Sussex/U.K


Postby Presto » Apr 6, 2003 @ 4:05am

<a href="http://www.pocketadventures.com/travel.asp"><img src="http://www.pocketadventures.com/images/ttc_banner.gif" border="0"></a>
User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Postby yeatd » Apr 6, 2003 @ 6:51pm

yeatd
pm Member
 
Posts: 20
Joined: Feb 9, 2003 @ 1:11am
Location: Sussex/U.K


Postby fzammetti » Apr 6, 2003 @ 11:02pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Presto » Apr 7, 2003 @ 3:17am

<a href="http://www.pocketadventures.com/travel.asp"><img src="http://www.pocketadventures.com/images/ttc_banner.gif" border="0"></a>
User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Postby bob » Apr 11, 2003 @ 12:36am

2 things...

what does the code look like to restore the displays render target the default?

if you can use BlitTransform or something like that to display images in creative ways - blitting twice (esp if rotating or stretching) can be real slow. i tried it, im working on blitting rotated around a point (just a little trig, just gotta get around to it)
bob
 


Postby adde » Apr 11, 2003 @ 12:53am

what does the code look like to restore the displays render target the default?

You call SetRenderTarget(0) or SetRenderTarget(NULL) to restore rendering to the backbuffer.

Remember that SetRenderTarget() will return the old rendering target Surface, so this can be used if switching between targets.

if you can use BlitTransform or something like that to display images in creative ways - blitting twice (esp if rotating or stretching) can be real slow.

Yes.. We've had this discussion before and ultimately the combined rotater and blitter should only blit ONCE using BlitTransform with a combined transform matrix. It's just that noone has taken the time to do this.
User avatar
adde
pm Member
 
Posts: 152
Joined: Oct 9, 2002 @ 1:42pm
Location: Stockholm / Sweden


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

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