Commit graph

10 commits

Author SHA1 Message Date
Jonas Kulla
b4bca7ea3b GLState: Constify 2014-12-31 18:52:21 +01:00
Jonas Kulla
27b7815f52 GLState: Remove 'BlendNone' mode in favor of disabling blending alltogether 2014-07-20 13:17:12 +02:00
Jonas Kulla
7ce747d34d GLProperty: Assert proper stack usage 2014-07-20 13:15:03 +02:00
Jonas Kulla
2cc2ebca31 GLState: Get rid of GL_TEXTURE_2D enable/disable
This bit was deprecated/removed in core GL.

There was only one place where this was used (flash tiles
in Tilemap), and since the full shader rewrite, it was
effectively a no-op anyway (flash shader doesn't sample texture).
2014-05-30 23:13:58 +02:00
Jonas Kulla
87c1e376b9 GLState: Add bound shader program to managed state
Squishes a handful of redundant binds per frame.
2014-01-20 00:58:39 +01:00
Edward Rudd
e87bdb8a95 cleaner approach to handling the viewport bug 2013-12-31 19:56:20 -05:00
Jonas Kulla
d8e22a8b3c Remove unused definition 2013-12-29 14:36:32 +01:00
Jonas Kulla
99866fb84c Replace QStack with std::stack 2013-12-27 20:10:01 +01:00
Jonas Kulla
9e63fb6b64 Remove the remaining bits of deprecated GL usage
The drawing is now completely shader based, which makes away
with all usage of the depracted matrix stack. This also allows
us to do things like simple translations and texture coordinate
translation directly instead of doing everything indirectly
through matrices.

Fixed vertex attributes ('vertexPointer()' etc) are also
replaced with user defined attribute arrays.
2013-09-23 07:50:22 +02:00
Jonas Kulla
ff25887f41 Initial commit 2013-09-01 16:27:21 +02:00