X-Git-Url: https://eleni.mutantstargoat.com/git/?p=libgliar;a=blobdiff_plain;f=README;h=1efc3d0a66ef10e869469d450b0f4a033d2bca52;hp=aeaebc20e3d770bec63d603d89f23baf285a07a8;hb=fa3b7898a907b79db149781f336dee652c69f5f0;hpb=a9d99c62e9bd30cb52f343bbd80dd9073fbbad5a diff --git a/README b/README index aeaebc2..1efc3d0 100644 --- a/README +++ b/README @@ -22,7 +22,7 @@ For instructions on how to build the code, see the INSTALL file. Usage: ------ -LD_PRELOAD=./libgliar.so +gliar The library will read the gliar.conf file in the user's library directory or the .gliar.conf file in the user's home directory. @@ -52,22 +52,12 @@ value1 valueN Currently supported keys: -"vendor" (the vendor string), "extensions" (the extensions string), "version" (the opengl version string), -"sl version" (the shading language version), "renderer" (the renderer) - -Example: ---------- -gliar.conf: -[vendor] -Mutant Stargoat - -[extensions] -GL_MSG_hikiko_ext -GL_MSG_test - -$ LD_PRELOAD=./libgliar glxinfo | grep -A2 "OpenGL extensions" -OpenGL extensions: - GL_MSG_hikiko_ext, GL_MSG_test - +"vendor" (the vendor string), "extensions" (the list of the extensions), "version" (the opengl version string), +"sl version" (the shading language version), "renderer" (the renderer), "max texture units", "max texture size" +Example configuration files can be found in the directory examples. +Example video: http://www.youtube.com/watch?v=v2UDGgb6AgA +Note: The library can only restrict the capabilities of a GPU, not "emulate" non supported extensions for +example. If the gliar.conf contains an extension that is not supported by the user's real GPU, the library +will return a warning and the user's program might crash.