Hi Thierry,
I just browsed through your design a bit and have a few questions:
(1) Rasterizers
I understand that from a design point of view, rasterizers are more "expandable" than adding drawing functions to the surface class. I had a similar design in GapiTools where the developer always had to define a "target surface/buffer" for all operations.
In practice, we found that it was too easy to forget what surface was the "active" surface for the GapiTool rasterizer. Since PocketFrog no longer have the Surface and Rasterizer connected (other than the display->backbuffer and the surface link set with "SetRenderTarget"), I am curious on your comments on this. Of course it is possible to always create one rasterizer for each surface, but then the advantages of separation for the end user (games developer) is not that clear.
(2) STL
How has the response been so far as to integrating STL into the code base?
Best regards,
Johan
I just browsed through your design a bit and have a few questions:
(1) Rasterizers
I understand that from a design point of view, rasterizers are more "expandable" than adding drawing functions to the surface class. I had a similar design in GapiTools where the developer always had to define a "target surface/buffer" for all operations.
In practice, we found that it was too easy to forget what surface was the "active" surface for the GapiTool rasterizer. Since PocketFrog no longer have the Surface and Rasterizer connected (other than the display->backbuffer and the surface link set with "SetRenderTarget"), I am curious on your comments on this. Of course it is possible to always create one rasterizer for each surface, but then the advantages of separation for the end user (games developer) is not that clear.
(2) STL
How has the response been so far as to integrating STL into the code base?
Best regards,
Johan