Is there another simpler method to evaluate the integral $\int_0^{2 \pi} \frac{1}{1+\cos \theta \cos x} d x , \textrm{ where } \theta \in (0, \pi)?$ Using ‘rationalization’, we can split the integral into two manageable integrals as:
$\displaystyle \begin{aligned}\int_0^{2 \pi} \frac{1}{1+\cos \theta \cos x} d x = & \int_0^{2 \pi} \frac{1-\cos \theta \cos x}{1-\cos ^2 \theta \cos ^2 x} d x \\= & \int_0^{2 \pi} \frac{d x}{1-\cos ^2 \theta \cos ^2 x}-\cos \theta \int_0^{2 \pi} \frac{\cos x}{1-\cos ^2 \theta \cos ^2 x} d x \\= & 4 \int_0^{\frac{\pi}{2}} \frac{\sec ^2 x}{\sec ^2 x-\cos ^2 \theta} d x+\int_0^{2 \pi} \frac{d(\cos \theta \sin x)}{\sin ^2 \theta+\cos ^2 \theta \sin ^2x} \\= & 4 \int_0^{\frac{\pi}{2}} \frac{d\left(\tan x\right)}{\sin ^2 \theta+\tan ^2 x}+\frac{1}{\sin \theta}\left[\tan ^{-1}\left(\frac{\cos ^2 \theta \sin x}{\sin \theta}\right)\right]_0^{2 \pi} \\= & \frac{4}{\sin \theta}\left[\tan ^{-1}\left(\frac{\tan x}{\sin \theta}\right)\right]_0^{\frac{\pi}{2}} \\= & \frac{4}{\sin \theta} \cdot \frac{\pi}{2} \\= & \frac{2 \pi}{\sin \theta}\end{aligned}\tag*{} $
Is there another simpler method to evaluate the integral?
Your comments and alternative methods are highly appreciated.

Splitting the integral interval into two gives another solution.
$$
\begin{aligned}
\int_0^{2 \pi} \frac{1}{1+a \cos x} d x & =\int_0^\pi \frac{1}{1+a \cos x} d x+\int_\pi^{2 \pi} \frac{1}{1+a \cos x} d x \\
& =\int_0^\pi \frac{1}{1+a \cos x} d x+\int_0^\pi \frac{1}{1-a \cos x} d x \\
& =2 \int_0^\pi \frac{1}{1-a^2 \cos ^2 x} d x \\
& =4 \int_0^{\frac{\pi}{2}} \frac{\sec ^2 x}{\sec ^2 x-a^2} d x \\
& =4 \int_0^{\frac{\pi}{2}} \frac{d(\tan x)}{\tan ^2 x+\left(1-a^2\right)} \\
& =\frac{4}{\sqrt{1-a^2}}\left[\tan ^{-1}\left(\frac{\tan x}{\sqrt{1-a^2}}\right)\right]_0^{\frac{\pi}{2}} \\
& =\frac{2 \pi}{\sqrt{1-a^2}}
\end{aligned}
$$
