I have a mirrordriver where i’m calling EngGradientFill inside
DrvGradientFill. According to the DDK docs EngGradientFill performs
dithering on <= 16bpp surfaces. My surface happens to be an 8 bpp one so
dithering occurs. As a result text in caption/title bars is hard to read,
especially for inactive windows or certain color combinations. Does anybody
know of a way to make EngGradientFill NOT perform dithering on my 8bpp
surface? As a last resort i guess i could draw the gradient myself by using
rectangles but i’d prefer not todo that if there’s an easy solution. (So in
case you were wondering, yes i do want banding to occur)
I already tried modifying pptlDitherOrg so the origin for dithering lies
outside of the rectangle to fill, but it looks like it doesn’t matter what i
set pptlDitherOrg to. Dithering always happens.