Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WRAPPER] Added some wayland function wrappers #807

Merged
merged 1 commit into from
May 28, 2023
Merged

Conversation

ksco
Copy link
Collaborator

@ksco ksco commented May 28, 2023

Added for Telegram, but it still not working (segfaulted).

@ptitSeb ptitSeb merged commit eb68774 into ptitSeb:main May 28, 2023
@ksco ksco deleted the wayland branch May 28, 2023 11:15
@ksco
Copy link
Collaborator Author

ksco commented May 28, 2023

Hmm, is there any way we can wrap the wl_proxy_marshal_constructor function from Wayland? It has the signature:

struct wl_proxy * wl_proxy_marshal_constructor(struct wl_proxy *proxy, uint32_t opcode, const struct wl_interface *interface,...)

The vaargs parameter is for "extra arguments for the given request". Do we have to record the "given request" to know the vaargs' layout? It seems complicated.

@ptitSeb
Copy link
Owner

ptitSeb commented May 28, 2023

IIRC, this function also serve as a brdige for many callback function right?

But if there isn't any _va equivalent function, it will be complicated yes, because wrapping ... cannot be generic.

@ksco
Copy link
Collaborator Author

ksco commented May 28, 2023

I don't know Wayland/OpenGL stuff. But yes, there is no _va equivalent, unfortunately.

@ptitSeb
Copy link
Owner

ptitSeb commented May 28, 2023

try to run your stuff with an emulated version of this lib? Just t see if it worth focussing on this one.

@ksco
Copy link
Collaborator Author

ksco commented May 28, 2023

Oh, right, almost forgot we have that option!

@ksco
Copy link
Collaborator Author

ksco commented May 28, 2023

By the way, I see most of the use cases of Box64 are running games, do you know any GUI apps that work with Box64 ARM64 already? I can test these for the RV64 too.

@ptitSeb
Copy link
Owner

ptitSeb commented May 28, 2023

I know Heroic works on ARM64. It's a 64bits app that can handle GOG and Epic store. But it's an electron app, so it might not run fine yet on rv64.
Lutris should also works. It's a Python app so that should just work.

Most of the launcher will use Wine to run games, so that may be difficult again to run on rv64.

@ksco
Copy link
Collaborator Author

ksco commented May 28, 2023

Ok, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants