On 24 March 2010 20:03, Roderick Colenbrander thunderbird2k@gmail.com wrote:
I have experimented a bit with the design (intially only color fill since that's quite independent). Note this is just a proof of concept (some of the helper functions would become separate patches). This patch is the current code in the new form. In a later stage an FBO blit_shader can be added which can call the FBO based color fill but that's quite easy to extend later on. At this point no context setup is needed since the helpers already do that but after this is all over, they could be moved over to this framework to make it a bit nicer.
The general direction looks ok. As a first step you probably don't even need to call the functions through struct blit_shader though.