7 Commits

Author SHA1 Message Date
David Herrmann
901f21457f gl: add wrappers for glClear and glClearColor
This helps us moving opengl dependencies into a single source file so we
can easily disable it.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-07-01 14:39:30 +02:00
David Herrmann
530991f536 gl: disable texture stride support
This currently does not work properly so disable it. However, we
definitely need to fix this later.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-04-22 16:37:43 +02:00
David Herrmann
728f4a1b18 gl: add stride parameter to texture upload
Allow to specify the stride when uploading data into a texture.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-03-31 22:44:37 +02:00
David Herrmann
650c7077f1 Remove old output subsystem
This subsystem is no longer used so remove it.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-03-23 14:29:25 +01:00
David Herrmann
911d635e6e gl: add viewport helper
This helper correctly sets the viewport to the size of a screen.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-03-23 14:18:28 +01:00
David Herrmann
253ef4850f gl: add debug statements
Add messages about new shader objects.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-03-23 13:30:05 +01:00
David Herrmann
25f41f84f7 gl: add GL subsystem
The GL subsystem is copied from the old output_context subsystem and now
provides shader and GL-math. It will replace the old output_context subs
soon.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
2012-03-23 12:50:35 +01:00