I'd think that unlikely, considering Pixar has nothing to do with Shrek 1 or 2. Also, they've had nothing but success using their own stories and characters, so I wouldn't think they'd use someone else's IP.