From 2020ce5fd2478389c56f34742fdeee9cd24ca8a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tinja=20Paavosepp=C3=A4?= Date: Mon, 6 Nov 2023 13:02:10 +0200 Subject: Android: Give raster windows their own surface, and flush via RHI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refactored platform windows on Android so that all window types, including raster windows, have their own surface to draw on. Raster windows now flush the backing-store via RHI/OpenGL. As a drive by, update to newer JNI syntax where appropriate. Task-number: QTBUG-116187 Change-Id: I3b764b7126abf53556750b0ccbb7d27efe007bc1 Reviewed-by: Tor Arne Vestbø --- src/android/jar/src/org/qtproject/qt/android/QtNative.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/android/jar/src/org/qtproject/qt/android/QtNative.java') diff --git a/src/android/jar/src/org/qtproject/qt/android/QtNative.java b/src/android/jar/src/org/qtproject/qt/android/QtNative.java index ee67362fec..e4d3ce5b7b 100644 --- a/src/android/jar/src/org/qtproject/qt/android/QtNative.java +++ b/src/android/jar/src/org/qtproject/qt/android/QtNative.java @@ -377,7 +377,7 @@ class QtNative // application methods // surface methods - public static native void setSurface(int id, Object surface, int w, int h); + public static native void setSurface(int id, Object surface); // surface methods // window methods -- cgit v1.2.3