aboutsummaryrefslogtreecommitdiff
path: root/layers/screenshot.cpp
AgeCommit message (Collapse)Author
2015-12-01layers: Convert most of the layers to the new WSI.Ian Elliott
2015-11-11MR640: Alloc -> Allocate naming fixesChia-I Wu
Drop a workaround in get_struct_name_from_struct_type in vk_helper.py. s/VK_STRUCTURE_TYPE_MEMORY_ALLOC_INFO/VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO/g s/VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOC_INFO/VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO/g s/VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOC_INFO/VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO/g https://gitlab.khronos.org/vulkan/vulkan/merge_requests/640
2015-11-06bug 15068: Use hardfp calling convention on Android for 32-bit ARM targetsChia-I Wu
Update python scripts. s/(VKAPI \*/(VKAPI_PTR */g s/void VKAPI\b/VKAPI_ATTR void VKAPI_CALL/g s/VkResult VKAPI\b/VKAPI_ATTR VkResult VKAPI_CALL/g s/PFN_vkVoidFunction VKAPI\b/VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL/g s/void\* VKAPI\b/VKAPI_ATTR void* VKAPI_CALL/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15068
2015-11-04misc: Update author informationCourtney Goeltzenleuchter
Author information was added to any file with the standard license text. Authors were added that added/changed >= 3% of the lines of a file.
2015-11-04misc: switch copyright to ValveCourtney Goeltzenleuchter
2015-11-04misc: Remove Vulkan name from CopyrightCourtney Goeltzenleuchter
2015-11-03bug 14537: vkGetPhysicalDeviceImageFormatProperties doesn't express all ↵Chia-I Wu
limitations (WIP) Use VkSampleCountFlagBits exclusively. Note that it can be casted to integer. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14537
2015-11-03layers: Allow calling down chain with vkEnumerateDeviceExtensionPropertiesJon Ashburn
2015-11-02bug 14921 part 1: sed renamesChia-I Wu
Workaround header bug (ALLOC_INFO vs AllocateInfo) in vk_helper.py. This affects the debug extensions as well. s/NONDISP/NON_DISPATCHABLE/g s/CmdBuffer/CommandBuffer/g s/cmdBuffer/commandBuffer/g s/CMD_BUFFER/COMMAND_BUFFER/g s/AllocMemory/AllocateMemory/g s/AllocDescriptorSets/AllocateDescriptorSets/g s/AllocCommandBuffers/AllocateCommandBuffers/g s/VkAllocCallbacks/VkAllocationCallbacks/g s/VkSystemAllocScope/VkSystemAllocationScope/g s/allocScope/allocationScope/g s/allocType/allocationType/g s/pfnAlloc\b/pfnAllocation/g s/pfnRealloc\b/pfnReallocation/g s/VK_SYSTEM_ALLOC_/VK_SYSTEM_ALLOCATION_/g s/extName/extensionName/g s/implVersion/implementationVersion/g s/pAppInfo/pApplicationInfo/g s/pMem\b/pMemory/g s/VkMemoryAllocInfo/VkMemoryAllocateInfo/g s/VkDescriptorSetAllocInfo/VkDescriptorSetAllocateInfo/g s/CmdPool/CommandPool/g s/cmdPool/commandPool/g s/CMD_POOL/COMMAND_POOL/g s/VkCommandBufferAllocInfo/VkCommandBufferAllocateInfo/g s/maxTessellationGenLevel/maxTessellationGenerationLevel/g s/maxFragmentDualSourceAttachments/maxFragmentDualSrcAttachments/g s/destSubpass/dstSubpass/g s/destStageMask/dstStageMask/g s/dualSourceBlend/dualSrcBlend/g s/destBlendColor/dstBlendColor/g s/destBlendAlpha/dstBlendAlpha/g s/VK_FORMAT_NUM/VK_FORMAT_RANGE_SIZE/g s/VK_DYNAMIC_STATE_NUM/VK_DYNAMIC_STATE_RANGE_SIZE/g s/pAppName/pApplicationName/g s/appVersion/applicationVersion/g s/numLevels/levelCount/g s/numLayers/layerCount/g s/destOffset/dstOffset/g s/destSubresource/dstSubresource/g s/VK_IMAGE_LAYOUT_TRANSFER_SOURCE_OPTIMAL/VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL/g s/VK_IMAGE_LAYOUT_TRANSFER_DESTINATION_OPTIMAL/VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL/g s/VK_IMAGE_USAGE_TRANSFER_SOURCE_BIT/VK_IMAGE_USAGE_TRANSFER_SRC_BIT/g s/VK_IMAGE_USAGE_TRANSFER_DESTINATION_BIT/VK_IMAGE_USAGE_TRANSFER_DST_BIT/g s/destBuffer/dstBuffer/g s/destQueueFamilyIndex/dstQueueFamilyIndex/g s/destSet/dstSet/g s/destBinding/dstBinding/g s/destArrayElement/dstArrayElement/g s/VK_BLEND_DEST_COLOR/VK_BLEND_DST_COLOR/g s/VK_BLEND_ONE_MINUS_DEST_COLOR/VK_BLEND_ONE_MINUS_DST_COLOR/g s/VK_BLEND_DEST_ALPHA/VK_BLEND_DST_ALPHA/g s/VK_BLEND_ONE_MINUS_DEST_ALPHA/VK_BLEND_ONE_MINUS_DST_ALPHA/g s/VK_FORMAT_FEATURE_BLIT_SOURCE_BIT/VK_FORMAT_FEATURE_BLIT_SRC_BIT/g s/VK_FORMAT_FEATURE_BLIT_DESTINATION_BIT/VK_FORMAT_FEATURE_BLIT_DST_BIT/g s/VK_BUFFER_USAGE_TRANSFER_SOURCE_BIT/VK_BUFFER_USAGE_TRANSFER_SRC_BIT/g s/VK_BUFFER_USAGE_TRANSFER_DESTINATION_BIT/VK_BUFFER_USAGE_TRANSFER_DST_BIT/g s/VK_COMPARE_OP_LESS_EQUAL/VK_COMPARE_OP_LESS_OR_EQUAL/g s/VK_COMPARE_OP_GREATER_EQUAL/VK_COMPARE_OP_GREATER_OR_EQUAL/g s/VkPipelineRasterStateCreateInfo/VkPipelineRasterizationStateCreateInfo/g s/rasterSamples/rasterizationSamples/g s/pRasterState/pRasterizationState/g s/VK_FRONT_FACE_CCW/VK_FRONT_FACE_COUNTER_CLOCKWISE/g s/VK_FRONT_FACE_CW/VK_FRONT_FACE_CLOCKWISE/g s/VK_PRIMITIVE_TOPOLOGY_LINE_LIST_ADJ/VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY/g s/VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_ADJ/VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY/g s/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_ADJ/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY/g s/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_ADJ/VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY/g s/VK_STENCIL_OP_INC_CLAMP/VK_STENCIL_OP_INCREMENT_AND_CLAMP/g s/VK_STENCIL_OP_DEC_CLAMP/VK_STENCIL_OP_DECREMENT_AND_CLAMP/g s/VK_STENCIL_OP_INC_WRAP/VK_STENCIL_OP_INCREMENT_AND_WRAP/g s/VK_STENCIL_OP_DEC_WRAP/VK_STENCIL_OP_DECREMENT_AND_WRAP/g s/VK_LOGIC_OP_NOOP/VK_LOGIC_OP_NO_OP/g s/VK_LOGIC_OP_EQUIV\b/VK_LOGIC_OP_EQUIVALENT/g s/memBarrierCount/memoryBarrierCount/g s/ppMemBarriers/ppMemoryBarriers/g s/destImage/dstImage/g s/destImageLayout/dstImageLayout/g s/destCache/dstCache/g s/memOffset/memoryOffset/g s/vk_print_vkmemoryallocinfo/vk_print_vkmemoryallocateinfo/g s/pAllocInfo/pAllocateInfo/g s/memRangeCount/memoryRangeCount/g s/pMemRanges/pMemoryRanges/g s/VK_IMAGE_TYPE_NUM/VK_IMAGE_TYPE_RANGE_SIZE/g s/VK_PIPELINE_BIND_POINT_NUM/VK_PIPELINE_BIND_POINT_RANGE_SIZE/g s/vk_size_vkdescriptorsetallocinfo/vk_size_vkdescriptorsetallocateinfo/g s/remap_cmdbuffers/remap_commandbuffers/g s/remap_cmdpool/remap_commandpool/g s/add_to_cmdbuffers_map/add_to_commandbuffers_map/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14921 a
2015-11-02bug 14641: VkXXXCreateFlags are not consistently used for the various ↵Chia-I Wu
VkXXXCreateInfo (WIP) https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14641
2015-11-02bug 12921: Memory callback (WIP)Chia-I Wu
The per-object allocator is ignored for now. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=12921
2015-11-02bug 14892: 'count' parameters and members named inconsistently in many cases ↵Chia-I Wu
(WIP) s/waitSemCount/waitSemaphoreCount/g s/signalSemCount/signalSemaphoreCount/g s/cmdBufferCount/commandBufferCount/g s/queueFamilyCount/queueFamilyIndexCount/g s/layerCount/enabledLayerNameCount/g s/extensionCount/enabledExtensionNameCount/g https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14892
2015-11-02bug 14857: Adding extensibility to VkSubmitInfo (WIP)Chia-I Wu
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14857
2015-10-30bug 14362: VK_NULL_HANDLE does not work in C (WIP)Chia-I Wu
Drop type safety on 32-bit. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14362
2015-10-27misc: Windows does not like named structure initializationCourtney Goeltzenleuchter
2015-10-26bug-14258: Make descriptor pools and command pools more consistentCourtney Goeltzenleuchter
2015-10-23bug-14786: CmdBufferOptimizeFlags -> CmdBufferUsageFlagsCourtney Goeltzenleuchter
2015-10-23bug-14542: Remove VK_UNSUPPORTED from success return codesCourtney Goeltzenleuchter
2015-10-23WIP bug-14815: VkImageAspectCourtney Goeltzenleuchter
2015-10-23bug-14746: add batched submit for semaphores and command buffersCourtney Goeltzenleuchter
2015-10-23Bug 14621: Change vkGet* functions to not return VkResultCourtney Goeltzenleuchter
2015-10-19Clarify parameter usage in memory_type_from_propertiesTony Barbour
2015-10-08layers: clean up includesCourtney Goeltzenleuchter
2015-09-17bug 14509: Rename Layer and Extension queriesCourtney Goeltzenleuchter
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14509 https://gitlab.khronos.org/vulkan/vulkan/merge_requests/334
2015-09-17layers: Fix several bugs in WSI extension handling in layersJon Ashburn
Layers weren't intercepting the WSI device extensions proerly, or weren't NOT intercepting them if the extension wasn't enabled. Fixes to APIDump, Generic, ScreenShot, MemTracker, ObjectTracker
2015-09-10vulkan.h: Change return types of some functions to voidMark Lobodzinski
Functions that should be thought of as "impossible to fail in the face of valid parameters" have had their return types changed to void. This includes all of the vkDestroy functions, vkFreeMemory, and vkUnmapMemory. vkUpdateDescriptorSets is also included, because of the frequency the function is expected to be called.
2015-09-09layers: Fix ScreenShot layer to handle EnumeratePhysicalDevices query count caseTobin Ehlis
2015-09-04WSI: Convert WSI swapchain extension usage to new KHR styleIan Elliott
2015-09-01windows: Fix a couple signed/unsigned warningsCody Northrop
2015-09-01layers: Modify ScreenShot usage and layout flags to work cross vendorCody Northrop
2015-09-01layers: Port screenshot fixes to masterCody Northrop
Sourced from sdk-0.2 branch commit c98372f1
2015-08-11layers: mem_tracker: Change to new WSI query functions.Ian Elliott
2015-08-06windows: Fix various warningsCody Northrop
Categories include: ASSERT_TRUE(int) changed to ASSERT_TRUE(0 != int) Change uint32_t to DeviceSize Stop adding with bools Add some explicit casting Remove unreferenced variables Add 'f' suffix to float literals Conflicts: tests/vkrenderframework.cpp
2015-07-31Screenshot layer: Works on SDK 0.2 branchDavid Pinedo
2015-07-17layers: INITIAL Changes to use new WSI swapchain extensions.Ian Elliott
There are still some FIXME's that must be addressed, as well as fully supporting the new entrypoints. This patch serves as a basis for review and further work with other Vulkan engineers.
2015-07-17v127: Use PFN_vkVoidFunction for GetProcAddrCourtney Goeltzenleuchter
2015-07-09Layers: They now compile on Windows.David Pinedo
Added missing vk funcs to basic and screenshot Changed several funcs in mem_tracker to return void Loader cmake file was generating .def file on linux, removed it Fixed missing entry points in layers generated via python
2015-07-07ScreenShot: Update extension and layer supportCourtney Goeltzenleuchter
2015-07-07Screenshot: Make this a device layer only, no instance interceptJon Ashburn
2015-07-07loader: Rename loader_platform.h -> vk_loader_platform.hTobin Ehlis
2015-07-07layers: Rename all layer headers to begin with "vk_layer_" prefixTobin Ehlis
2015-07-06update vulkan.h for multi-level command buffers (V121)Chia-I Wu
With minimal changes to keep everything building and functioning.
2015-07-02vulkan.h: V120 -- Tighten spec around VkMemoryRequirementsMark Lobodzinski
Moved the HOST_LOCAL memory property.
2015-06-30Layers: Fix screenshot seg fault, changed accesses to dispatch tblDavid Pinedo
2015-06-29loader: Move CreateDevice to device tableCourtney Goeltzenleuchter
Discovered an issue where a layer was doing cleanup in it's DestroyDevice function but the CreateDevice was never called. This happened because the extension was only enabled on the device chain and the device chain doesn't actually call CreateDevice. That happens on the Instance chain. Making it so that we can call down the device chain - which is terminated by the ICD. We need to know the real device object to construct the device chain heiarchy and when calling down the device chain it should end with the ICD doing the actual device object creation. This patch fixes the issue by using the same process as CreateInstance. The loader will call the ICD's CreateDevice and pass that in the *pDevice argument. The layers then ignore the PhysicalDevice parameter and use the *pDevice to access the device chain. To prevent the ICD from being called twice needed to stub in a special loader_GetDeviceChainProcAddr to provide a stub for only CreateDevice as the end of the chain. integrate review feedback.
2015-06-29layers: Do not advertise support for WSICourtney Goeltzenleuchter
Layers that do not implement WSI features yet can 'trace' WSI calls do not need to advertise WSI as an extension. Any WSI calls made will land in the layer if it hooks those calls. Otherwise should not care about WSI.
2015-06-25vulkan.h: V108 -- Static Types, Bug# 13919Tony Barbour
2015-06-24screenshot: remove unneeded initialization codeCourtney Goeltzenleuchter
The device dispatch is setup in GetDeviceProcAddr, don't need to do it in layer's CreateDevice.
2015-06-24screenshot: Need to wrap more functionsCourtney Goeltzenleuchter
Need to include CreateInstance, DestroyInstance and CreateDevice in screenshot's GetInstanceProcAddr otherwise cannot process setup correctly.
2015-06-24screenshot: Need a DestroyInstanceCourtney Goeltzenleuchter
Need way to clean up resources allocated at CreateInstance.