Silence-GitHub / BBMetalImage

A high performance Swift library for GPU-accelerated image/video processing based on Metal.
MIT License
988 stars 126 forks source link

Black output on iPad #56

Closed skliarovartem closed 4 years ago

skliarovartem commented 4 years ago

I have iPad 6th gen, and when trying to apply filter to big picture it shows just black image as result, but CIFilters works properly, and my custom shaders filters work also good. I don't have this problem on iPhone

Silence-GitHub commented 4 years ago

Please try version 1.1.6. If it dose not work, please upload the original image. I will test the image.

A few questions:

  1. Which filter not work on iPad 6? All filters?

  2. Your custom shaders filters work. Do you mean custom CIFilter or BBMetalBaseFilter?

skliarovartem commented 4 years ago

Thank you! Yes, with new version problem is gone. I was using 1.1.1, probably it was using x2 size of textures or something which makes textures bigger than they are.