I am relatively new to OpenVG and I am just experimenting with some code. The following code is what prompted me to ask this question:
glPixelStorei(GL_PACK_ALIGNMENT,1); vgReadPixels(buf1, WINDSIZEX*4, VG_sRGBA_8888, 0, 0, WINDSIZEX, WINDSIZEY);
Is this valid? I would assume not because i’m guessing vg has its own statemachine? Is there a vg equivalent for most / all OpenGL functions? e.g.
Are there any good resources you could point me to?
I appreciate any information you can give me!