X-Git-Url: https://git.sesse.net/?p=kdenlive;a=blobdiff_plain;f=src%2Fwidgets%2Fvideoglwidget.h;h=918cb11734adb4d97fabd36125a162969b58246d;hp=de2304f4bdb2648374967caceac34a9482dcb88c;hb=a3eee7be24126f5a3458d488f44cd61c66135e17;hpb=6c62a4d8f799379bfb7a11d25521cf829248587c diff --git a/src/widgets/videoglwidget.h b/src/widgets/videoglwidget.h index de2304f4..918cb117 100644 --- a/src/widgets/videoglwidget.h +++ b/src/widgets/videoglwidget.h @@ -28,7 +28,7 @@ class VideoGLWidget : public QGLWidget Q_OBJECT public: - explicit VideoGLWidget(QWidget *parent = 0); + explicit VideoGLWidget(QWidget *parent = 0, QGLWidget *share = 0); ~VideoGLWidget(); void activateMonitor(); QSize minimumSizeHint() const; @@ -40,6 +40,7 @@ public: public slots: void showImage(const QImage &image); + void showImage(GLuint); protected: void initializeGL(); @@ -51,7 +52,7 @@ protected: private: int x, y, w, h; int m_image_width, m_image_height; - GLuint m_texture; + GLuint m_texture, m_other_texture; double m_display_ratio; QColor m_backgroundColor; Qt::WindowFlags m_baseFlags;