platform/upstream/Vulkan-Tools.git
9 years agoUpdate README.md
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.

9 years agoUpdate README.md
Jens Owen [Wed, 17 Dec 2014 19:03:04 +0000 (12:03 -0700)]
Update README.md

Fixed grammatical issues in introduction.

9 years agoUpdate README.md
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.

9 years agolayers: do not override CMAKE_C_FLAGS
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.

9 years agolayers: fix -Wpointer-sign warnings
Chia-I Wu [Tue, 16 Dec 2014 02:47:33 +0000 (10:47 +0800)]
layers: fix -Wpointer-sign warnings

9 years agolayers: fix -Wunused-variable warnings
Chia-I Wu [Mon, 15 Dec 2014 16:36:58 +0000 (00:36 +0800)]
layers: fix -Wunused-variable warnings

9 years agolayers: fix -Wunused-function warnings
Chia-I Wu [Tue, 16 Dec 2014 03:02:06 +0000 (11:02 +0800)]
layers: fix -Wunused-function warnings

9 years agolayers: fix -Wswitch warnings
Chia-I Wu [Mon, 15 Dec 2014 16:43:20 +0000 (00:43 +0800)]
layers: fix -Wswitch warnings

9 years agolayers: DrawState layer can now dump png image of dot graph
Tobin Ehlis [Wed, 17 Dec 2014 00:34:50 +0000 (17:34 -0700)]
layers: DrawState layer can now dump png image of dot graph

9 years agocmake: add -Wall, -Wextra, and others to CMAKE_CXX_FLAGS
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.

9 years agomisc: Update external source versions
Courtney Goeltzenleuchter [Fri, 12 Dec 2014 23:40:04 +0000 (16:40 -0700)]
misc: Update external source versions

9 years agoxgl: note about glave tool in README
Courtney Goeltzenleuchter [Thu, 11 Dec 2014 23:41:43 +0000 (16:41 -0700)]
xgl: note about glave tool in README

9 years agoglave: debugger fill in XGL entrypoint name instead of packetId in UI
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

9 years agoglave: Add pReserved parameter to tracing code gen EnumerateLayers
Jon Ashburn [Wed, 10 Dec 2014 18:11:24 +0000 (11:11 -0700)]
glave: Add pReserved parameter to tracing code gen EnumerateLayers

9 years agoglave: Just copy pReserved ptr when tracing.
Tobin Ehlis [Wed, 10 Dec 2014 17:54:57 +0000 (10:54 -0700)]
glave: Just copy pReserved ptr when tracing.

9 years agoglave: Fix trace code gen for xglEnumerateLayers
Jon Ashburn [Wed, 10 Dec 2014 17:24:56 +0000 (10:24 -0700)]
glave: Fix trace code gen for xglEnumerateLayers

9 years agoglave: Made Wsi & Dbg structs code-generated. All glave trace files now code-generated.
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.

9 years agoglave: Added codegen for Wsi and Dbg .h & .c source files
Tobin Ehlis [Tue, 9 Dec 2014 03:19:47 +0000 (20:19 -0700)]
glave: Added codegen for Wsi and Dbg .h & .c source files

9 years agoglave: Added codegen for glvtrace_xgl_xgl_structs.h
Tobin Ehlis [Mon, 8 Dec 2014 19:34:34 +0000 (12:34 -0700)]
glave: Added codegen for glvtrace_xgl_xgl_structs.h

9 years agoglave: Update replay to use code-gen version of xgl_enum_string_helper.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

9 years agoglave: Codegen of packet_id header
Tobin Ehlis [Fri, 5 Dec 2014 18:38:22 +0000 (11:38 -0700)]
glave: Codegen of packet_id header

9 years agolayers: Added codegen for glave glvtrace_xgl_xgl Header and C files
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

9 years agoBuild Glave from top level Cmake for Xgl.
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.

9 years agoxgl: Update README to summarize recent changes
Courtney Goeltzenleuchter [Tue, 9 Dec 2014 16:33:18 +0000 (09:33 -0700)]
xgl: Update README to summarize recent changes

9 years agodemos: Start using XGL_SLOT_SHADER_TEXTURE_RESOURCE
Cody Northrop [Wed, 10 Dec 2014 23:59:32 +0000 (16:59 -0700)]
demos: Start using XGL_SLOT_SHADER_TEXTURE_RESOURCE

9 years agoxgl: Add new resource type for textures
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.

9 years agolayers: Don't show totally unused DS slots or arrows for slots unused by a particular...
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

9 years agoBIL: Updated to latest BIL spec / functionality
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.

9 years agolayers: Eliminate statically allocated strings
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.

