Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] GTK graphics status

"Randy Hudson" <hudsonr@xxxxxxxxxx> writes:
> Scaling an Image should be fast.  Developers shouldn't be subject to a
> 10-100x performance hit because they are using Java.
> If you are looping over every pixel, would you consider doing this in
> natives?  I know the SWT philisophy, but I don't think the average
> developer will benefit from stepping through such code in a Java debugger.
> 

If it's implemented by scaling the pixbuf, then there's no per-pixel
code in Java, it's going through GTK's MMX-assembly-language scaling
stuff in fact. The manual bitmap scaling for Motif may be in Java, I
don't know.

Havoc


Back to the top