Help! eglSwapBuffers + input touch = crash

AbangBlues

Platinian
I am sorry,

I need some idea at here.
Here is the problem :

Situation 1 :
I am trying to make ImGui menu via hooking eglSwapBuffers and it work.The imgui is rendering fine.

But here come the problem.

When hooking "libinput" for touch it will crash.
------------------------------------
Situation 2 :
So i try make it via java GlViewSurface and the ImGui is also working.

Now for touch,i hooking libinput and it work.But,

The touch has a bit bugging.For example,for clicking a box,i need to touch it a bit "higher/up".
---------------------------------------
The only way to make the touch working properly is making a service at the java side for the surface view and this method need a "Windows Alert Permission(Overlay Permission)".

I know someone will ask "Then why not just use that" ?

My main objective is to make a imgui working without depending on the java side.I have read and see most of the old imgui source code for figure out why it crash when i hooking eglSwapBuffer and the touch input at the same time.

I am sorry,still learning about imgui.
For now,i am still reading source code from zygisk imgui mod menu line per line,maybe has something that i miss.

I am very appreciate if anyone can give me some info or idea about this.

Thank you.
 
Back
Top Bottom