19 Apr 2024 |
technobaboo | maybe, idk how many of them do GL stuff | 10:51:28 |
patchedsoul | That I don’t know. Have to believe building compositors and COSMIC DE (main dev is employed by System76) has to touch it in some way | 10:53:29 |
technobaboo | yea i know drakulix | 10:54:03 |
technobaboo | but there's a lot of contributors | 10:54:20 |
technobaboo | actually i think i509vcb might know about gl a lot more | 10:54:30 |
i509vcb | Context? | 14:33:28 |
technobaboo | basically i've been trying to upgrade servo's webxr to support linux and monado's EGL extension but the GL calls i make to turn the openxr textures into pbuffer surfaces cause issues | 14:34:23 |
technobaboo | and idk GL enough to fix it | 14:34:33 |
i509vcb | It's possible that monado might have a bug, I doubt their extension is in the EGL registry? | 14:35:49 |
i509vcb | Although why a pbuffer surface? | 14:35:59 |
i509vcb | Regular GL textures don't work here? | 14:36:14 |
technobaboo | it's not a monado bug | 14:36:25 |
technobaboo | it's definitely a servo bug | 14:36:30 |
technobaboo | * it's definitely a bug with my impl | 14:36:35 |
technobaboo | no i gotta plug it into a library that servo uses for all its GL handling called surfman | 14:36:53 |
technobaboo | * no i gotta plug it into a library that servo uses for all its GL/DX handling called surfman | 14:37:02 |
technobaboo | surfman is such a pain btw | 14:38:25 |
i509vcb | Hmm what is regular wsi in servo using? Does it use EGLSurface or does that on Linux get into EGLImage? | 14:40:02 |
technobaboo | wsi is via surfman | 14:40:27 |
technobaboo | which is eglsurfaces and such | 14:40:32 |
technobaboo | https://github.com/servo/surfman/ | 14:40:42 |
technobaboo | basically i need to make a SurfmanTexture from the opengl texture that i get from openxr | 14:43:25 |
technobaboo | https://doc.servo.org/surfman/platform/unix/generic/surface/struct.SurfaceTexture.html | 14:45:56 |
i509vcb | Looking at examples folder, somehow a way to import a pbuffer surface (or create one) as a native widget might do it? | 14:45:58 |
technobaboo | native widget? | 14:46:08 |
i509vcb | Although that platform specific stuff might be better | 14:47:18 |
technobaboo | it kinda has to be | 14:51:17 |
technobaboo | anyway idk what an EGLSurfaceTexture is | 14:51:26 |
technobaboo | * anyway idk what an EGLSurfaceTexture is compared to an EGLImage | 14:51:32 |
technobaboo | i tried to cut a method that made egl surface textures from eglimage in half and plug in the texture handle in the middle but it didn't work | 14:52:01 |