aboutsummaryrefslogtreecommitdiff
path: root/include/vulkan/vk_layer.h
AgeCommit message (Collapse)Author
2016-06-06layers: Move debug action enums from vk_layer.hMark Lobodzinski
Moved debug-report related items from vk_layer.h. Enums are now in vk_layer_logging.h and DbgFunctionNode has been moved into a new loader header file vk_loader_layer.h. Change-Id: I6031146ba474ff01ca039da44ad5d42d054383a3
2016-06-06layers: Add default layer error message configMark Lobodzinski
Allows layers to output error messages even if no vk_layer_settings.txt config file is present. Sets defaults to LOG_MSG, error, stdout. A layer settings file will override any default values. If no settings file is present and an app creates a debug callback, the default callbacks will be removed and unregistered. Change-Id: I49f37189665816df58c258b9e9629f2bf76751c8
2016-04-19misc: Update licenses to Apache 2.0Jon Ashburn
Change-Id: Id447f4c8c53d33f9192940bdd3ae727b7b738a97
2016-04-13layers: Update typo in commentttyio
2016-04-06Update vk_layer.hVinjn Zhang
Correct comment for VkLayer*CreateInfo's sType
2016-04-01loader: Add device callback to set dispatchable objectJon Ashburn
Change-Id: I5ca8f532e777e2cb0facf8fe5bab4c82409f8d37
2016-04-01loader: Remove the device_info in the layer chain structureJon Ashburn
Simplifies code, the loader device structure is passed down from trampoline code to terminator code via the pDevice parameter. It doesn't need to be added to this pCreatInfo pNext list structure. Layers which modifiy pDevice whould do it on the way up the chain not going down the chain. Change-Id: Ibf7e4ffdc1a36f52b1a99389dcab25d572655aec
2016-04-01loader: Add instance callback to set dispatchable objectsJon Ashburn
Change-Id: I73b8b6edfee491c53216b730c99a7ea34ade3b4e
2016-04-01loader: Remove the instance_info in the layer chain structureJon Ashburn
Simplifies code, the loader instance structure is already passed down from trampoline code to terminator code via the pInstance parameter. It doesn't need to be added to this pCreatInfo pNext list structure. Layers which modifiy pInstance whould do it on the way up the chain not going down the chain. Change-Id: I59581b94871c094995787808cf5ae2955ad0191a
2016-03-08loader: gllvl #50, Add support for the WSI extension KHR_displayJon Ashburn
Change-Id: I8d5ecc7500beba3042a6b9147b2f3fd3055b3b1d
2016-03-03misc: Remove lunarg_debug_marker extensionJon Ashburn
This device extensions was not completely supported in any layer. It had partial support (intercept) in draw_state and device_limits. This extension is being changed and has a formal proposal in Khronos as debug_marker_ext. Removing the existing extension since it is deprecated; once the debug_marker_ext gets registered by Khronos, layers might want to start using the ObjectTag/ObjectName commands to supplement error report messages in debug_report_ext. Since debug_report_ext might get changed as part of Khronos review, don't add it yet.
2016-02-12header: Update 1.0.3 header revision for inclusion of debug report extensionMark Lobodzinski
Removed vk_ext_debug_report.h (contents moved into vulkan.h) Renamed debug report message enums
2016-02-10include: Use single-quote no paths when including sibling headersKarl Schultz
2016-02-10Remove Khronos confidential clause from license text.Karl Schultz
2016-02-02include: Update copyright and apply clang-format (no logic changes)Karl Schultz
2016-01-20layers: Remove obsolete VkbaseLayerObjectJon Ashburn
2016-01-20loader: Remove CreateInstance and CreateDeviceCourtney Goeltzenleuchter
The new init mechanism always uses GetInstanceProcAddr to query the next layer's CreateInstance or CreateDevice function. Thus no reason to cache those function pointers in the instance dispatch table.
2016-01-20loader: implement new layer init methodCourtney Goeltzenleuchter
New layer init method requires the construction of Link information for CreateInstance and CreateDevice that is accessible to layers via the CreateInfo.pNext pointer. The layer can then use the Get*ProcAddr from the Link structure to initialize their dispatch table if the call down the chain returns successfully. This removes the need to do special initialization work at Get*ProcAddr time. Layer Get*ProcAddr now return their internal function pointers regardless of the value of instance or device. Only need to have valid instance & device when looking up extensions or when passing the request down the chain. This mechanism allows us to remove object wrapping used by the loader previously. Also simplifies the dispatch table setup. Conflicts: layers/device_limits.cpp layers/draw_state.cpp loader/loader.c loader/trampoline.c
2016-01-20loader: Add structures to support new init methodCourtney Goeltzenleuchter
These structures will be used to extend CreateInstance and CreateDevice to support layers. The loader will create a chain of these structures - one per layer - that tells the layer the Get*ProcAddr for the next lower part.
2016-01-19debug_report: MR141, Change pUserData to match type used elsewhereCourtney Goeltzenleuchter
Other uses of pUserData in Vulkan do not have a const qualifier, remove it for this pUserData.
2015-12-17debug_report: rename object type and error bitsCourtney Goeltzenleuchter
Conflicts: demos/tri.c layers/device_limits.cpp layers/draw_state.cpp layers/image.cpp layers/mem_tracker.cpp layers/param_checker.cpp layers/vk_layer_logging.h loader/debug_report.c tests/layer_validation_tests.cpp
2015-12-17debug_report: rename vk_lunarg_debug_report.hCourtney Goeltzenleuchter
2015-12-17debug_report: Add DebugReportMessage functionCourtney Goeltzenleuchter
2015-12-17debug_report: rename and update to use CreateInfoCourtney Goeltzenleuchter
2015-12-17debug_report: Rename VkDbgMsgCallback objectCourtney Goeltzenleuchter
2015-12-11wsi: Make WSI cases more consistent, fail if not set correctlyMark Lobodzinski
Filled in build details for Mir, Wayland, etc.
2015-12-11android: Update build to define android platform at build timeMichael Lentine
2015-12-11android: Fix android build.Michael Lentine
Temporarily disable shader checker which now depends on glslang Fix xcb guards and set the ifdef based on platform
2015-12-01wsi: Moved definition of CreateXxxSurface extension to CMakefileMark Lobodzinski
Removed component-specific definitions
2015-12-01loader: Add vkGetPhysicalDevice*PresentationSupportKHR()Ian Elliott
These queries involve trampoline and terminator functions (the latter of which calls the ICD's function).
2015-12-01layers: add DestroySurfaceKHR to instance dispatch tableJon Ashburn
2015-12-01loader: Address Jon Ashburn's review comments.Ian Elliott
It took a few commits (squashed down into 1) to get it correct. Includes: Use loader_heap_{alloc|free}(). Try to deal correctly with initializing the vkCreate*SurfaceKHR()'s.
2015-12-01loader: Get loader compiling.Ian Elliott
2015-12-01WSI: Eliminate a lot of references to WSI header files.Ian Elliott
Conflicts: include/vulkan/vk_layer.h loader/loader.h
2015-11-24Layers: changed layer names to conform to specDavid Pinedo
2015-11-18loader: Add dynamic dispatch for unknown device extension entrypointsJon Ashburn
GetInstancePorcAddr() is specified to return trampoline entrypoints for all Vulkan core and extension entrypoints that are dispatched on an instance object or a child of that instance object. However, typically, device extensions would be unknown to the loader (don't want to rev the loader everytime an IHV creates a new device extension). This patch allows loader to dynamically discover device extension entrypoints and configure generic trampoline code for these discovered device extensions.
2015-11-06Moved header files from include to include/vulkanDavid Pinedo