Bf has pics of

So I was taking pics in my bf phone like I normally do of course he knows I do it and of course it was a few I didn't like so when I went to go delete the ones I didn't like I came across a picture of a transgender she still had her penis intact. So I was shocked and curious so I went through more pics and was seeing the same thing. Even seen he screen shot gay porn and has a video of gay porn in his phone. He doesn't know that I know and I don't want to confront him about it because I don't know what to say and even if he is bi, gay or just curious I want him to be comfortable enough to tell me himself. I'm lost for words and hurt because we been together for 4 1/2 years