Modifying a texture multiple times during one frame

I am wondering whether the standard requires the following to work (I don’t care about performance only about whether it renders correctly or not).

If I during one frame do something like

  • CreateTexture A
  • Draw with texture A (Expecting the content of the create to be drawn)
  • Modify texture A
  • Draw with texture A (Expecting the content of the above modify to be drawn)
  • Modify texture A
  • Draw with texture A (Expecting the content of the above modify to be drawn)
  • Modify texture A
  • Modify texture A
  • Draw with texture A (Expecting the content of the last of the above modify to be drawn)
  • Delete texture A
  • Swapbuffers

Is this required by the standard to produce the expected result as outlined with OpenGL ES?

Yes.

Thanks that is as I expected.

I can now finally tell that driver writer that he isn’t supplying a standard compliant OpenGL ES driver if the above doesn’t work.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.