aboutsummaryrefslogtreecommitdiff
path: root/layers/image.cpp
diff options
context:
space:
mode:
authorIan Elliott <ianelliott@google.com>2015-11-19 13:14:05 -0700
committerJon Ashburn <jon@lunarg.com>2015-12-01 10:18:23 -0700
commit36f1c4eed4a4d06b7fa5749b6b819924f58f01b2 (patch)
tree68aacdecb4bd8a7d78f1edfbe557c19d014d3daf /layers/image.cpp
parent175510d38ca9c131f760882739b9ab3acf74c096 (diff)
downloadusermoji-36f1c4eed4a4d06b7fa5749b6b819924f58f01b2.tar.xz
loader: Wrote vk{Create|Destroy}*SurfaceKHR() trampoline functions.
This is an area where the loader-ICD interface is different. Instead of the trampoline function calling down a call-chain, For Windows and Linux, this function actually fully implements the function. A VkSurfaceKHR is actually a pointer to a platform-specific struct (declared in "vk_icd.h"). The memory for the struct is allocated, and the struct is initialized. All ICDs and layers on Windows and Linux are supposed to treat VkSurfaceKHR's (e.g. in other calls) as such a pointer to a struct. Also, per a Skype conversation with Jon Ashburn, there will be per-WSI-extension sections of the file, with pairs of trampoline-terminator functions right next to each other.
Diffstat (limited to 'layers/image.cpp')
0 files changed, 0 insertions, 0 deletions