The behaviour of a relative `library_path` is deliberately left
unspecified here. As an implementation detail, it's currently
passed directly to `dlopen()`, so in practice it will be interpreted as
relative to the process's current working directory, but that doesn't
seem practically useful. Vulkan treats relative paths as being relative
to the JSON file in which they were found, which seems more likely to
be a helpful behaviour.
Otherwise this documents the current behaviour, without any of the
possible changes suggested on #187. If any of those changes are made,
then this document should be updated at the same time.
Signed-off-by: Simon McVittie <smcv@collabora.com>
Updated a couple of places that were out of date.
Removed the TODO section, since the remaining items on it are tracked on
Github's issue tracker instead (#44 and #45).
This is mostly to get the Khronos clause into the documentation, which
distributions will need to include in their binary packages.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Instead of requiring a special environment variable to skip tests
which require a special X11 environment, skip these tests by default
and have users opt-in with the DO_X11_TESTS environment variable.
Signed-off-by: Brian Nguyen <brnguyen@nvidia.com>
This gives a brief overview of the code and instructions on building the
prototype and running unit tests.
This is based off of Andy Ritger's README in the original libGLX
prototype library.