To take advantage of the speed optimizations hardware has while writing to the depth buffer only (shadow maps or early z / depth pre pass), should I use glDrawBuffer(GL_NONE) or glColorMask(GL_FALSE...)?
early Z test is independent with color buffer operation, with or without color buffer attachment/mask, you can take advantage of early Z test.