Performance issues with vtkOpenGLBatchedPolyDataMapper

there appears to be a similar problem in vtkOpenGLPolyDataMapper. Should these state checks be actor-specific?