9 years agoloader: handle inserting dispatch table pointer into all created objects
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.

9 years agoicd: Fix bug in generated Icd generated entrypoints don't unwrap gpu 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.

9 years agoicd: Make driver use the same definition for dispatch table as loader uses
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.

9 years agomisc: Add update summary to README.md
Courtney Goeltzenleuchter [Tue, 2 Dec 2014 18:54:27 +0000 (11:54 -0700)]
misc: Add update summary to README.md

9 years agotests: move xglinfo to demos
Chia-I Wu [Tue, 2 Dec 2014 14:08:35 +0000 (22:08 +0800)]
tests: move xglinfo to demos

9 years agoloader: Fix missing terminator on string
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.

9 years agoloader: Make LIBXGL_LAYERS_PATH behave like LIBXGL_DRIVERS_PATH
Courtney Goeltzenleuchter [Mon, 1 Dec 2014 16:29:42 +0000 (09:29 -0700)]
loader: Make LIBXGL_LAYERS_PATH behave like LIBXGL_DRIVERS_PATH

9 years agoxgl: Update BIL/LunarGLASS/glslang versions
Courtney Goeltzenleuchter [Tue, 2 Dec 2014 16:05:18 +0000 (09:05 -0700)]
xgl: Update BIL/LunarGLASS/glslang versions

9 years agoHandle gaps in FS inputs.
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.

9 years agoloader: xglEnumerateLayers() returns layer names rather than library names
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.

9 years agoinclude: Remove API typedefs from xglLayer.h
Jon Ashburn [Tue, 2 Dec 2014 16:03:31 +0000 (09:03 -0700)]
include: Remove API typedefs from xglLayer.h

9 years agoinclude: Move API typedefs from xglLayer.h into xgl.h, xglDbg.h, xglWsi
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

9 years agolayers: Add Multi layer with example of multiple layers per file.
Jon Ashburn [Mon, 1 Dec 2014 21:22:40 +0000 (14:22 -0700)]
layers: Add Multi layer with example of multiple layers per file.

9 years agolayers: DrawState layer can dump complete State to Graphviz dot file format
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.

9 years agolayers: Added mutext to DrawState to guard global linked-lists.
Tobin Ehlis [Fri, 21 Nov 2014 19:04:39 +0000 (12:04 -0700)]
layers: Added mutext to DrawState to guard global linked-lists.

9 years agolayers: Tracking and reporting dynamic state in DrawState layer
Tobin Ehlis [Fri, 21 Nov 2014 15:58:46 +0000 (08:58 -0700)]
layers: Tracking and reporting dynamic state in DrawState layer

9 years agodemo cube: Clean up event processing
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

9 years agodemo/cube: Remove unneeded call
Courtney Goeltzenleuchter [Tue, 18 Nov 2014 18:28:09 +0000 (11:28 -0700)]
demo/cube: Remove unneeded call

9 years agodemos: Update tri to include mem refs and properly clear mem bindings prior to object...
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.

9 years agolayers: MemTracker clears CB refs if CB obj destroyed and correctly destroys Wsi...
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.

9 years agolayers: Updated README with further layer descriptions.
Tobin Ehlis [Thu, 27 Nov 2014 14:01:51 +0000 (07:01 -0700)]
layers: Updated README with further layer descriptions.

9 years agolayers: Update README.md for overall documentation and Basic layer
Jon Ashburn [Wed, 26 Nov 2014 20:27:04 +0000 (13:27 -0700)]
layers: Update README.md for overall documentation and Basic layer

9 years agolayers: Upgrade Basic to support multi-gpu multi-dispatch table
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.

9 years agolayers: Report memory leaks as warnings in MemTracker layer.
Tobin Ehlis [Wed, 26 Nov 2014 01:01:12 +0000 (18:01 -0700)]
layers: Report memory leaks as warnings in MemTracker layer.

9 years agolayers: Added APIDumpNoAddr layer that replaces variable addresses in API Dump w...
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

9 years agolayers: Updated layer names to be camelCase where name is contained in library file...
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

9 years agolayers: Fix bug in CmdBuffer free for MemTracker layer
Tobin Ehlis [Tue, 25 Nov 2014 21:47:20 +0000 (14:47 -0700)]
layers: Fix bug in CmdBuffer free for MemTracker layer

9 years agoAdd reserved parameter to xglEnumerateLayers for layer usage
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.

9 years agolayers: Fix bug in DestroyObject code of MemTracker layer.
Tobin Ehlis [Tue, 25 Nov 2014 19:27:38 +0000 (12:27 -0700)]
layers: Fix bug in DestroyObject code of MemTracker layer.

9 years agolayers: Update xglEnumerateLayers() to work with layer names
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.

9 years agoloader: Make layer names be independent of layer library filename
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.

9 years agoloader: Change ActivateLayers name to be consistent with rest of loader
Jon Ashburn [Mon, 17 Nov 2014 17:17:37 +0000 (10:17 -0700)]
loader: Change ActivateLayers name to be consistent with rest of loader

9 years agolayers: Add VBO validation to DrawState layer.
Tobin Ehlis [Tue, 25 Nov 2014 17:24:15 +0000 (10:24 -0700)]
layers: Add VBO validation to DrawState layer.

9 years agolayers: Account for the slotOffset when DS bound.
Tobin Ehlis [Tue, 25 Nov 2014 00:09:09 +0000 (17:09 -0700)]
layers: Account for the slotOffset when DS bound.

9 years agolayers: Flag ERROR on no DS bound if that DS is used by a shader.
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.

9 years agoxgl: Update to current BIL/glslang/LunarGLASS
Courtney Goeltzenleuchter [Tue, 25 Nov 2014 00:36:02 +0000 (17:36 -0700)]
xgl: Update to current BIL/glslang/LunarGLASS

9 years agolayers: Add thread ID to API dump messages
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.

9 years agodemos: Fix uninitialized dataSize input to GetObjectInfo()
Jon Ashburn [Fri, 21 Nov 2014 20:29:30 +0000 (13:29 -0700)]
demos: Fix uninitialized dataSize input to GetObjectInfo()

9 years agolayers: For APIFileDump, overwrite an existing file rather than always appending.
Tobin Ehlis [Fri, 21 Nov 2014 16:35:53 +0000 (09:35 -0700)]
layers: For APIFileDump, overwrite an existing file rather than always appending.

9 years agolayers: Added mutex for APIDump[File] layers to guard prints.
Tobin Ehlis [Thu, 20 Nov 2014 19:18:45 +0000 (12:18 -0700)]
layers: Added mutex for APIDump[File] layers to guard prints.

9 years agolayers: Added Sampler details slot printout
Tobin Ehlis [Thu, 20 Nov 2014 17:48:56 +0000 (10:48 -0700)]
layers: Added Sampler details slot printout

9 years agolayers: Update DrawState to support all Gfx shader types and to shadow full Gfx Pipel...
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

9 years agolayers: Struct printing improvements for "pNext" struct chains
Tobin Ehlis [Thu, 20 Nov 2014 13:38:50 +0000 (06:38 -0700)]
layers: Struct printing improvements for "pNext" struct chains

9 years agobuild: fix in-tree build
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.

9 years agobuild: do not pollute source tree with icd-dispatch-table.h
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.

9 years agobuild: remove icd-dispatch-table.h generation from loader
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.

9 years agolayers: Update MemTracker to support dbg Callbacks and a few bug fixes
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.

9 years agolayers: Fix API Dump to handle xglWsiX11CreatePresentableImage() which has 2 output...
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.

9 years agolayers: Updated DrawState to support dbg callbacks
Tobin Ehlis [Tue, 18 Nov 2014 23:38:08 +0000 (16:38 -0700)]
layers: Updated DrawState to support dbg callbacks

9 years agoxgl: Ignore generated header files
Courtney Goeltzenleuchter [Tue, 18 Nov 2014 20:26:22 +0000 (13:26 -0700)]
xgl: Ignore generated header files

9 years agoxgl: Update external revisions
Courtney Goeltzenleuchter [Tue, 18 Nov 2014 19:08:29 +0000 (12:08 -0700)]
xgl: Update external revisions

9 years agolayers: Add flush to apidump to see output while debugging
Courtney Goeltzenleuchter [Tue, 18 Nov 2014 17:40:29 +0000 (10:40 -0700)]
layers: Add flush to apidump to see output while debugging

9 years agolayers: Fix apidump buffer overruns
Courtney Goeltzenleuchter [Tue, 18 Nov 2014 17:39:30 +0000 (10:39 -0700)]
layers: Fix apidump buffer overruns

9 years agodemo cube: Clean up event processing
Courtney Goeltzenleuchter [Tue, 18 Nov 2014 18:28:09 +0000 (11:28 -0700)]
demo cube: Clean up event processing

Will now really wait for an event when paused.
Always update and render after checking for events

9 years agodemo: tri: Add window destroy processing
Courtney Goeltzenleuchter [Fri, 7 Nov 2014 22:17:03 +0000 (15:17 -0700)]
demo: tri: Add window destroy processing

9 years agodemo: cube: Process destroy window
Courtney Goeltzenleuchter [Thu, 6 Nov 2014 21:27:52 +0000 (14:27 -0700)]
demo: cube: Process destroy window

Demo was not exiting cleanly when the window close button
was clicked.
Found this solution on-line:
http://lists.freedesktop.org/pipermail/xcb/2010-December/006713.html

9 years agoxgl: Update README with current status
Courtney Goeltzenleuchter [Wed, 26 Nov 2014 16:56:28 +0000 (09:56 -0700)]
xgl: Update README with current status

9 years agolayers: Update ObjectTracker layer to be generated and support callbacks
Tobin Ehlis [Tue, 18 Nov 2014 18:28:33 +0000 (11:28 -0700)]
layers: Update ObjectTracker layer to be generated and support callbacks

Added some code to render_tests.cpp to support Dbg callbacks and ObjectTracker extensions, but code is #defined off by default.

9 years agolayers: Updated Object Tracker to support callbacks and extensions
Tobin Ehlis [Fri, 14 Nov 2014 20:01:02 +0000 (13:01 -0700)]
layers: Updated Object Tracker to support callbacks and extensions

9 years agoMake the Dbg xgl global calls use dispatch table for layer support
Jon Ashburn [Fri, 14 Nov 2014 16:52:42 +0000 (09:52 -0700)]
Make the Dbg xgl global calls  use dispatch table for layer support

xglDbgRegisterMsgCallbacks, xglDbgUnregisterMsgCallbacks,
xglDbgSetGlobalOptions  dispatched via dispatch table so layers can
intercept these calls.  Also add support for these calls being dispatched
to different icd functions based on gpu  for icd's which may want different
functions per gpu.

9 years agolayers: Update ObjTracker to track each object type separately and report obj count...
Tobin Ehlis [Thu, 13 Nov 2014 20:31:10 +0000 (13:31 -0700)]
layers: Update ObjTracker to track each object type separately and report obj count status

9 years agolayers: Correctly set generic_layer.c as generated in CMakeLists.txt
Tobin Ehlis [Wed, 12 Nov 2014 23:02:46 +0000 (16:02 -0700)]
layers: Correctly set generic_layer.c as generated in CMakeLists.txt

9 years agolayers: Include print helper file dependencies for MemTracker and DrawState layers
Tobin Ehlis [Wed, 12 Nov 2014 22:21:03 +0000 (15:21 -0700)]
layers: Include print helper file dependencies for MemTracker and DrawState layers

9 years agolayers: Make APIDumpFile layer fully generated
Tobin Ehlis [Wed, 12 Nov 2014 20:11:15 +0000 (13:11 -0700)]
layers: Make APIDumpFile layer fully generated

9 years agolayers: Use xgl-layer-generate.py to generate the generic layer
Tobin Ehlis [Wed, 12 Nov 2014 18:47:07 +0000 (11:47 -0700)]
layers: Use xgl-layer-generate.py to generate the generic layer

9 years agolayers: Updated APIDump Layer and made it fully generated.
Tobin Ehlis [Wed, 12 Nov 2014 00:28:22 +0000 (17:28 -0700)]
layers: Updated APIDump Layer and made it fully generated.

9 years agolayers: Improve handling of printing embedded structs in generated string helper...
Tobin Ehlis [Tue, 11 Nov 2014 19:28:12 +0000 (12:28 -0700)]
layers: Improve handling of printing embedded structs in generated string helper functions.

9 years agolayers: Restore dynamic malloc fix in xgl-helper.py
Tobin Ehlis [Tue, 11 Nov 2014 15:00:58 +0000 (08:00 -0700)]
layers: Restore dynamic malloc fix in xgl-helper.py

9 years agolayers: Update xglWsiX11GetMSC interface in layers
Tobin Ehlis [Tue, 11 Nov 2014 15:00:58 +0000 (08:00 -0700)]
layers: Update xglWsiX11GetMSC interface in layers

9 years agolayers: Actual auto-gen of print helper code used by layers
Tobin Ehlis [Mon, 10 Nov 2014 23:03:19 +0000 (16:03 -0700)]
layers: Actual auto-gen of print helper code used by layers

9 years agoupdate to the latest vertex fetch proposal
Chia-I Wu [Sat, 8 Nov 2014 02:48:20 +0000 (10:48 +0800)]
update to the latest vertex fetch proposal

The main difference is that XGL_SLOT_VERTEX_INPUT is replaced by
xglCmdBindVertexData.  This actually simplifies the driver, which can be seen
with:

 $ git show icd/intel/

The new proposal also adds some new formats, but they are ignored for now
because they are marked TBD.