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

add epoxy_set_library_path for android #302

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

john-peterson
Copy link

@john-peterson john-peterson commented Feb 9, 2025

commit 6ff6dab
Author: John Sebastian Peterson [email protected]
Date: Mon Feb 10 02:55:08 2025 +1100

add epoxy_set_library_path for android angle

this is used in termux to load angle platform for a lack of other ideas

I don't know how to use lib glvnd to load angle  this didn't work only the LD library path worked

$PREFIX/share/glvnd/egl_vendor.d/angle.json
"library_path" : "libEGL_angle.so"
or this failed too
"library_path" : "libGLESv2_angle.so"

this works
LD_LIBRARY_PATH=$P/opt/angle-android/gl/ ~/demos/out/src/egl/opengl/eglinfo -p angle  -B

one horrible bug this introduced in virgl renderer is a glx failure if
epoxy support glx. I am looking for a solution for this an a better
approach overall

glXGetCurrentContext() not found: undefined symbol: glXGetCurrentContext

@john-peterson john-peterson force-pushed the loader branch 2 times, most recently from 34a9d63 to 12a7dcc Compare February 13, 2025 15:40
this is used in termux to load angle platform for a lack of other ideas

I don't know how to use lib glvnd to load angle  this didn't work only the LD library path worked

$PREFIX/share/glvnd/egl_vendor.d/angle.json
"library_path" : "libEGL_angle.so"
or this failed too
"library_path" : "libGLESv2_angle.so"

this works
LD_LIBRARY_PATH=$P/opt/angle-android/gl/ ~/demos/out/src/egl/opengl/eglinfo -p angle  -B

one horrible bug this introduced in virgl renderer is a glx failure if
epoxy support glx. I am looking for a solution for this an a better
approach overall

glXGetCurrentContext() not found: undefined symbol: glXGetCurrentContext
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.

1 participant