Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Karlos on May 06, 2003, 11:36:48 PM
-
Hi all,
Does anybody know how compatible Picasso96 is for applications devloped for cybergraphx?
Some of my code uses cybergraphx calls for direct access and also getting infromation from cybergraphics mode lists. I also use the special flags for allocating 15/16/32-bit bitmaps with AllocBitMap().
Other than that, its all OS 3.x standard stuff.
Does anybody know how compatible p96 is with cgx? Are there any no go areas or performance killers? I'm only really interested in 15-bit modes and above.
Sorry for the hand-wavy questioning, I'm just after some general compatibility info.
Thanks,
K
-
It works. I don't know about the mode lists, but the other things do work. There are some issues, though. ScalePixelArray() cannot correctly stretch vertically. LockBitMap() locks the whole computer instead of only the bitmap, even for non-displayed bitmaps.
Bye,
Thomas
-
It should be very compatible.
AFAIK Pic96 can "emulate" almost all CGX stuff, roughly 96 % or so. But that is only what I have been told.
How ever, I do not know which areas to avoid, my best suggestion would be to try it out.
-
It is very compatible.
-
I looked at the subject for this thread and thought it said, "Regrettable Graphics". :lol:
-
Billsey wrote:
I looked at the subject for this thread and thought it said, "Regrettable Graphics". :lol:
:-D My bad spelling I guess...One T or two in retarget(t)able?
I might end up regretting anything that messes up my code under p96!
So, from the responses here I take it that compatibility is very good. Shame LockBitMap() locks the whole system - I do rendering to offscreen buffers and the like.
@everybody - thanks for the info...
-
I was surprised to see that I could implement the entire GLFW fullscreen functionality (mode list querying, 15/16/24-bit support etc) with pure AmigaOS 3.1. Possibly it can be done better with cgfx/p96, but for now it works fine for me.
-
Billsey wrote:
I looked at the subject for this thread and thought it said, "Regrettable Graphics". :lol:
:-o :roflmao: :roflmao: :roflmao: thanks billsey, for giving me a good chuckle this morning :D
-
for <=8 bit there is no problem
for other color depths that is one of the big problems about amigaos and should be fixed - i would hope aos 4 would have built in support for 15/16/24 bit screen modes(in graphics.library) rather than requireing all these other add ons
-
> for <=8 bit there is no problem
> for other color depths that is one of the big
> problems about amigaos and should be fixed
I suppose that depends on what you want to do. In my case, I rely entirely on the OpenGL implementation to handle the actual "pixeling" (I don't care if it uses P96, CGFX, direct hardware, or whatever). Basically, all I need to do is to find a good ModeID (based on color depth etc) and enumerate ModeIDs. Under my WinUAE/P96 configuration this works just fine (I can get 24-bit "fullscreen" for instance).
I did have to do a trick to check if I have a proper "true color" ModeID, though: I check if redbits+bluebits+greenbits <= depth (this should be more or less idiot proof).