Avast ye, scallywags!Cast your eyes on this thread, for I bring tidings of my latest bounty.
Lately, I've been playing around with an old card from back in '99... a Trident Blade 3D PCI 8MB.
Gemini and I wrote the driver and the accelerant. It made me bang my head against the wall, but in the end, it works flawlessly (thanks to the Xorg code I plundered, which is luckily MIT licensedโso credits to Alan Hourihane!!! Thank you).
The only missing feature is the overlay part (there is no code around for it). I was very happy with the result.
This latest development made me investigate Haiku's overlay system...
When writing the SM750 overlay part, I wasn't able to test it because it seemed that the Haiku Media Kit refused to use any colorspace other than B_RGB32!!!
Gemini helped me find the real problem!!! It is hardcoded to use only B_RGB32, for no apparent reason!!!!
I modified the Haiku Media Kit FFmpeg decoder plugin to support more than just B_RGB32 (since the most common video color space is YUV2, or rather B_YCbCr422).
After fixing that part, I was able to fix my SM750 overlay code and get MediaPlayer to use hardware scaling and the video layer.
It's a pity this poor card doesn't support color keying in the video/overlay plane. This means that when video overlay is used, it stays on top of every window. Too bad... but it drastically reduces CPU usage!
ANYWAY, unlocking FFmpeg opens up the opportunity to test overlay features on other cards...
I've also updated the kernel, adding NVMM and QEMU work. I still have some of the latest updates to merge...
As my memory looks like a sieve, maybe there is some other news, but... who knows...