On Sat, Jan 28, 2012 at 9:18 PM, Kai Sterker <kai.ster...@gmail.com> wrote:
> As for the render target stuff, I've completed an experimental > conversion of the sdl_surface class to use render targets and must say > that I am a bit disappointed with the result. From my tests, > performance is not better and sometimes worse than the current > implementation and I don't see differences in memory footprint. I > don't think I'll invest more time in that, but for the curious I have > pushed my code into a new branch: > > https://github.com/ksterker/adonthell/tree/SDL2_RenderTargets > > Note that there is something wrong with surface creation. Fixed some issues with the code, and performance is now closer to the original implementation. There's still a bug in surface_sdl::get_data and masked surfaces are not yet handled properly. And get_pix is missing a call to set_render_target(Surface); Again, without any performance improvent, persuing this any further appears to be a dead end. But I'll leave the branch around nonetheless, just in case :-). Kai _______________________________________________ Adonthell-devel mailing list Adonthell-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/adonthell-devel