cybergraphics includes (fixed versions inside)

Have a question about our Software Developer Kit? Ask them here.
Post Reply
Beta Tester
Beta Tester
Posts: 483
Joined: Sat Jun 18, 2011 7:56 am

cybergraphics includes (fixed versions inside)

Post by kas1e »

Hi there.

Lately when we with Deniil/onyxsoft works on muiowb, we found that default cybegraphics includes of the latest SDK are not full and a bit buggy. Deniil fix all of this, and i just describe/upload it's all here (to make our SDK better). Let's explain:

1. SDK's cybergraphics includes does not have working WPAA (WritePixelArrayAlpha), but cybegraphics.library emulation already support it, and interfaces/cybegraphics.h also have APICALL for it, but inline/cybegraphics.h not have description of function, and so we added that. Tested it and it works (if test examples of prove need it, i will upload it as well, but we already use it in few prods, so it can be used just as it).

2. SDK also not have main cybegraphics.h file, in which:
- struct CyberModeNode
- defines for Parameters for GetCyberMapAttr() (such as CYBRMATTR_BPPIX , CYBRMATTR_DISPADR and so on)
- defines for Parameters for GetCyberIDAttr() (such as CYBRIDATTR_PIXFMT , CYBRIDATTR_WIDTH and so on)
- definition of divers pixel formats
- SrcRectangle formats defines for xxxPixelArray calls()

And so on. All of this in the cybegraphx/cybegraphics.h, which we not have, but will be good to just put it to SDK as well, so everyone who will want to use CGX emulation, will just works with it with no problems, and for developer will no need to worry about why WPAA not works, or why some defines are not present in SDK.

Archive with fixed inline/cybegraphics.h and with new cybergraphx/cybergraphics.h are attached. That all already checked and used, all definations works and structs works fine via our cybegraphics emulation, but if it will be very necessary, i also can create few "proof-of" example to show that all of this works and can be included to SDK.
fixed inline for WPAA and added need it defs for whole CGX
(3.82 KiB) Downloaded 371 times

User avatar
Beta Tester
Beta Tester
Posts: 851
Joined: Tue Dec 21, 2010 4:19 am
Location: New Zealand

Re: cybergraphics includes (fixed versions inside)

Post by Slayer »

again, much appreciated 8-)
~Yes I am a Kiwi, No, I did not appear as an extra in 'Lord of the Rings'~
1x AmigaOne X5000 2.0GHz 2gM RadeonR9280X AOS4.x
3x AmigaOne X1000 1.8GHz 2gM RadeonHD7970 AOS4.x

Post Reply