On 29/07/2012 20:34, Andrew Flegg wrote:
> On 29 July 2012 20:31, Jeffrey Lee <m...@phlamethrower.co.uk> wrote:
>> On Sun, 29 Jul 2012, Andrew Flegg wrote:
>>
>>> Ah, it seems that SDD_Name(RowFunc) dispatches to an explicit set of
>>> functions which only support 1X and 2X. Hmm.
>>
>> Yes, I guess I forgot about that!
>
> :-)
>
>> Are you planning on using > 2x horizontal scaling? I can add an extra set
>> of functions to deal with arbitrary scale factors. Or you can try it
>> yourself, if you're feeling brave enough.
>
> 320x256 is common for games, but blowing these up by 3x to 960x768
> seems sensible (on my setup at least). Adding another set for 3x would
> be the easiest option, but adding support for arbitrary scaling
> factors would be more flexible and also *reduce* the amount of code
> (when the different variants of BPP & flags are taken into account).

So long as we don't lose performance... lots of separately optimised
functions are good for performance.   And they're not /quite/ as
similar as you may think at first glance.

But what am I missing here... surely the right thing to do here is to
be scaling before/instead of the XPutImage call at the top end rather
than mess up things lower down?


I.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-- 
arcem-devel mailing list
arcem-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/arcem-devel

Reply via email to