blob: 037587ebb1d39b024edccc38199277ec4d9171c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#ifndef QDIRECTFBGLCONTEXT_H
#define QDIRECTFBGLCONTEXT_H
#include <QPlatformGLContext>
#include "qdirectfbconvenience.h"
class QDirectFbGLContext : public QPlatformGLContext
{
public:
explicit QDirectFbGLContext(IDirectFBGL *glContext);
void makeCurrent();
void doneCurrent();
void swapBuffers();
void *getProcAddress(const QString &procName);
QPlatformWindowFormat platformWindowFormat() const;
private:
IDirectFBGL *m_dfbGlContext;
QPlatformWindowFormat m_windowFormat;
};
#endif // QDIRECTFBGLCONTEXT_H
|