aboutsummaryrefslogtreecommitdiffstats
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-13 22:50:27 -0700
commitde0d10db93d85de79c7b4451c4851ace2976f8f4 (patch)
tree448bd7d9ca17a79cc13b9782384a3b6c010c3db7 /src/gallium/drivers/swr/swr_fence.cpp
parent274f8bf05ef526d65f01614313dda65bc7ec7a87 (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]> Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_fence.cpp')
0 files changed, 0 insertions, 0 deletions