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.
This commit is contained in:
parent
88c1489554
commit
9e63fb6b64
29 changed files with 701 additions and 295 deletions
src
|
@ -29,6 +29,7 @@
|
|||
#include "sigc++/signal.h"
|
||||
|
||||
class Font;
|
||||
class ShaderBase;
|
||||
struct TEXFBO;
|
||||
|
||||
struct BitmapPrivate;
|
||||
|
@ -103,7 +104,10 @@ public:
|
|||
/* <internal> */
|
||||
void flush() const;
|
||||
TEXFBO &getGLTypes();
|
||||
void bindTexWithMatrix();
|
||||
|
||||
/* Binds the backing texture and sets the correct
|
||||
* texture size uniform in shader */
|
||||
void bindTex(ShaderBase &shader);
|
||||
|
||||
sigc::signal<void> modified;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue