View Full Version : Vertex and Fragment programs questions

07-03-2003, 09:37 PM
1. Are Program Environment vars shared between multiple opengl contexts ?

2. Do you need to resend Local parameters if they are not changed between frames?

07-04-2003, 01:31 AM
1. I don't know

2. OpengL being a state machine, the answer is clearly : no, there is no need to resend them.

07-04-2003, 06:23 AM
1. I'm pretty sure (although I never tested), that if you do wglsharelist, then all programs gets shared and that includes everything about them.

07-04-2003, 08:31 AM
1. Yes, according to the spec.

2. No; that's the whole point of program local parameters. Else environment parameters would be all you'd need.