The 22-year-old from Thornhill, Ont., and two-time defending champion at the tournament, recorded 13 aces en route to a quarter-finals berth.
"I'm definitely comfortable here," Raonic said. "I made it an emphasis to start more aggressively and that helped me play well."
Raonic will next play No. 6 Denis Istomin of Uzbekistan, who topped Germany's Benjamin Becker 6-3, 6-7 (5), 6-2.
Also advancing Thursday was third-seed Sam Querrey who beat Lleyton Hewitt 7-6 (6), 1-6, 7-6 (4).
Hewitt, the former top-ranked player in the world, double-faulted twice in the third-set tiebreaker, including match point. The Australian has 28 career titles, and beat Querrey in two previous meetings.
"A match like that, to grind through it, makes me feel pretty good," said Querrey, his right elbow and knee wrapped in ice. "It was a high quality match. He's a lot better than his ranking. A couple of double faults was all that separated us in the match."
Querrey will face Alejandro Falla, the Colombian who reached his first quarter-final of the season by knocking off seventh-seeded Marinko Matosevic of Australia 6-4, 6-4.
Querrey, ranked No. 20, is trying not to look too far down the road, setting his sights on reaching a Grand Slam quarter-final and breaking into the top 10. He reached No. 17 in early 2011 before elbow surgery derailed his climb.
It's also a goal to be the top-ranked American, a title currently held by good friend John Isner, the No. 2 seed in San Jose.
"I want to do it based on results," Querrey said. "Not where John fades for some reason, but that I won a lot of matches and really deserve it."
Winning two matches for the U.S. Davis Cup in a first-round win over Brazil has certainly endured him to his fellow Americans.
"That was probably the most nervous I have ever been for a match," said Querrey, who has won seven of his first nine matches this season on the ATP tour. "I was playing for the whole country. I wasn't playing just for me."
Matosevic and Hewitt faced Americans Mike and Bob Bryan in a late doubles match.
In other matches, Belgium's Xavier Malisse, seeded eighth, squeezed past Australia's Matthew Ebden 5-7, 7-5, 7-6 (1) in a match that lasted almost 2 1/2 hours; and American Steve Johnson reached his first career quarter-final with a 6-3, 6-3 victory over American qualifier Tim Smyczek.