summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glthread.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Add infrastructure for a worker thread to process GL commands.Eric Anholt2017-03-161-0/+130
v2: Keep an allocated buffer around instead of checking for one at the start of every GL command. Inline the now-small space allocation function. v3: Remove duplicate !glthread->shutdown check, process remaining work before shutdown. v4: Fix leaks on destroy. V5: (Timothy Arceri) fix order of source files in makefile Acked-by: Timothy Arceri <[email protected]> Acked-by: Marek Olšák <[email protected]> Tested-by: Dieter Nützel <[email protected]> Tested-by: Mike Lothian <[email protected]>