Skip to content

add epoxy_set_library_path for android#302

Open
john-peterson wants to merge 1 commit into
anholt:masterfrom
john-peterson:loader
Open

add epoxy_set_library_path for android#302
john-peterson wants to merge 1 commit into
anholt:masterfrom
john-peterson:loader

Conversation

@john-peterson

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

Copy link
Copy Markdown

commit 6ff6dab
Author: John Sebastian Peterson jpeterson57@gmail.com
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