Did my boyfriend rape me?

So me and my ex had been together a few months. At first I was super up for sex we did it all the time, But as the relationship started to go downhill and other things in my life weren’t going aswell I had gotten pretty low. So I ended up needing Xanax every night just so I could sleep. You need that for context cause it basically means you sleep pretty heavy for like 10 hours.

So I slept really deep back then. I’d usually wake up with cum on my somewhere from him wanking over me while I was sleeping. A couple times I’d wake up to him using my hand under his to get off, and I’d be like wtf and pull away. But there was once I woke up and he was actually on top, inside me having sex. I only woke up cause I was obvs dry and it really hurt. I said what are you doing and he just said to stop talking then continued, and I was away from home at his accommodation so I couldn’t leave and just went along with it. After, as per he just turned over and went back to sleep and I just lay awake until morning then left. We never spoke about it and I never told anyone but like I don’t know. I left him soon after for other reasons but was that rape? I never said no, but I never said yes either? I’m not going to make anything of it like it’s over and done I just want to move on. But did I just bring it on myself by not having sex like we used to, I really blame myself for it. And was he just taking what was his because we where dating and I wasn’t giving it and does that mean it was ok and I’m just an idiot for being hurt by it? I don’t know.