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

Understanding of rendertarget


Understanding of rendertarget

Postby fzammetti » Jan 27, 2003 @ 11:56pm

...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 Kzinti » Jan 28, 2003 @ 12:17am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby fzammetti » Jan 28, 2003 @ 12:21am

...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 Kzinti » Jan 28, 2003 @ 2:25am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby fzammetti » Jan 28, 2003 @ 3:02am

Ah, that's very interesting. I think I prefer that method if for no other reason than the code makes more sense that way.

I'm not sure I really understood the whole mechanism before, and assuming I get it now...

What your saying is you create your surface, "attach" a rasterizer to it, and your good to go, you can draw on it just like you do when you draw to the DisplayDevice* returned by GetDisplay(). The only difference is the syntax you use (dot notation instead of ->)

Furthermore, and this is the part that's just dawning on me, what your really getting when you do DisplayDevice* display = GetDisplay(); is essentially a rasterizer which has automatically been attached to the screen display (I presume the back buffer surface) by PF itself.

Now this thread is getting kind of theoretical, but it's helped me to understand PF a lot better now, assuming I got the above two paragraphs right.

Thanks a million Thierry, this has been very valuable!
...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 Kzinti » Jan 28, 2003 @ 3:55am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby fzammetti » Feb 11, 2003 @ 8:18pm

...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


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