Page 1 of 1

Query function for hardware support of CompositeTags()

Posted: Fri Mar 07, 2014 3:17 pm
by whose
Hi!

I did some tests with CompositeTags(), and it´s a very nice feature. But I´m missing some method or function to query the driver´s/hardware´s capabilities regarding compositing. It´s a bit nasty to test with COMPFLAG_HardwareOnly for all BitMap format combinations possible, if there´s hardware support.

Btw., would it be possible to modify CompositeTags()´s vertex mode to accept negative coordinates incl. scissoring of those? Would make 2D gfx (scrolling) much more easy ;-)

Re: Query function for hardware support of CompositeTags()

Posted: Fri Mar 07, 2014 5:27 pm
by broadblues
Btw., would it be possible to modify CompositeTags()?s vertex mode to accept negative coordinates incl. scissoring of those? Would make 2D gfx (scrolling) much more easy
I think it does? My compositing based rotation and move previews in the next version of SketchBlock render to triangles with negative coords and they are simply clipped to the edges of the bitmap (or section of bitmap you have decided to render to).

Re: Query function for hardware support of CompositeTags()

Posted: Fri Mar 07, 2014 9:15 pm
by whose
Oh, ok... I should test again.

Edit: Works... don´t know what I´ve done wrong last time :? Ok, so please forget the 2nd part of my proposal :mrgreen: