aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-25glave: move code-gen'ed files.Peter Lohrmann
* glave-generate.py has moved into tools/glave/scripts/ and renamed to vk-generate.py * all code-gen'ed files now live in the source tree * all code-gen'ed files are now generated into a "codegen" directory local to the project to make it easier to spot when a generated file has changed or is being debugged. * all code-gen'ed files are now being checked in so that we can better track differences caused by the code-gen as the header file evolves.
2015-03-25GlaveSnapshot layer: remove code specific to validationPeter Lohrmann
2015-03-25layers: Migrated DrawState layer to cppTobin Ehlis
Move almost all linked-lists to unordered_maps and vectors. Clean up malloc/free with new/delete. Skip write-strings compile warnings for graphviz_helper. Still need to migrate the DS update tree to c++.
2015-03-25layers: Rename synchDS function to validateVBBindingTobin Ehlis
2015-03-25layers: Convert memtracker to cppMark Lobodzinski
Take advantage of containers, memory allocation, and strings.
2015-03-25GlaveSnapshot layer: Snapshot information is now passed to the message callback.Peter Lohrmann
* This way it can be passed to the UI. * Comment out other XGL_DBG_MSG_UNKNOWN messages so there isn't as much info spew.
2015-03-24glvreplay_xgl: use the GlaveSnapshot layer to print tracked objects.Peter Lohrmann
* Currently this is called as part of dump_validation_data(), which is called when the replayer is paused.
2015-03-24GlaveSnapshot layer: Rename enums and entrypoints to make them layer ↵Peter Lohrmann
specific; add an entrypoint to print the object lists. * glvSnapshotPrintObjects() is now exported and causes the tracked objects to get printed out (currently to the console). ** This will be used to help debug the contents of the snapshot as this layer is being developed.
2015-03-24GlaveSnapshot Layer: XGL_OBJECT_TYPE_PRESENTABLE_IMABE_MEMORY enum can now ↵Peter Lohrmann
be converted to a string.
2015-03-24GlaveSnapshot Layer: Use correct header file.Peter Lohrmann
2015-03-24GlaveSnapshot Layer: Initial code which is basically a copy of the ↵Peter Lohrmann
ObjectTracker layer. * Using the ObjectTracker since it already keeps track of the objects being created and destroyed. This is a huge benefit to have as a starting point for the snapshots! * I've made a few minor changes to ensure the layer gets enabled and the output messages are using a different tag so they can be distinguished from the ObjectTracker. * Added the new layer to CMakeLists.
2015-03-24demos: Use lower left coord origin for cubeMike Stroyan
The intel driver currently does only XGL_COORDINATE_ORIGIN_LOWER_LEFT. Use it for now.
2015-03-24demos: Make cube use back face culling.Mike Stroyan
Use back face culling to confirm that the sense is correct.
2015-03-23Note how to pin xserver-xorg-video-intelMike Stroyan
Prevent updates from overwriting xserver-xorg-video-intel and breaking DRI3.
2015-03-18BUILD.md: Update Windows instructions for correct registry and python3.3Jon Ashburn
2015-03-18win: Make build able to find python3 on Windows and LinuxJon Ashburn
Use the py launcher on Windows which understands she bangs
2015-03-18SPIR-V: Change BIL to SPV in all source filesCody Northrop
2015-03-18icd: Rename icd-bil.h to icd-spv.hCody Northrop
2015-03-18fix cube demo for .spv filenamesSteve K
2015-03-17Revert "misc: Explicitly run python for generated code"Jon Ashburn
This reverts commit 10e987d610d43b37556df9b12349f9ffc8cb30c4.
2015-03-17misc: Explicitly run python for generated codeJon Ashburn
On windows if multiple python versions installed, then command line args for python scripts fail. This works around python issue
2015-03-17layers: Added fence tracking for command buffer completionMark Lobodzinski
Cleaned up MemTracker fence tracking for command buffer completions, fixed several issues with local fences.
2015-03-16layers: Reduce unmeaningful error messages for memtrackerMark Lobodzinski
It is a common case for a command buffer not to have a fence associated with it -- no reason to call these cases out as errors.
2015-03-16layers: MemTracker add check to verify CB complete prior to ResetTobin Ehlis
If CB fence has not completed on call to Begin or Reset CB, flag validation error. Various improvements to make sure the CB fence is getting reset as appropriate if the fence completes or is destroyed.
2015-03-16layers: Update DrawState to use generated struct size functionsTobin Ehlis
Update struct size codegen to handle callback void* case and ppMemBarriers void** cases conservatively for now.
2015-03-16glave: Use generated code to get pAppInfo struct sizeTobin Ehlis
2015-03-13glave: Update more trace custom code to use generated struct sizing code insteadTobin Ehlis
2015-03-13glave: Add codgen helper for struct size calculation and use for trace ↵Tobin Ehlis
packet creation
2015-03-11glave: Codegen cleanup for tracing code to add/finalize ptrs in packetTobin Ehlis
2015-03-11glave: Simplify codegen for trace packet sizingTobin Ehlis
2015-03-10glave-generate: Replace asserts with proper error detection and error logging.Peter Lohrmann
* On Linux debug builds, the asserts cause the debugger to abort, but the code wasn't handling the error case safely anyway, so even a release build would likely crash. * These situations were being hit if trying to load a trace file from an earlier header version, but are likely to be conditions we'll see when new developers start to use the API. * With these changes, the error is properly reported and error return values propogated so that the UI detects the invalid file and reports an error to the user. * The new glv_LogError(..) messages get printed to the console, but are not yet passed to the UI. This will be done as part of a larger change sometime in the future.
2015-03-09glave: Fix createRenderpass replay restore of remapped FBJon Ashburn
2015-03-06Win/C11: Use _align_malloc() on Windows, align_alloc() elsewhere.Ian Elliott
2015-03-06layers: Improve PresentableImage memory handling in mem/objecttrackerMark Lobodzinski
Add handling to eliminate meaningless error reporting for the xglWsiX11CreatePresentableImage memory resources.
2015-03-06Win: Fix warnings for parameter of getLayerOptionEnum()Ian Elliott
2015-03-06Win: Fix a compiler warning in "icd/common"Ian Elliott
2015-03-06Update xgl_helper to handle all of the dynamic arraysTobin Ehlis
2015-03-06glave: Remove unnecessary dot dump.Jeremy Hayes
2015-03-06Win/glvdebug: Update the BUILD.md dependencies.Ian Elliott
Update the BUILD.md dependencies in order to build Glave debugger/GUI on Windows.
2015-03-05nulldrv: build it on LinuxChia-I Wu
It compiles!
2015-03-05nulldrv: fix gcc errors/warningsChia-I Wu
The only functional change should be that _aligned_malloc() is replaced by malloc(). It does not seem to matter.
2015-03-05icd: remove stale function declarationsChia-I Wu
Remove declarations of icdDbgRegisterMsgCallback() icdDbgUnregisterMsgCallback() icdDbgSetGlobalOption()
2015-03-05icd: remove unused icd-alloc.[ch]Chia-I Wu
2015-03-05nulldrv: remove icd-alloc.h dependencyChia-I Wu
2015-03-05icd: add support for per-instance DRM enumerationChia-I Wu
Add icd_instance to DRM enumeration functions, and use it for memory allocation or logging.
2015-03-05icd: add generic icd_instanceChia-I Wu
It provides memory allocation and logging support.
2015-03-05Win: Fix compilation errors.Ian Elliott
2015-03-04layers: Fix Windows build issueCourtney Goeltzenleuchter
2015-03-04object-tracker: Do not track GPU objectCourtney Goeltzenleuchter
The GPU object is not something that is created by the app and thus object tracker layer does not have to track it.
2015-03-04layers: allocate enough space for pointer sprintfMike Stroyan