Synchronisation in OpenGL (part 1.1)
问题 My questions pertain to the use of a single OpenGL 4.5 context without any direct memory mapping or explicit synchronisation (hypothetically), with both rendering shaders (invoked with glDrawArrays() ) and compute shaders (invoked with glDispatchCompute() ). Question 1.1: Are all changes to rendering state – such as with glUseProgram() , glEnable() / glDisable() , glStencilFunc() , glStencilOp() , glClearColor() , glStencilMask() , glClearStencil() , glBlendFunc() , glColorMask() , etc. –