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

GapiDraw 1.1 beta1 16-bit desktop requirement

1
7%
14
93%
 
Total votes : 15


GapiDraw 1.1 beta1 16-bit desktop requirement

Postby Johan » Dec 3, 2002 @ 6:34pm

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


Postby Digby » Dec 3, 2002 @ 9:05pm

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby Hosed » Dec 4, 2002 @ 12:22am

L. L. Goodwin<BR>Purveyor of Code<BR><A href="http://www.planettribes.com/hosed/">Hosed's House of Code</A>
User avatar
Hosed
pm Member
 
Posts: 249
Joined: Jan 3, 2002 @ 2:51am
Location: Montana, USA


Postby Kzinti » Dec 4, 2002 @ 12:35am

Using anything less then 32 bpp for my desktop is a definite no-no. If an application doesn't run because of that, it gets the shift-delete treatment: it doesn't even hit the recycle bin.
Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby Blacky » Dec 4, 2002 @ 12:38am

I'm thinking about what hosed said. Isn't this possible to do all the things accelerated and then do this additional last blit 16->32bpp ?

But another idea would be to enable direct 24/32bpp for everything/surfaces when running on desktop-PCs. I mean, future PocketPCs will for sure have TrueColor, too. Or is GapiDraw too hardcoded to 16bpp and this would be too much rework ?

Greets,
Michael Ritter
5am|coderz
User avatar
Blacky
pm Member
 
Posts: 27
Joined: Jul 2, 2002 @ 2:07pm
Location: Germany (Destination: USA ;))


Postby bir » Dec 4, 2002 @ 2:08am

bir
pm Member
 
Posts: 10
Joined: Nov 19, 2002 @ 8:31pm


Postby Johan » Dec 4, 2002 @ 2:32pm

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


Postby Hosed » Dec 4, 2002 @ 3:01pm

L. L. Goodwin<BR>Purveyor of Code<BR><A href="http://www.planettribes.com/hosed/">Hosed's House of Code</A>
User avatar
Hosed
pm Member
 
Posts: 249
Joined: Jan 3, 2002 @ 2:51am
Location: Montana, USA


Postby Blacky » Dec 4, 2002 @ 6:09pm

User avatar
Blacky
pm Member
 
Posts: 27
Joined: Jul 2, 2002 @ 2:07pm
Location: Germany (Destination: USA ;))


Postby Digby » Dec 4, 2002 @ 7:45pm

sbl,

You can most certainly create offscreen DirectDraw surfaces that reside in video memory that are not the same pixel color depth as the primary.

DirectDraw will not perform color-conversion during blits between dissimimlar surfaces though. Maybe that's what your limitation is?

Blacky,

I think you're slightly confused. BltBatch is used to submit a list of blit operations to the hardware through a single API call. The API was designed to support alpha blits in the same manner as Blt was (see DDBLTFX members). The reason none of this is supported is because hardware vendors didn't feel it was worth putting 2D alpha blending capability in their GPUs. They threw all of their time and effort into hardware acceleration of 3D operations instead.

Today, the overwhelming majority of game developers that want to do 2D effects in their game do this with the 3D chip and draw viewport-aligned texture-mapped quads instead of blitting bitmaps. You get things like alpha blending, rotation, scaling, and batching all for free. Plus, if your game uses 3D and you try to use DDraw to blit some type of HUD or UI on the screen you will cause your performance to drop because it will have to flush the 3D pipeline (stalling) before the blits can execute. It's far more efficient to do everything as 3D which won't result in a stall of the GPU.
Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


Postby Johan » Dec 5, 2002 @ 11:07am

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


Postby Digby » Dec 5, 2002 @ 6:44pm

Digby
pm Insider
 
Posts: 1011
Joined: Apr 29, 2001 @ 1:53pm


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