Re: [Gimp-developer] GIMP and multiple processors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Jay Cox <jaycox@xxxxxxxx> writes:

>   The dither code is way too complex.  It looks like it should boil
> down to: color.{r,g,b,a} += g_rand_int()/RAND_MAX.
>
>   We shouldn't need 32 bits of random data per component.  8 bits
> should do, so we only need one call to g_rand_int per pixel.

Good point. This made a lot of a difference. The dithered case is now
only about 10% slower than the non-dithered one :)


Sven

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux