Make the Dbg xgl global calls use dispatch table for layer support
authorJon Ashburn <jon@lunarg.com>
Fri, 14 Nov 2014 16:52:42 +0000 (09:52 -0700)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Fri, 21 Nov 2014 23:49:40 +0000 (16:49 -0700)
commit994fc4727631edecf4b31ffd4f358fc34bff88a3
tree9a11e4ef1e4a91dfaec6728dfeeea139e7393b3f
parent3cd8c9be25fa3103b1bd321a89fd4ab5d5e49f4a
Make the Dbg xgl global calls  use dispatch table for layer support

xglDbgRegisterMsgCallbacks, xglDbgUnregisterMsgCallbacks,
xglDbgSetGlobalOptions  dispatched via dispatch table so layers can
intercept these calls.  Also add support for these calls being dispatched
to different icd functions based on gpu  for icd's which may want different
functions per gpu.
icd/common/icd.c
icd/common/icd.h
loader/loader.c