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

GapiDraw 2.0 development progress


Postby tedson » May 3, 2003 @ 4:30am

tedson
pm Member
 
Posts: 85
Joined: May 29, 2002 @ 8:22pm


Postby Spock » May 3, 2003 @ 5:35am

Spock
 


Postby egarayblas » May 3, 2003 @ 7:39am

sbl: the alphablt works great now! :) i'm showing an image of my tests as a proof. please ignore my previous errors.

tedson: thanks for the tip! the errors are all corrected now.

Image

However, I noticed a small problem in drawing rects with opacity. Previously, I had a splash image that I covered up with a full screen rect that changed opacity gradually to kinda show a "fading" effect on the splash image. But in this version, the image flickers first before doing the "fade effect". Any ideas?

Other than this, everything works fine on the new build. :D
-- home of the think & tap games!
User avatar
egarayblas
pm Insider
 
Posts: 627
Joined: Sep 14, 2002 @ 1:50am
Location: Philippines


Postby egarayblas » May 3, 2003 @ 7:45am

-- home of the think & tap games!
User avatar
egarayblas
pm Insider
 
Posts: 627
Joined: Sep 14, 2002 @ 1:50am
Location: Philippines


Postby Spock » May 3, 2003 @ 8:40am

Well my font works fine in GapiDraw 1.04 and it is in the correct format. Do you think it could still be the font?

-Tim
Discord Studios
Spock
 


Postby Johan » May 3, 2003 @ 11:00am

Up and awake again... :)

MrX: I know it's a bit of pain when you rely on rotating the display a lot.. But the new format is more consistent - and also provides much better performance than the old one. Hope it's not too hard to use...

Spock: If possible, can you email your font to me so I can give it a try? johan.sanneblad@home.se . It should not stop printing after a space, and if it worked previously then something is wrong.

tedson: Thanks, I'll have a look at the display functions immediately. Good thing the font works.. The new font support will be nice since it will help in providing German and French localized versions...

egarayblas: Thanks a lot for the screenshots! It was broken exactly where I found the issue (where destination pixel is un-even (1, 3, 5, etc) and two source pixels are copied, but only the second one is anti-aliased - breaking the first one - lots of optimizations going on there). I stepped through all the new code 3 more times yesterday (phew) and am beginning to feel confident with it again.. I'll have a look at the FillRect function - which also had its share of optimizations (I found out that using 16x loop unrolling improved performance up to 250% on stationary PCs - on Pocket PCs the difference to the old 2x unrolling is almost nothing)... Finally, I guess you got SaveSurface working? I changed the syntax code to be more consistent with the rest (CreateSurface has flags first, all other functions have flags last, except for return values that are always placed last). By the way.. It was the old way of alpha blitting that was improved the most in performance.. If you use even X and Y coordinates (0, 2, 4, and so on), GapiDraw will copy two pixels simultaneously (GapiDraw surfaces are always DWORD-aligned in both directions, X and Y).
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby egarayblas » May 3, 2003 @ 12:12pm

sbl: SaveSurface works great! - and thanks for the PNG support. The only weird thing I've found so far is that fillrect/opacity issue. I reckon the final build won't have that gapidraw "boot screen", right? :) I can't wait to see the final build and docs. Oh, and that "surprise" announcement you've mentioned too. ;)

spock: The new createfont method requires the strings on your bitmap font in correct order (as the first parameter), have you inspected if you missed any character? I created my own font too and it worked well in the new version.

Thanks!

Regards,

Erick :)
-- home of the think & tap games!
User avatar
egarayblas
pm Insider
 
Posts: 627
Joined: Sep 14, 2002 @ 1:50am
Location: Philippines


Postby Johan » May 3, 2003 @ 12:30pm

egarayblas: The final version will actually have a bootscreen that is 5x taller than the current (widthx120 pixels), and contain pictures of selected Swedish bikini models. It can be altered by passing the flag GDDISPLAY_MALE. :)

Oh well.. Back to checking the font routines...
User avatar
Johan
pm Member
 
Posts: 1843
Joined: Jan 12, 2002 @ 12:38pm
Location: Sweden


Postby tedson » May 3, 2003 @ 3:11pm

tedson
pm Member
 
Posts: 85
Joined: May 29, 2002 @ 8:22pm


Postby Johan » May 3, 2003 @ 3:58pm

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


AlphaBltFast

Postby tango4 » May 3, 2003 @ 4:25pm

User avatar
tango4
pm Member
 
Posts: 11
Joined: Oct 15, 2002 @ 7:49am


Postby egarayblas » May 3, 2003 @ 4:52pm

-- home of the think & tap games!
User avatar
egarayblas
pm Insider
 
Posts: 627
Joined: Sep 14, 2002 @ 1:50am
Location: Philippines


Postby Mr X » May 3, 2003 @ 5:35pm

Sean Cross
mailto:sean@sourceitsoftware.com

Pics Print - The photo printing solution for Windows.
http://www.picsprint.com

Rental Property Manager - Rental management made easy
http://www.sourceitsoftware.com
User avatar
Mr X
pm Member
 
Posts: 240
Joined: Feb 27, 2003 @ 11:36am


Postby Spock » May 3, 2003 @ 6:12pm

Spock
 


Postby Johan » May 3, 2003 @ 6:17pm

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


PreviousNext

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