MCPcopy Create free account
hub / github.com/boostorg/compute / MandelbrotWidget

Class MandelbrotWidget

example/mandelbrot.cpp:77–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75);
76
77class MandelbrotWidget : public QGLWidget
78{
79 Q_OBJECT
80
81public:
82 MandelbrotWidget(QWidget *parent = 0);
83 ~MandelbrotWidget();
84
85 void initializeGL();
86 void resizeGL(int width, int height);
87 void paintGL();
88 void keyPressEvent(QKeyEvent* event);
89
90private:
91 compute::context context_;
92 compute::command_queue queue_;
93 compute::program program_;
94 GLuint gl_texture_;
95 compute::opengl_texture cl_texture_;
96};
97
98MandelbrotWidget::MandelbrotWidget(QWidget *parent)
99 : QGLWidget(parent)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected