Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (20 sloc) 459 Bytes
#ifndef GLES2_H
#define GLES2_H
#include <GLES2/gl2.h>
#include <QObject>
#include <QWebView>
class GLES2 : public QObject
{
Q_OBJECT
public:
GLES2(QWebView*);
public slots:
int FRAGMENT_SHADER(){ return GL_FRAGMENT_SHADER; };
int VERTEX_SHADER(){ return GL_VERTEX_SHADER; };
void viewport(int x, int y, int w, int h);
int createShader(int type);
void pass();
private:
QWebView* iWebView;
};
#endif // GLES2_H
Something went wrong with that request. Please try again.