Performance problem on Mac when drawing from offscreen context with HiDPI mode active

I found a work-around, at least. I derived a class from CViewContainer, which overrides only invalidRect(), which simply calls CViewContainer(size). This causes the entire view that contains my scrollbar and zoom and scroll buttons to be invalidated, so that the graph to the right never gets broken into separate redraw areas by those items.