Is there a way to render both OpenGL (3D) and OpenVG (vector 2D) content onto the same context?
Since both utilize EGL to render, will the two fight over the who gets the context? Or can they coexist without problems?
Here’s one suggestion I have heard:
- create EGL context
- render OpenVG to a back-buffer
- render OpenGL to EGL context created in step 1.
- render OpenVG back-buffer on top of EGL context (containing OpenGL renderings)
Will this work? Will the final context contain BOTH the OpenGL & OpenVG content?
Furthermore… can someone point me to how to get my desktop environment set up with both OpenVG and OpenGL?
Your help is much appreciated! Thanks in advance!