summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/swr_fence.cpp
diff options
context:
space:
mode:
authorApple SWE <[email protected]>2018-03-13 18:24:26 -0700
committerJeremy Huddleston Sequoia <[email protected]>2018-03-14 22:08:34 -0700
commit67f27b1e18d8e68c795f2eb43c06abfe4b6fcaca (patch)
treea9dd640f26e5514cdf95427e2a66bfe2e403bec5 /src/gallium/drivers/swr/swr_fence.cpp
parent4b15b5e803eb4705f8532e6cc41cfdc8bd065de9 (diff)
Add processor topology calculation implementation for Darwin/OSX targets.
The implementation for bootstrapping SWR on Darwin targets is based on the Linux version. Instead of reading the output of /proc/cpuinfo, sysctlbyname is used to determine the physical identifiers, processor identifiers, core counts and thread-processor affinities. With this patch, it is possible to use SWR as an alternate renderer on OSX to softpipe and llvmpipe. Reviewed-by: Jeremy Huddleston Sequoia <[email protected]> Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_fence.cpp')
0 files changed, 0 insertions, 0 deletions