swr/rast: Better ExecCmd (i.e. system()) implmentation
authorGeorge Kyriazis <george.kyriazis@intel.com>
Sat, 20 Jan 2018 00:03:16 +0000 (18:03 -0600)
committerGeorge Kyriazis <george.kyriazis@intel.com>
Thu, 25 Jan 2018 19:26:49 +0000 (13:26 -0600)
commit0b46c7b3b00d93132bab028017cdfdec1693ed7d
tree18be27361acbd36e6aedc35568bde9463a23b656
parent2d16b61bffc684847a3ab107a2aa4906251445ca
swr/rast: Better ExecCmd (i.e. system()) implmentation

Hides console window creation during JIT linker execution in apps that
don't have a console.  Remove hooking of CreateProcessInternalA - the
MSFT implementation just turns around and calls CreateProcessInternalW
which, we do hook.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/common/os.cpp
src/gallium/drivers/swr/rasterizer/common/os.h
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp