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

alpha blt palmos


alpha blt palmos

Postby Structure » Oct 4, 2004 @ 5:41pm

Hi,

I just downloaded gapidraw 10 mins ago so please forgive me if this is obvious,

Im trying to target pocketpc and palmos during the design phase of my game, does the palmos support alpha blt using a second alpha surface?

I ask this cos the documentation seems to support CGapiSurface::AlphaBlt for palmos, but I don’t know how you load in the apha surface from a png as CGapiSurface::CreateSurface is only win32 on GDSURFACE_ALPHA.


Actuly while im here are there any unobvious no no’s when targeting palmos (other than the features stated not supported in the docs)

thanks
User avatar
Structure
pm Member
 
Posts: 147
Joined: Sep 17, 2004 @ 8:28pm
Location: UK


Postby Johan » Oct 4, 2004 @ 7:51pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Structure » Oct 4, 2004 @ 9:02pm

ahh ok,

is this set to change ever, beacuse things like this are mapping out how im going to develop,

ie what formats to make graphics in etc,

also is an alpha blit alot (ie over 20%) slower than a color key?

Edit: thinking about it I don’t see how this would work as youd have to save the image bitmap with a blended background, this would show though the image if it was 50% opaque then get blended with the destination 50%?
User avatar
Structure
pm Member
 
Posts: 147
Joined: Sep 17, 2004 @ 8:28pm
Location: UK


Postby Johan » Oct 4, 2004 @ 9:42pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby StephC » Oct 4, 2004 @ 11:43pm

Stephane Cocquereaumont / Game Developer at <a href=http://int13.net>int13 production</a> (code monkey)
User avatar
StephC
pm Insider
 
Posts: 442
Joined: Jun 12, 2003 @ 10:41am
Location: Bordeaux - France


Postby Johan » Oct 5, 2004 @ 6:43am

StephC: Yep. We already provide zip file management on the Palm OS through a virtual file system (to work around that there is no "real" file system available), so TGA is very much a good solution.
Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Structure » Oct 5, 2004 @ 1:37pm

User avatar
Structure
pm Member
 
Posts: 147
Joined: Sep 17, 2004 @ 8:28pm
Location: UK


Postby Pejo Software - Per » Oct 5, 2004 @ 3:05pm

[quote="Structure"]
also is an alpha blit alot (ie over 20%) slower than a color key?
quote]
I think alpha blits are substantially slower than normal blits since I don't think you can operate on 2 pixels at the same time there. I am at least not doing it in in my framework, Johan Please correct me if GapiDraw does this.
User avatar
Pejo Software - Per
pm Insider
 
Posts: 343
Joined: Apr 25, 2002 @ 1:00pm
Location: Mölndal, Sweden


Postby Johan » Oct 5, 2004 @ 3:59pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby StephC » Oct 5, 2004 @ 4:05pm

Stephane Cocquereaumont / Game Developer at <a href=http://int13.net>int13 production</a> (code monkey)
User avatar
StephC
pm Insider
 
Posts: 442
Joined: Jun 12, 2003 @ 10:41am
Location: Bordeaux - France


Postby Structure » Oct 5, 2004 @ 4:33pm

User avatar
Structure
pm Member
 
Posts: 147
Joined: Sep 17, 2004 @ 8:28pm
Location: UK


Postby Pejo Software - Per » Oct 5, 2004 @ 8:18pm

User avatar
Pejo Software - Per
pm Insider
 
Posts: 343
Joined: Apr 25, 2002 @ 1:00pm
Location: Mölndal, Sweden


Postby Structure » Oct 5, 2004 @ 9:18pm

User avatar
Structure
pm Member
 
Posts: 147
Joined: Sep 17, 2004 @ 8:28pm
Location: UK


Postby Johan » Oct 5, 2004 @ 9:43pm

Johan Sanneblad, M.Sc, Ph.D
GapiDraw Systems Architect
[]
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby Structure » Oct 5, 2004 @ 10:31pm

User avatar
Structure
pm Member
 
Posts: 147
Joined: Sep 17, 2004 @ 8:28pm
Location: UK


Next

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