No description, website, or topics provided.
C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
sync
CMakeLists.txt
Doxyfile
README.md

README.md

GLSync

This is a readme file for glsync hack, which enforces glXSwapBuffers to synchronize GPU with CPU (e.g. empty the command buffer) This project is a shameless fork of elfhacks - an excelent work of Pyry Haulos - all credit goes to him.

Building

mkdir build
cd build
cmake ..
make

This will (hopefully) produce libglsync.so and libglsync32.so in build/sync/ directory, which should be LD_PRELOADed with the application that needs to be amended.

Running

Usually it should suffice to do:

LD_PRELOAD=PATH_TO/libglsync.so executable

or

LD_PRELOAD=PATH_TO/libglsync32.so 32bit_executable

for 32bit executables.

Known issues

Left4Dead2 does not work with this lib ("Could not load library matchmaking").