Optimization tips for alpha blending / rasterization loop
Craig Dillabaugh
cdillaba at cg.scs.carleton.ca
Fri Nov 22 03:46:52 PST 2013
On Friday, 22 November 2013 at 10:27:12 UTC, bearophile wrote:
> Craig Dillabaugh:
>
>> Do you want to use a ubyte instead of a byte here?
>
> See:
> http://d.puremagic.com/issues/show_bug.cgi?id=3850
>
> Bye,
> bearophile
Yes it is pretty easy to mix that up. A lot of my work is with
images with single byte pixels, so I am pretty used to using
ubyte now. I can't remember if I ever used byte, and if I did I
was likely a bug.
Craig
More information about the Digitalmars-d-learn
mailing list