-1

I want to implement a simple paint feature on iOS. I have some framebuffers/textures wired up to get the desired final composition.

Redrawing the whole screen is a huge overhead. I can determine a rectangle that has changed.

So what is the best way to draw only that portion?

genpfault
  • 51,148
  • 11
  • 85
  • 139
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172

1 Answers1

1

glScissor(0, 0, 50, 50); glEnable(GL_SCISSOR_TEST);

Geri Borbás
  • 15,810
  • 18
  • 109
  • 172