Details
-
Technical task
-
Resolution: Out of scope
-
P2: Important
-
None
Description
If we let this function be independent of the paint engine and render at the user-specified x, y and z in viewport coordinates, we can make this work.
For performance/memory reasons, it can share the glyph cache with the opengl GL paint engine, but no code can be shared as the paint engine doesn't integrate well with a z buffer.
I don't know which class is the best placeholder for this functionality? Putting it QOpenGLContext seems bloated. Maybe QOpenGLPaintDevice?