Konstantin Käfer
4f26c8122a
[core] track texture state to avoid redundand binds
2016-07-08 13:11:25 +02:00
Konstantin Käfer
2e10c0a866
[core] don't force GL state to be set when calling .reset()
...
We are using Value::reset() to change a piece of GL state to its default value. However, the current implementation always executes the GL call, even if our state tracking system knows that it's already at that value. The new implementation of Value::reset() now respects that, resulting in a lot fewer GL calls.
2016-07-07 16:29:34 +02:00
Bruno de Oliveira Abinader
7e549b9020
[core] Added BlendColor GL config value
2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
9038d66af6
[core] Added missing BlendFunc operator
2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
c20c1d6a6b
[core] Avoid redundant 'inline' usage
2016-06-18 23:46:50 +03:00
John Firebaugh
a020e535ca
[core] Add a few conveniences to Color
2016-06-15 13:22:00 -07:00
Konstantin Käfer
e2bcea90fc
[core] use #pragma once instead of ifdef include guards
2016-05-25 21:35:37 +02:00
Bruno de Oliveira Abinader
876bf0687a
[core] Added PixelZoom, RasterPos to GL config
2016-05-24 19:58:24 +03:00
Ansis Brammanis
d2b9b1c348
[core] always set activeTexture before binding a texture
2016-04-14 17:12:56 -07:00
Konstantin Käfer
e74987b07f
[core] move GL value objects from gl_config.hpp to gl_values.hpp
...
Also removes duplicate code from gl_helper.hpp by reusing the GL values that we already have anyway.
2016-02-08 12:50:00 +01:00