4 Commits

Author SHA1 Message Date
Hannes Janetzek
e99a4279bf keep track of GL_BLEND state: GLState.blend(enable) 2013-10-09 01:55:51 +02:00
Hannes Janetzek
be748138ac - use Stencil instead of Depth for clipping test
to avoid drawing everything with polygonOffset
- add GLState.useProgram
2013-10-09 01:55:50 +02:00
Hannes Janetzek
7cc32f1572 use GLState for depth and stencil test 2013-10-09 01:52:20 +02:00
Hannes Janetzek
e50ea0c2ba refactor: move rendering of base layers to separate class
- keep track of GL state in GLState
2013-10-09 01:52:20 +02:00