aboutsummaryrefslogtreecommitdiff
path: root/layers/mem_tracker.cpp
AgeCommit message (Collapse)Author
2015-05-22vulkan.h: V96 -- xglCmdBlitImage filter mode. Bug# 13759.Mark Lobodzinski
2015-05-14tests: Expand layer validation test coverageMark Lobodzinski
Added layer validation tests for several ObjectTracker and MemTracker validation cases. Also improved error handling in object tracker layer to handle validation failures that could cause unrecoverable driver errors.
2015-05-11vulkan.h: V93 -- fine-grained memory binding synchronization. Bug# 13464Mark Lobodzinski
New names and behavior for QueueBind* APIs.
2015-05-08vulkan.h: V94 -- remove vkCmdCloneImageData. Bug #16550.Mark Lobodzinski
2015-05-04bug 13854: Remove memory referencesCourtney Goeltzenleuchter
header: 0.93.0 svn: 30980
2015-05-01bug-13751: Update vkCmdClearColorImage color parameterCourtney Goeltzenleuchter
svn ID: 30918 Change the VkCmdClearColroImage color parameter be a pointer.
2015-04-29layers: Eliminate compiler warnings on Windows.Ian Elliott
This includes suppressing compiler warning C4065, where VS complains if a switch statement has a "default", but not "case" statements. This was true in many functions of the auto-generated "helper" header files. This also includes removing unreferenced local variables, and dealing with some type differences (sometimes with casting, sometimes with changing the type).
2015-04-29mem_tracker: Fix error from fixing MSVC assertsCourtney Goeltzenleuchter
2015-04-29layers: Fix msvc++ iterator issuesDavid Pinedo
2015-04-29mem_tracker: Do not increment iterator after deleteCourtney Goeltzenleuchter
The loop was blindly incrementing the iterator and it should not. In the delete case the loop should resume with the iterator returned by the delete as it's the next element in the list.
2015-04-22layers: Memtracker formatting changes.Mark Lobodzinski
Cleaned up alignment, made function definitions consistent, shortened some line lengths.
2015-04-22misc: Changes to fix warnings in Windows / VC++ buildTony Barbour
2015-04-22vkEnumerateLayers: Update to match upstreamCourtney Goeltzenleuchter
The upstream vulkan.h header removed maxLayerCount parameter from vkEnumerateLayers. This patch implements that change for the sample driver and layers.
2015-04-17update to vulkan.h header version 90, bug 13529Mike Stroyan
2015-04-17switch to VK_WSI_LunarGChia-I Wu
Switch from VK_WSI_X11 to VK_WSI_LunarG v2: - split out glave changes - redo mem_tracker changes - rebase Conflicts: demos/cube.c demos/tri.c v3 (from Ian): - Put "#if 0" around non-upstream members of VkDisplayPropertiesWSI.
2015-04-17tests: Ensure vk_blit_test calls QueueAddMemReferencesMark Lobodzinski
The blit tests were skipping this step resulting in tons of memtracker validation errors.
2015-04-17vulkan: Update vulkan.h for revision 88 -- Bug #13744Cody Northrop
Rename some vkCmdBindDescriptorSets parameters and add a dynamic offset count. v2: Add a check against dynamicOffsetCount before copying dset data.
2015-04-16Bug 13632 Header 84 Add offset and size to VkMapMemoryTony Barbour
2015-04-16vulkan: Remove VkDescriptorSetLayoutChain from vkCmdBindDescriptorSetsChia-I Wu
This is part of r30446 on vulkan.h, discussed in bug 13632. Meaty chunks of this commit done by Olv, basic hook up and testing by Cody.
2015-04-16Bug 13632 Header 84 Assorted questions and comments on vulkan.hTony Barbour
2015-04-16bug 13632: Convert commands to plural formCourtney Goeltzenleuchter
part of multiple commits to implement bug #13632. bug 13632 header version 82 svn version: 30446 This patch converts: vkCmdBindVertexBuffer -> vkCmdBindVertexBuffers vkQueueAddMemReference -> vkQueueAddMemReferences vkQueueRemoveMemReference -> vkQueueRemoveMemReferences
2015-04-16layers: Removing old GetExtensionSupport API callTobin Ehlis
2015-04-16vulkan: Updated vulkan.h for revision 79 -- Bug #13464Mark Lobodzinski
Implemented the changes required for adding fine-grained synchronization to vkBindMemoryObject and related APIs.
2015-04-16vulkan.h: Rename parameters in vkCmdResolveImage callsTony Barbour
2015-04-16layers: indirect GPA in dispatch tableMike Stroyan
layer_initialize_dispatch_table was using gpa pointer without lookup. That could put the loader GPA function in for the lowest dispatch table instead of the icd GPA function. Use the same return from GPA call for GPA itself. There was code fixing up GPA dispatch in draw_state.cpp and mem_tracker.cpp. Remove that now that layer_initialize_dispatch_table does the right thing.
2015-04-16layers: memtracker - waiting on only some fencesMike Stroyan
Record correctly when only some fences of a queue are waited for.
2015-04-16layers: Check for NULL ptrs while iterating over fenceMapTobin Ehlis
2015-04-16mem_tracker: Check for fence before retiringCourtney Goeltzenleuchter
2015-04-16layers: MemTracker error message fixesMark Lobodzinski
Missed a couple of error message renaming changes necessary for layer validation tests.
2015-04-16layers: Add extension Validation so loader will add layers with ValidationJon Ashburn
Also fix extension supported list in DrawState and ObjectTracker to include their local extensions in GetGlobalExtensionInfo()
2015-04-16layers: Layers now compiling on rename branch, still need to test but cube ↵Tobin Ehlis
is currenting hitting segF by itself
2015-04-16layers: Added in fence state validation to MemTrackerMark Lobodzinski
Validation checks for SIGNALED/UNSIGNALED fences in appropriate locations.
2015-04-16vulkan: Add vkGetGlobalExtensionInfo entrypointJon Ashburn
have loader use it to enumerate all extensions from layers and drivers. Non-gode_gen layers also updated to include vkGetGlobalExtensionInfo Includes verion info as part of GetExtensionSupport return data. TODO: vk-layer-generate needs work v2: do not check for non-existing ENABLE_WSI_X11 (olv)
2015-04-16vulkan: Avoid use of reserved underscore-uppercase sequenceCourtney Goeltzenleuchter
- use typedef {enum,struct} VkFoo_ instead of _VkFoo - MAX_ENUM uses the typedefed name instead of the tag name (otherwise it would have double underscore which is also reserved) git-svn-id: https://cvs.khronos.org/svn/repos/oglc/trunk/nextgen/vulkan@30132 e7fa87d3-cd2b-0410-9028-fcbf551c1848
2015-04-16vulkan: Naming beautificationCourtney Goeltzenleuchter
- remove "Object" from the name of VkDynamic*State objects. (no other leaf classes have "Object" in the name). - fix some minor spacing issues git-svn-id: https://cvs.khronos.org/svn/repos/oglc/trunk/nextgen/XGL@30120 e7fa87d3-cd2b-0410-9028-fcbf551c1848
2015-04-16layers: Remove wrapping of GPU objects by loader and layersJon Ashburn
Loader only wraps GPU objects for creating a layer chain. After layer activation layers and loader use unwrapped gpu object returned by the driver. This is a large simplification. This fixes a nasty bug where layers intercepting entrypoints with gpu objects but not all these entrypoints would fail. These would cause non-uniform unwrapping of gpu objects by the time the driver was called with a gpu object. Fixes issue in loader_get_icd where it was trying to compare a wrapped GPU against a non-wrapped GPU.
2015-04-16loader: refactor layer activation function to handle more general inputsJon Ashburn
Renamed structure types as well. TODO: verify vk-layer-generate.py v2: fix LoaderEntrypointsSubcommand (olv)
2015-04-16vulkan: beautification changesCourtney Goeltzenleuchter
TODO: verify vk-layer-generate.py TODO: need to rename object tracker generator v2: fix "python3 vulkan.py" fix dead cod in tri introduced by rebase beautify wsi_null.c (olv)
2015-04-16vulkan: API renamingCourtney Goeltzenleuchter
VK_DEVICE_QUEUE_CREATE_INFO => VkDeviceQueueCreateInfo VK_DEVICE_CREATE_INFO => VkDeviceCreateInfo VK_INSTANCE_CREATE_INFO => VkInstanceCreateInfo VK_LAYER_CREATE_INFO => VkLayerCreateInfo VK_MEMORY_ALLOC_INFO => VkMemoryAllocInfo VK_MEMORY_ALLOC_IMAGE_INFO => VkMemoryAllocImageInfo VK_MEMORY_ALLOC_BUFFER_INFO => VkMemoryAllocBufferInfo VK_BUFFER_CREATE_INFO => VkBufferCreateInfo VK_BUFFER_VIEW_CREATE_INFO => VkBufferViewCreateInfo
2015-04-16Stage 1 of renameCourtney Goeltzenleuchter
TODO: re-enable glave build, advance API for glave v2: get rid of outdated code in tri introduced by rebase rename wsi_null.c (olv)
2015-04-16layers: Update GetExtensionSupport() to handle queries for layer nameJon Ashburn
Layers now support loader querying their layer name via GetExtensionSupport in addition to EnumerateLayers. Also fixed bugs in ObjectTracker and DrawState to add the extensions they support in the GetExtensionSupport queries. Conflicts: xgl-layer-generate.py
2015-04-16Updated header file to version 67 (xglResetFences)Mark Lobodzinski
Added changes to fence semantics for this revision. tests: Create contructor with no args intel: Added Tony's patch for ResetFences support in the ICD. v2: reset fence in intel_fence_seq_seqno(). We need the reset to make xglQueueWaitIdle() work (olv) layers: Added ResetFences support to MemTracker Add new entrypoint and fence semantics for fence status flags. layers: Completed changed fence semantics for MemTracker Completed the changes for xgl header revision 67, adding resetFences. layers: Changes to support xglResetFences v2: squashed into one commit (olv)
2015-04-16layers: Incorporated memory reference handling into MemTrackerMark Lobodzinski
API was changed for handling memory references, updated memtracker layer to correctly track and validate memory references.
2015-04-16layers: Fixes to get them building and working with descriptor changesMark Lobodzinski
2015-04-16layers: Updated for explicit fence validation with multiple queuesCourtney Goeltzenleuchter
Fences were being validated to make sure they had been retired, layer was updated to validate that the app has checked the fences.
2015-04-16layers: Added support for multiple queuesMark Lobodzinski
Not supported on Intel, but will be on other hw.
2015-04-16layers: Added GetDeviceQueue API, fixed up variable namesMark Lobodzinski
Updated LinkedList-related variable names Conflicts: layers/mem_tracker.cpp
2015-04-16xgl: Enable new mem ref functionsCourtney Goeltzenleuchter
v2: remove a stale comment in the sample driver (olv)
2015-04-16xgl: Remove QueueSetGlobalMemReferencesCourtney Goeltzenleuchter
2015-04-16xgl: Add QueueMemReference functionsCourtney Goeltzenleuchter