add Vulkan x11 platform and zink dispatch for GL #1521
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this is a no brainer that provides the missing surface platforms and swap chain CreateSwapchainKHR that all vulkan and gl zink apps use.
termux GUI vulkan or GL?
barring any termux GUI implementation for the actual android surface which I have yet to see. every single program ask for xlib surface and has no idea what the android surface is ... or that it even exists. there has to be one program somewhere that call the android surface without any java. perhaps ternux GUI guy knows. i have tried to ask him about it @tareksander
did anyone say GL
the bigger mystery is OpenGL. just completely lost at why everything is broken. only glmark glx manages to find a working configuration all other demos and apps fail for one reason or another
with angle the obvious omission is full non-es GL as in this output. all demos require the full GL specification
LD_LIBRARY_PATH=$P/opt/angle-android/gl eglinfo -v -p angle
EGL_RENDERABLE_TYPE: opengles,opengles2
EGL_SURFACE_TYPE: window,pbuffer
? ? ? what? ten times slower. and as mentioned ten times egl and es fail altogether to find any suitable config
this build is only GLX and has ES (1 or 2?) support. not sure if the config advertise only es support
Debug: #if defined(GL_ES)
as a comparison cl produce a respectable 80 GFLOPS that should be able to run many things at descent speed if they only worked. i haven't looked at the java dosbox implementation or anything else to understand what they use. i suppose they have to use the ES subset. only NVIDIA provided the full GL specification. and the android surface is neither egl nor angle. perhaps? i am just not skilled enough to say
clpeak --compute-dp
Device: Mali-G57 r0p1
Half-precision compute (GFLOPS)
half : 40.65
half2 : 79.84
the egl and es2 brethren fail in complete opposition to the expectation. the answer must be that mesa has zero testing on mobile platforms
glmark2-egl -d
glmark2-es2 -d
Debug: Using eglGetPlatformDisplayEXT()
dri2_dpy->fd_render_gpu >= 0" failed