Inlining of occlusion checks and rendering