I have my own low-level graphic routines and only need Photon to copy the resulting memory surface to the video card. Is there some fast way?
I tried PgContextBlitArea with offscreen context PgGetOffscreenContextPtr. When I copy the memory content with memcpy, much time is spent in this memcpy. Perhaps it has something to do with our hardware and the shared memory implementation. The HW is Power PC processor with 266 MHz. It uses flash memory as disc space and 128 MB SDRAM for programs. Other Photon programs run fast, with no problems.
And I tried PgDrawImage which is perhaps even slower, you can see how the screen fills from top to bottom. Most time is spent in the graphics driver.