swapchain: add intercept_core_device_command
authorChia-I Wu <olv@google.com>
Thu, 28 Apr 2016 06:38:57 +0000 (14:38 +0800)
committerChia-I Wu <olv@google.com>
Fri, 13 May 2016 02:35:37 +0000 (10:35 +0800)
commita17745fcc1ce5febef0ea744fabf3f823a272053
tree359fe93653b3f8258612a70494aaadcdd73f0bb7
parent1695c66fd68e3607d07e44c891328d7bb4292842
swapchain: add intercept_core_device_command

It returns the function pointers for all intercepted core device commands.
Call intercept_core_device_command from GetDeviceProcAddr.  Assert that
device is valid in GetDeviceProcAddr.
layers/swapchain.cpp