fredsa / forplay

Automatically exported from code.google.com/p/forplay
Apache License 2.0
12 stars 4 forks source link

Implement basic polygon rendering in Surface #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Surface currently contains only a couple of simple drawImage() methods. We can, 
however, implement general polygon rendering in GL without too much difficulty, 
and it will be a lot more efficient than using Canvas for the same thing. When 
doing this, we should also deal with tiled images, since we'll need 
fill-patterns.

Bonus points for implementing fill-gradients in the shader.

Original issue reported on code.google.com by jgw@google.com on 13 May 2011 at 2:34