replace use of glfw for SurfaceView with use of wayland subsurface positioned over a Gtk widget

This commit is contained in:
Mis012
2022-11-02 14:37:34 +01:00
parent e88709cf9d
commit 6a1d2f4ed4
7 changed files with 175 additions and 57 deletions

View File

@@ -1,5 +1,5 @@
package android.view;
public class Surface {
public long widget;
}

View File

@@ -11,6 +11,8 @@ public class SurfaceView extends View {
super(context);
native_constructor(context);
mSurface.widget = this.widget;
}
private native void native_constructor(Context context);