Re: [AD] blender operations SRC and DST

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 06/08/2011 08:17 AM, Elias Pschernig wrote:
> On Wed, Jun 8, 2011 at 5:29 PM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
>> It's much worse on my machine, 10-12%.  I'd want to see what we can do
>> to avoid that kind of regression.
>>
>> Peter
>>
>> before patch:
>> Plain blit: 659.283 FPS
>> Scaled blit: 663.27 FPS
>> Rotated blit: 678.819 FPS
>>
>> after patch:
>> Plain blit: 576.974 FPS
>> Scaled blit: 592.111 FPS
>> Rotated blit: 610.166 FPS
>>
> Looking at _al_blend_inline, I guess we can shuffle the code around so
> only the two new blend modes do anything differently but the existing
> ones remain as is.
>
Thats true.. it will be quite ugly and require a bit of code duplication
but I'll make it happen.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/