[Mesa-dev] [Bug 111478] Add OpenGL ES (GLES) 1.0, 1.1 and 2.0 to docs/features.txt

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 11 17:12:33 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111478

--- Comment #7 from Rob Clark <robclark at freedesktop.org> ---
(In reply to Creak from comment #6)
> (In reply to Rob Clark from comment #4)
> > And now that we are using drm_shim to run shader-db in CI for a few drivers
> > (freedreno and vc4), I'm secretly hoping someone comes up w/ a way to
> > generate features.txt (at least for drivers w/ drm_shim support) by running
> > glxinfo in CI, since features.txt requires that developers remember to
> > actually update it.
> 
> I took a look at drm_shim [1] and it seems that this tool helps faking the
> driver at the kernel level, is that it? If it is, what I'm not so sure is
> how that tool works. Looking at the readme, I don't understand the backend
> options. I was hoping to see the same drivers as the ones listed in
> features.txt. So.. apparently I'm missing something.. Could you explain it
> to me? (you can PM me if you'd rather not go too off topic on this thread).
> 
> [1] https://gitlab.freedesktop.org/anholt/drm-shim

hmm, [1] looks like an older iteration of drm-shim.. have a look at:

  ./src/freedreno/drm-shim
  ./src/broadcom/drm-shim

in the mesa src tree.  They are an $LD_PRELOAD'd thing to spoof enough of the
kernel uabi to "run" the driver.  Ie. you can't actually do drawing, but it is
enough to run shader-db.  And so I think it should be pretty much enough to run
glxinfo.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190911/f82961fb/attachment-0001.html>


More information about the mesa-dev mailing list