PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Bye bye rotated surfaces!

I just started axing the rotated surface code in PF, and damn does it feel good!
PocketFrog 0.8 and PHAL 0.6 now compile and link together!

Next step is to convert some of the samples to test all this.

The simultaneous release is coming!
Dave Johnston · 11 Feb 2004, 08:17 UTC
Yay!!!! :D
Oh... And the STL is gone =)
8O Can't wait! :D
Exciting news! :D
Thierry wrote:Oh... And the STL is gone =)

[ ... a tear of joy downs my cheek ... ]
Thierry, I guess you are too frequently bombarded by this question but any ETA of the PHAL integrated PF? Thanks in advance.
Sparkie wrote:Thierry, I guess you are too frequently bombarded by this question but any ETA of the PHAL integrated PF? Thanks in advance.


I am starting to get embarassed answering this question... But here it goes: this weekend?

PHAL 0.6 is working properly and PF is cleanup up. Right now I basically need to convert the samples and do some testing with the new PF.

I will probably eventually change the way shaders work but I think I will postpone this for a subsequent release.
Thanks for the answer. We all can't wait...
Wait, if rotated surfaces are gone, how do I make my sprites spin? Do you mean you have made the function more efficient, or moved it somewhere else? I use BlitRotated() a lot in a game I'm working on :)
Kamal: this doesn't have anything to do with BlitRotated(). Rest assured that blits with rotation will stay (and even improve).
Oh hehe...thanks Thierry, you gave me quite a scare there! Looking forward to playing with PocketFrog 8, I have only started with 7 so there shouldn't be much changes to my code.
Is this rotated code the code that stored a rotated a surface internally so that it matched the orientation of the primary surface?
Digby wrote:Is this rotated code the code that stored a rotated a surface internally so that it matched the orientation of the primary surface?


Precisely. This isn't needed anymore with PHAL.
So I guess that the final "swap" takes care of both rotating the surface AND managing different screen depths?

btw, are there still a lot of devices that do not use 565 color encoding?

I look forward to tring 0.6, I havent right now since it requires (small) code changes and I can't do that right now ;)

--Eric
I thought Terry said he wasn't going to support anything but 565 but I might be wrong..
As far as I know, all PPCs (except older models) and Smartphones have the 565 format.

In any case, PHAL will support any pixel depth. So yes, PHAL takes care of both rotating and managing the different screen depth.