CIFilter blurs on CALayer on Retina display

If I add CIFilter to CALayer, like this ...

filteredLayer.filters = @[filter];

... the filter works fine on a normal display. However, the same code running on the Retina display applies a filter, but the image is blurry.

If I do not apply a filter, the layer is displayed with the correct resolution.

I don’t think that blur is necessarily a 1x / 2x problem - it seems sharper than 1x, it will look, but coarser than 2x.

The contentsScale attribute seems to be set correctly (this is 2).

This is on OS X Mavericks, and the same thing happens on Yosemite beta.

+4
source share

All Articles