Norbert Nopper [Thu, 22 Jan 2015 19:52:34 +0000 (20:52 +0100)]
Update BUILD.md
Norbert Nopper [Thu, 22 Jan 2015 19:47:49 +0000 (20:47 +0100)]
Update BUILD.md
Norbert Nopper [Thu, 22 Jan 2015 19:43:36 +0000 (20:43 +0100)]
Update BUILD.md
Jon Ashburn [Fri, 19 Dec 2014 00:00:52 +0000 (17:00 -0700)]
loader: Make sure msg callbacks get registered if added before initAndEnumGpu
Fix bug where xglDbgRegisterMsgCallback wasn't working if called prior to
xglInitAndEnumerateGpus.
Jon Ashburn [Fri, 19 Dec 2014 00:26:52 +0000 (17:26 -0700)]
layers: Format improvements on README
Jens Owen [Thu, 18 Dec 2014 21:36:31 +0000 (14:36 -0700)]
Update README.md
Updated introduction to reference upcoming work around alpha header and GDC demos
JensOwen [Thu, 18 Dec 2014 14:54:48 +0000 (07:54 -0700)]
Add Images
Glave Screenshots
Jens Owen [Thu, 18 Dec 2014 14:08:39 +0000 (07:08 -0700)]
Update README.md
start to push detailed descriptions down a level...
JensOwen [Wed, 17 Dec 2014 23:36:29 +0000 (16:36 -0700)]
Added images subdirectory to docs
Jens Owen [Wed, 17 Dec 2014 21:18:22 +0000 (14:18 -0700)]
Update README.md
more testing of image support in markdown
Jens Owen [Wed, 17 Dec 2014 19:53:56 +0000 (12:53 -0700)]
Update README.md
Testing screenshots
Jon Ashburn [Wed, 17 Dec 2014 19:08:37 +0000 (12:08 -0700)]
layers: Fix compiler error in generic_layer
Tobin Ehlis [Wed, 17 Dec 2014 14:20:23 +0000 (07:20 -0700)]
layers: Added generated enum_validate_helper.h to check enum values
Conflicts:
xgl-helper.py
Tobin Ehlis [Wed, 17 Dec 2014 15:01:59 +0000 (08:01 -0700)]
layers: Added Dbg Callback support to Generic layer
Jon Ashburn [Wed, 17 Dec 2014 01:37:04 +0000 (18:37 -0700)]
glave: Add XGL version as trace packet and check version match on replay
Use the file version in xgl.h to ensure the trace file version matches
the version of xgl.h the replayer/debugger is built with. If not display error.
Tobin Ehlis [Tue, 16 Dec 2014 01:14:12 +0000 (18:14 -0700)]
glave: Split glave codegen into glave-generate.py
Removed glave codegen code from xgl-layer-generate.py and moved it to glave-generate.py. This is a stop-gap for now and eventually we should reorg code and move glave codegen under glave directory.
Conflicts:
xgl-layer-generate.py
Jon Ashburn [Fri, 12 Dec 2014 23:10:45 +0000 (16:10 -0700)]
glave: Add API call parameters with values to UI
Conflicts:
xgl-layer-generate.py
Tobin Ehlis [Thu, 11 Dec 2014 23:51:36 +0000 (16:51 -0700)]
glave: Skip Dbg Callback register/unregister calls on replay.
Tobin Ehlis [Wed, 10 Dec 2014 17:46:53 +0000 (10:46 -0700)]
glave: Glave replay glvreplay_xgl_replay.cpp file codegen.
Conflicts:
tools/glave/src/glv_extensions/glvreplay_xgl/glvreplay_xgl_replay.cpp
Tobin Ehlis [Tue, 9 Dec 2014 23:36:55 +0000 (16:36 -0700)]
glave: Codegen for glave replay glvreplay_xgl_replay.h file
Jens Owen [Wed, 17 Dec 2014 19:21:12 +0000 (12:21 -0700)]
Update README.md
Switch to using relative links within the project. This enables switching from one branch to another, and across repos without requiring changes to the Readme content.
Jens Owen [Wed, 17 Dec 2014 19:03:04 +0000 (12:03 -0700)]
Update README.md
Fixed grammatical issues in introduction.
Jens Owen [Wed, 17 Dec 2014 18:58:21 +0000 (11:58 -0700)]
Update README.md
Added Khronos description of layered architecture. Added link to Glave README. Bumped version number.
Chia-I Wu [Tue, 16 Dec 2014 02:57:50 +0000 (10:57 +0800)]
layers: do not override CMAKE_C_FLAGS
We are warning free now using the project's CMAKE_C_FLAGS.
Chia-I Wu [Tue, 16 Dec 2014 02:47:33 +0000 (10:47 +0800)]
layers: fix -Wpointer-sign warnings
Chia-I Wu [Mon, 15 Dec 2014 16:36:58 +0000 (00:36 +0800)]
layers: fix -Wunused-variable warnings
Chia-I Wu [Tue, 16 Dec 2014 03:02:06 +0000 (11:02 +0800)]
layers: fix -Wunused-function warnings
Chia-I Wu [Mon, 15 Dec 2014 16:43:20 +0000 (00:43 +0800)]
layers: fix -Wswitch warnings
Tobin Ehlis [Wed, 17 Dec 2014 00:34:50 +0000 (17:34 -0700)]
layers: DrawState layer can now dump png image of dot graph
Chia-I Wu [Mon, 15 Dec 2014 16:07:11 +0000 (00:07 +0800)]
cmake: add -Wall, -Wextra, and others to CMAKE_CXX_FLAGS
Make CMAKE_C_FLAGS and CMAKE_CXX_FLAGS share some flags. Specifically, -Wall
and -Wextra are now specified in CMAKE_CXX_FLAGS.
Courtney Goeltzenleuchter [Fri, 12 Dec 2014 23:40:04 +0000 (16:40 -0700)]
misc: Update external source versions
Courtney Goeltzenleuchter [Thu, 11 Dec 2014 23:41:43 +0000 (16:41 -0700)]
xgl: note about glave tool in README
Jon Ashburn [Thu, 11 Dec 2014 01:02:42 +0000 (18:02 -0700)]
glave: debugger fill in XGL entrypoint name instead of packetId in UI
Jon Ashburn [Wed, 10 Dec 2014 18:11:24 +0000 (11:11 -0700)]
glave: Add pReserved parameter to tracing code gen EnumerateLayers
Tobin Ehlis [Wed, 10 Dec 2014 17:54:57 +0000 (10:54 -0700)]
glave: Just copy pReserved ptr when tracing.
Jon Ashburn [Wed, 10 Dec 2014 17:24:56 +0000 (10:24 -0700)]
glave: Fix trace code gen for xglEnumerateLayers
Tobin Ehlis [Tue, 9 Dec 2014 14:50:34 +0000 (07:50 -0700)]
glave: Made Wsi & Dbg structs code-generated. All glave trace files now code-generated.
Tobin Ehlis [Tue, 9 Dec 2014 03:19:47 +0000 (20:19 -0700)]
glave: Added codegen for Wsi and Dbg .h & .c source files
Tobin Ehlis [Mon, 8 Dec 2014 19:34:34 +0000 (12:34 -0700)]
glave: Added codegen for glvtrace_xgl_xgl_structs.h
Tobin Ehlis [Fri, 5 Dec 2014 19:13:07 +0000 (12:13 -0700)]
glave: Update replay to use code-gen version of xgl_enum_string_helper.h
Tobin Ehlis [Fri, 5 Dec 2014 18:38:22 +0000 (11:38 -0700)]
glave: Codegen of packet_id header
Tobin Ehlis [Mon, 1 Dec 2014 19:53:53 +0000 (12:53 -0700)]
layers: Added codegen for glave glvtrace_xgl_xgl Header and C files
Jon Ashburn [Fri, 14 Nov 2014 21:00:22 +0000 (14:00 -0700)]
Build Glave from top level Cmake for Xgl.
Also have glave build use the xgl header files and libXGL.so from the
top level xgl files rather than glave/src/thirdparty/xgl.
Courtney Goeltzenleuchter [Tue, 9 Dec 2014 16:33:18 +0000 (09:33 -0700)]
xgl: Update README to summarize recent changes
Cody Northrop [Wed, 10 Dec 2014 23:59:32 +0000 (16:59 -0700)]
demos: Start using XGL_SLOT_SHADER_TEXTURE_RESOURCE
Cody Northrop [Wed, 10 Dec 2014 02:08:33 +0000 (19:08 -0700)]
xgl: Add new resource type for textures
This change modifies xgl.h to include a new descriptor set
slot type for textures, distinct from resources:
XGL_SLOT_SHADER_TEXTURE_RESOURCE
Buffers continue to use:
XGL_SLOT_SHADER_RESOURCE
The ordering of their inclusion in binding tables entries is
important: textures must come before buffers. This is how
the compiler expects them to be laid out.
Tobin Ehlis [Wed, 10 Dec 2014 00:00:33 +0000 (17:00 -0700)]
layers: Don't show totally unused DS slots or arrows for slots unused by a particular shader
Courtney Goeltzenleuchter [Mon, 8 Dec 2014 16:24:16 +0000 (09:24 -0700)]
BIL: Updated to latest BIL spec / functionality
The BIL specification rationalized/added these, with full semantics
OpTextureQuerySizeLod,
OpTextureQuerySize,
OpTextureQueryLod,
OpTextureQueryLevels, and
OpTextureQuerySamples.
Courtney Goeltzenleuchter [Mon, 1 Dec 2014 16:31:17 +0000 (09:31 -0700)]
layers: Eliminate statically allocated strings
See suspicious crashes when debug layers are enabled.
Believe this is due to memory overruns with fixed size
string allocations. This patch makes most of the allocations
compute the space needed to eliminate overruns and show
as much of the debug info as possible.
Also uses strncpy and strncat to ensure strings stay within
the limits of the buffer.
Jon Ashburn [Wed, 3 Dec 2014 21:30:48 +0000 (14:30 -0700)]
loader: handle inserting dispatch table pointer into all created objects
Remove the setDispatch calls into cid driver. Replace with inserting the
current dispatch table into created objects. Requires icd driver to
still have a slot for the dispatch table pointer in first location of
every created object.
Jon Ashburn [Wed, 3 Dec 2014 18:33:51 +0000 (11:33 -0700)]
icd: Fix bug in generated Icd generated entrypoints don't unwrap gpu object
Generated code for icd API entrypoints with XGL_PHYSICAL_GPU was unwrapping
the handle; but with no loader present gpu objects are never wrapped. Allows
one to LD_PRELOAD libXGL_i965.so and the tests work.
Jon Ashburn [Wed, 3 Dec 2014 18:13:40 +0000 (11:13 -0700)]
icd: Make driver use the same definition for dispatch table as loader uses
Loader and icd were using two different structs to define dispatch table.
Consolidate to to use the dispatch table defined in xglLayer.h so we
will not have issues with them getting out of sync.
Courtney Goeltzenleuchter [Tue, 2 Dec 2014 18:54:27 +0000 (11:54 -0700)]
misc: Add update summary to README.md
Chia-I Wu [Tue, 2 Dec 2014 14:08:35 +0000 (22:08 +0800)]
tests: move xglinfo to demos
Courtney Goeltzenleuchter [Wed, 3 Dec 2014 01:12:51 +0000 (18:12 -0700)]
loader: Fix missing terminator on string
strncpy does not copy the terminating null character
so were getting invalid directory names. Since we know
there is enough space for the string, just copy it and
get the terminator as well.
Courtney Goeltzenleuchter [Mon, 1 Dec 2014 16:29:42 +0000 (09:29 -0700)]
loader: Make LIBXGL_LAYERS_PATH behave like LIBXGL_DRIVERS_PATH
Courtney Goeltzenleuchter [Tue, 2 Dec 2014 16:05:18 +0000 (09:05 -0700)]
xgl: Update BIL/LunarGLASS/glslang versions
GregF [Wed, 19 Nov 2014 01:01:01 +0000 (18:01 -0700)]
Handle gaps in FS inputs.
Added logic to handle when user varyings are written by the VS but not read by the FS.
Also moved SBE command building from draw-time to pipeline-create.
Jon Ashburn [Tue, 2 Dec 2014 20:03:09 +0000 (13:03 -0700)]
loader: xglEnumerateLayers() returns layer names rather than library names
Loader's xglEnumerateLayers calls into each layer library to get their
layer names from the library.
Jon Ashburn [Tue, 2 Dec 2014 16:03:31 +0000 (09:03 -0700)]
include: Remove API typedefs from xglLayer.h
Jon Ashburn [Tue, 2 Dec 2014 15:59:56 +0000 (08:59 -0700)]
include: Move API typedefs from xglLayer.h into xgl.h, xglDbg.h, xglWsi
Jon Ashburn [Mon, 1 Dec 2014 21:22:40 +0000 (14:22 -0700)]
layers: Add Multi layer with example of multiple layers per file.
Tobin Ehlis [Thu, 27 Nov 2014 22:43:39 +0000 (15:43 -0700)]
layers: DrawState layer can dump complete State to Graphviz dot file format
DrawState features "drawStateDumpDotFile(char* filename)" extension which will trigger a dot file to be dumped including PSO, Descriptor Sets, and Dynamic State.
As a convenience, DrawState will dump pipeline_dump.dot automatically on first draw only. There are a few hacks to pull off the connection of Descriptor Set to the mapping, but for all of our tests this seems to be working.
Also fixed a few DrawState hangs due to mutex locking bugs.
Tobin Ehlis [Fri, 21 Nov 2014 19:04:39 +0000 (12:04 -0700)]
layers: Added mutext to DrawState to guard global linked-lists.
Tobin Ehlis [Fri, 21 Nov 2014 15:58:46 +0000 (08:58 -0700)]
layers: Tracking and reporting dynamic state in DrawState layer
Courtney Goeltzenleuchter [Mon, 10 Nov 2014 18:13:13 +0000 (11:13 -0700)]
demo cube: Clean up event processing
Will now really wait for an event when paused.
Always update and render after checking for events
Courtney Goeltzenleuchter [Tue, 18 Nov 2014 18:28:09 +0000 (11:28 -0700)]
demo/cube: Remove unneeded call
Tobin Ehlis [Thu, 27 Nov 2014 14:53:59 +0000 (07:53 -0700)]
demos: Update tri to include mem refs and properly clear mem bindings prior to object deletion.
Tobin Ehlis [Thu, 27 Nov 2014 14:52:04 +0000 (07:52 -0700)]
layers: MemTracker clears CB refs if CB obj destroyed and correctly destroys Wsi created images along w/ freeing their memory.
Tobin Ehlis [Thu, 27 Nov 2014 14:01:51 +0000 (07:01 -0700)]
layers: Updated README with further layer descriptions.
Jon Ashburn [Wed, 26 Nov 2014 20:27:04 +0000 (13:27 -0700)]
layers: Update README.md for overall documentation and Basic layer
Jon Ashburn [Wed, 26 Nov 2014 18:10:26 +0000 (11:10 -0700)]
layers: Upgrade Basic to support multi-gpu multi-dispatch table
Remove C file and use a C++ for access to STL maps for hash map into
the dispatch tables from the object handles.
Tobin Ehlis [Wed, 26 Nov 2014 01:01:12 +0000 (18:01 -0700)]
layers: Report memory leaks as warnings in MemTracker layer.
Tobin Ehlis [Wed, 26 Nov 2014 00:43:26 +0000 (17:43 -0700)]
layers: Added APIDumpNoAddr layer that replaces variable addresses in API Dump w/ static "addr" string
Tobin Ehlis [Tue, 25 Nov 2014 23:59:27 +0000 (16:59 -0700)]
layers: Updated layer names to be camelCase where name is contained in library file name as libXGLLayer<NAME>.so
Tobin Ehlis [Tue, 25 Nov 2014 21:47:20 +0000 (14:47 -0700)]
layers: Fix bug in CmdBuffer free for MemTracker layer
Jon Ashburn [Tue, 25 Nov 2014 19:56:49 +0000 (12:56 -0700)]
Add reserved parameter to xglEnumerateLayers for layer usage
This parameter can be used by layer for getting GPA and gpu info queries.
Also add xglEnumerateLayers() to Basic layer, to show example of only
supporting a particular GPU.
Tobin Ehlis [Tue, 25 Nov 2014 19:27:38 +0000 (12:27 -0700)]
layers: Fix bug in DestroyObject code of MemTracker layer.
Jon Ashburn [Tue, 25 Nov 2014 18:08:42 +0000 (11:08 -0700)]
layers: Update xglEnumerateLayers() to work with layer names
Use layer names in the librarires rather than library filenames.
Jon Ashburn [Tue, 18 Nov 2014 16:06:04 +0000 (09:06 -0700)]
loader: Make layer names be independent of layer library filename
Also change env var from LIBXGL_LAYER_LIBS to LIBXGL_LAYER_NAMES
since the layer name rather than library name is given.
Jon Ashburn [Mon, 17 Nov 2014 17:17:37 +0000 (10:17 -0700)]
loader: Change ActivateLayers name to be consistent with rest of loader
Tobin Ehlis [Tue, 25 Nov 2014 17:24:15 +0000 (10:24 -0700)]
layers: Add VBO validation to DrawState layer.
Tobin Ehlis [Tue, 25 Nov 2014 00:09:09 +0000 (17:09 -0700)]
layers: Account for the slotOffset when DS bound.
Tobin Ehlis [Mon, 24 Nov 2014 23:06:04 +0000 (16:06 -0700)]
layers: Flag ERROR on no DS bound if that DS is used by a shader.
Courtney Goeltzenleuchter [Tue, 25 Nov 2014 00:36:02 +0000 (17:36 -0700)]
xgl: Update to current BIL/glslang/LunarGLASS
Tobin Ehlis [Mon, 24 Nov 2014 22:46:55 +0000 (15:46 -0700)]
layers: Add thread ID to API dump messages
Initial code from Jon and I added indexing so TID stays in 0-512 range and will be the same on consecutive runs with a single thread.
Jon Ashburn [Fri, 21 Nov 2014 20:29:30 +0000 (13:29 -0700)]
demos: Fix uninitialized dataSize input to GetObjectInfo()
Tobin Ehlis [Fri, 21 Nov 2014 16:35:53 +0000 (09:35 -0700)]
layers: For APIFileDump, overwrite an existing file rather than always appending.
Tobin Ehlis [Thu, 20 Nov 2014 19:18:45 +0000 (12:18 -0700)]
layers: Added mutex for APIDump[File] layers to guard prints.
Tobin Ehlis [Thu, 20 Nov 2014 17:48:56 +0000 (10:48 -0700)]
layers: Added Sampler details slot printout
Tobin Ehlis [Thu, 20 Nov 2014 16:49:17 +0000 (09:49 -0700)]
layers: Update DrawState to support all Gfx shader types and to shadow full Gfx Pipeline state
Tobin Ehlis [Thu, 20 Nov 2014 13:38:50 +0000 (06:38 -0700)]
layers: Struct printing improvements for "pNext" struct chains
Chia-I Wu [Wed, 19 Nov 2014 15:05:04 +0000 (23:05 +0800)]
build: fix in-tree build
When building in-tree, layers/object_track.h may be removed because it was
also listed as a generated file. This commit stops generating object_track.h
or any file in the source tree. Instead, it adds ${CMAKE_CURRENT_SOURCE_DIR}
and ${CMAKE_CURRENT_BINARY_DIR} to the include directories.
Chia-I Wu [Wed, 19 Nov 2014 14:55:33 +0000 (22:55 +0800)]
build: do not pollute source tree with icd-dispatch-table.h
Generate icd-dispatch-table.h in the binary directory and add the diretory to
ICD_INCLUDE_DIRS.
Chia-I Wu [Wed, 19 Nov 2014 14:45:51 +0000 (22:45 +0800)]
build: remove icd-dispatch-table.h generation from loader
It was added by
d43f9b6658a3cc2115fd9db118f6fd51acf09379 but it did not seem
to be needed.
Tobin Ehlis [Wed, 19 Nov 2014 23:19:28 +0000 (16:19 -0700)]
layers: Update MemTracker to support dbg Callbacks and a few bug fixes
MemTracker now handles creation of Image and Mem binding done by xglWsiX11CreatePresentableImage() call, and it also correctly clears a previous mem binding on object if one existed.
Tobin Ehlis [Wed, 19 Nov 2014 22:52:46 +0000 (15:52 -0700)]
layers: Fix API Dump to handle xglWsiX11CreatePresentableImage() which has 2 output params.
Tobin Ehlis [Tue, 18 Nov 2014 23:38:08 +0000 (16:38 -0700)]
layers: Updated DrawState to support dbg callbacks
Courtney Goeltzenleuchter [Tue, 18 Nov 2014 20:26:22 +0000 (13:26 -0700)]
xgl: Ignore generated header files
Courtney Goeltzenleuchter [Tue, 18 Nov 2014 19:08:29 +0000 (12:08 -0700)]
xgl: Update external revisions