from the source files of pocketfrog:
I assume that you'll still be able to create surfaces, just without a reference to Display?
But the loss of CreateRasterizer would seem limiting. Are you supposed to use SetRenderTarget instead? I have avoided using SetRenderTarget since it resets the clip window and some other things if you use it during a display draw (I guess you could do all this before drawing to the display, but it didn't fit my needs).
Also, there is a need (for me, at least) to add a method to get the current blending. I've added it, but it seems like it should be included in future releases.
//////////////////////////////////////////////////////////////////////////////////
// The following is deprecated and will go away in the next version of PocketFrog
//////////////////////////////////////////////////////////////////////////////////
// Create a rasterizer for the specified surface
Rasterizer* CreateRasterizer( Surface* target ) const;
// Create a surface
Surface* CreateSurface( int width, int height );
// Return the frontbuffer (Warning: might not be available on some devices)
Surface* GetFrontBuffer();
I assume that you'll still be able to create surfaces, just without a reference to Display?
But the loss of CreateRasterizer would seem limiting. Are you supposed to use SetRenderTarget instead? I have avoided using SetRenderTarget since it resets the clip window and some other things if you use it during a display draw (I guess you could do all this before drawing to the display, but it didn't fit my needs).
Also, there is a need (for me, at least) to add a method to get the current blending. I've added it, but it seems like it should be included in future releases.