diff options
| author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2025-08-24 02:57:01 +0300 |
|---|---|---|
| committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2025-08-27 14:57:46 +0300 |
| commit | b25c1e8452ecffa70b4b75fdb579f08187b36a63 (patch) | |
| tree | 8fc361a9a19f9f5a4481cd1d6533024c4b6511a5 /src/plugins/platforms/android/qandroidplatformopenglwindow.h | |
| parent | 1678e8ac463d189db416f41bd0680ce5954529d4 (diff) | |
Android: split and rename checkNativeSurface()
This function is doing more than what's obvious from the name, it
checks if the surface has been created and creates the egl surface
and then calls sendExpose(). This splits and renamed to one call
for checking if the surface, then sendExpose() is moved to the
existing createEgl().
Pick-to: 6.10
Change-Id: Ie15123324fca68df4a66c386916f13d691ac66c6
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Diffstat (limited to 'src/plugins/platforms/android/qandroidplatformopenglwindow.h')
| -rw-r--r-- | src/plugins/platforms/android/qandroidplatformopenglwindow.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/platforms/android/qandroidplatformopenglwindow.h b/src/plugins/platforms/android/qandroidplatformopenglwindow.h index 6e31bf68fd6..4d375757061 100644 --- a/src/plugins/platforms/android/qandroidplatformopenglwindow.h +++ b/src/plugins/platforms/android/qandroidplatformopenglwindow.h @@ -23,14 +23,13 @@ public: void setGeometry(const QRect &rect) override; EGLSurface eglSurface(EGLConfig config); + void createEgl(EGLConfig config); QSurfaceFormat format() const override; - - bool checkNativeSurface(EGLConfig config); + bool makeCurrentNeeded() const; void applicationStateChanged(Qt::ApplicationState) override; protected: - void createEgl(EGLConfig config); void clearSurface() override; private: |
