History log of /frameworks/native/vulkan/tools/vkinfo.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2676338dd692b7d1e1c276d82e6b0492db53ab2e 20-May-2016 Jesse Hall <jessehall@google.com> vulkan: Update vulkan.h to 1.0.13

vulkan.h and vk_platform.h imported from
github.com:KhronosGroup/Vulkan-Docs @ 2656f459333b3a1dc63619a9ebd83490eea22e93

Updated vulkan.api to reflect the changes in vulkan.h. There were no
changes to any of the code we generate. I didn't update the
vulkan_h.tmpl, since we're not currently using it and it was already
out of date.

Bug: 28878216
Change-Id: I71676683148fae7ad8799bd39386a931319aa395
/frameworks/native/vulkan/tools/vkinfo.cpp
dcad39536dda5fc88aa3ae588f535fb3edee8c62 22-Apr-2016 Chia-I Wu <olv@google.com> vulkan: fix "vkinfo -validate"

Some layers were renamed/merged.

Bug: 28317797
Change-Id: Ie7982790502ad1bed3234b26129cff9e06667365
/frameworks/native/vulkan/tools/vkinfo.cpp
8955f3f76dbe7d9dace2db48627672ff0d83c1f4 22-Apr-2016 Chia-I Wu <olv@google.com> vulkan: fix vkinfo with layer extensions

vkinfo enable layers only when options.validate is true. We should use
layer extensions, such as VK_EXT_debug_report, only when layers are
enabled.

Bug: 28317797
Change-Id: I02bb34b728f3f3072111444194ee97065e38e401
/frameworks/native/vulkan/tools/vkinfo.cpp
e2948d83f352b9a093252a06757f76a88f5355d3 25-Feb-2016 Jesse Hall <jessehall@google.com> vulkan: Update to vulkan.h 1.0.3

Change-Id: Ic607533768989aa65e41b9b0e459d7af170ab180
/frameworks/native/vulkan/tools/vkinfo.cpp
dc7f6a6a8703e5dd8d11da9462528fb20aeb2bd0 25-Feb-2016 Jesse Hall <jessehall@google.com> vkinfo: Provide VkApplicationInfo

This is supposed to be optional, but the N6P/N5X driver currently
requires it.

Change-Id: Ib90962a595052cd829b4967dce4b5a6740173a96
/frameworks/native/vulkan/tools/vkinfo.cpp
f63e4450a62de4d345e191a87cb6372fbb3226fd 09-Feb-2016 Jesse Hall <jessehall@google.com> vkinfo: Only print supported features by default

Printing all features with YES/NO tags is available with -v or
-unsupported_features.

Change-Id: I1ad1a024fa306a6b2a0c57f17913be2639101071
/frameworks/native/vulkan/tools/vkinfo.cpp
d0bba376a4a04f5ada451090ec65ffa8641724ac 22-Feb-2016 Chia-I Wu <olv@google.com> vulkan/vkinfo: enable layers when -validate is specified

Enable layers when -validate is given, instead of unconditionally. This
is a regression fix since vkinfo fails with

vkCreateInstance failed: VK_ERROR_LAYER_NOT_PRESENT (-6)

since commit b1e7d59.

Change-Id: I42bfc474239896416e26ebf1b18cc65c9c045610
/frameworks/native/vulkan/tools/vkinfo.cpp
c2a770925da019a82e23aacacf12be3bfe691766 09-Feb-2016 Courtney Goeltzenleuchter <courtneygo@google.com> vkinfo: Add debug command line option

Really handy for loader debug to switch between
waiting and not waiting for a debugger to attach.

Change-Id: I47fb1475d8aa62b8f4b2b7e6a156793f108a83ed
/frameworks/native/vulkan/tools/vkinfo.cpp
b1e7d59f53f794c566857784c5629ae423792ecb 09-Feb-2016 Courtney Goeltzenleuchter <courtneygo@google.com> vkinfo: Add validation layers

Change-Id: Iefd17b622f0d91219b81bd1df09ffeb3397f9553
/frameworks/native/vulkan/tools/vkinfo.cpp
ca472ab8e43efe92db30660db9997117e4b00ab9 02-Feb-2016 Courtney Goeltzenleuchter <courtneygo@google.com> tools: Need to specify pQueuePriorities

Change-Id: I689c3e8da9e8cf00705f2f90d472c1268a978f1b
(cherry picked from commit 363ac5d35ca076f419c14f14bce603d5d82553fa)
/frameworks/native/vulkan/tools/vkinfo.cpp
00f10fec7d5cb96bc980a6d272dc8d33597a1b20 09-Feb-2016 Jesse Hall <jessehall@google.com> vkinfo: Fix bytes -> megabytes conversion

Also only report 256 MiB (chosen arbitrarily) as the null driver's
memory heap size. The previous value wasn't reasonable on 64-bit
systems (2^63 + 1).

Change-Id: Id57a4895752af45d046072ae8fee386ca219e82d
/frameworks/native/vulkan/tools/vkinfo.cpp
c5cec281654c5dee2273ce4bebd3a749c3a1119e 18-Jan-2016 Jesse Hall <jessehall@google.com> vkinfo: Print VkPhysicalDeviceFeatures

Change-Id: Ifa045de906ce2612382f470168438f80c7188b0a
/frameworks/native/vulkan/tools/vkinfo.cpp
38cb8407b96aef348531aff3d617cc0879217ecf 18-Jan-2016 Jesse Hall <jessehall@google.com> vkinfo: improve indentation, add verbosity parameters

Change-Id: I23b4a08a24d6fb1463db55dbbb342eca866fc228
/frameworks/native/vulkan/tools/vkinfo.cpp
ae3b70dea59236780aa909338de1ba5201603439 18-Jan-2016 Jesse Hall <jessehall@google.com> libvulkan: Return error if an unsupported instance extension is requested

Change-Id: I93d4a2a0b991682160c0ffe401f2b2b19f6e2be3
(cherry picked from commit 8a69c0845de6884377da2221ae3272b8dac03d55)
/frameworks/native/vulkan/tools/vkinfo.cpp
b147127b06c1ce6443839e8102d1ed2631a57b07 18-Jan-2016 Jesse Hall <jessehall@google.com> vulkan: Driver device extension enumeration and filtering

- Return VK_ERROR_EXTENSION_NOT_PRESENT if a requested device
extension is not supported by the loader, driver, or any enabled
device layer.
- Filter out device extensions not supported by the driver when
creating the driver device.
- Enumerate device extensions supported by the driver or loader.

Change-Id: I538e37bc74cc7f0eb27b1211b9324fb3b8a06e14
(cherry picked from commit 35873021f4f79ded0f584e433076c2675c6aed69)
/frameworks/native/vulkan/tools/vkinfo.cpp
aa410941d29cba4a3a56e90cb3f0be3f03c76cea 17-Jan-2016 Jesse Hall <jessehall@google.com> libvulkan: Enumerate device layers

Change-Id: I7623eab3d8bb958470437998ba603ac1171d764c
(cherry picked from commit eab7505b0741dc5c062df889a7ca5db1a9e619e8)
/frameworks/native/vulkan/tools/vkinfo.cpp
563380d389732337a84e7455caa01ec955ebee30 16-Jan-2016 Jesse Hall <jessehall@google.com> vulkan: Update to version 1.0.1

Change-Id: Ib5d538bbcdf61f96bcfc0270b0e461927dd0b15b
(cherry picked from commit bfdbddcaf74d05966cde0f260a3d7da5a5b2d591)
/frameworks/native/vulkan/tools/vkinfo.cpp
4da3bd68ab085b1e07304e64d3deada3dac994e0 17-Jan-2016 Jesse Hall <jessehall@google.com> vkinfo: Enable VK_EXT_debug_report if available

Change-Id: I58ba2f0be075b14286198d66eb7acb00c37b75e1
(cherry picked from commit 36783b098580b7f590a117e97dccf66bb11e44fd)
/frameworks/native/vulkan/tools/vkinfo.cpp
8966bf4149947dfc6d8ee0251efffc3a75663543 17-Jan-2016 Jesse Hall <jessehall@google.com> vkinfo: improve formatting

Change-Id: I30f43d730f3181c27e8f6fb5aeb8a9bae7500f22
(cherry picked from commit 43123c167e5f089196da6aaaf8230b075d95748f)
/frameworks/native/vulkan/tools/vkinfo.cpp
30ac78b43ce408eb6d666c8667d184b8e44ed9e6 12-Jan-2016 Jesse Hall <jessehall@google.com> vulkan: Fix 64-bit compilation errors

Change-Id: I5f76ae6bb517d39c3461e95421444121a093b7da
(cherry picked from commit 9f434d3bbe473d93c7801f2f618ae02aa2318950)
/frameworks/native/vulkan/tools/vkinfo.cpp
6e4ab316ba910c70a25c5264b3edabb759819098 08-Jan-2016 Jesse Hall <jessehall@google.com> vkinfo: print device layers and extensions

Change-Id: Iddc28080cf80f59c5c0c34572597ff4cd586cac5
(cherry picked from commit a7b9870e22472403e6b858bdf18383365ddc904f)
/frameworks/native/vulkan/tools/vkinfo.cpp
09559b53a83342ee8b4c5ae3e29bb252a02908db 08-Jan-2016 Jesse Hall <jessehall@google.com> vkinfo: Refactor to separate info gather from print stages

Change-Id: If8041fb10975edb1e9e6bd827d9aeaa0f7a07e3f
(cherry picked from commit 1ae28dbbe57c89b8c6c9a1a9cb3482115a119256)
/frameworks/native/vulkan/tools/vkinfo.cpp
c1ab303f6fc8339d386d6cf127534677929fddfb 04-Jan-2016 Jesse Hall <jessehall@google.com> vkinfo: print instance layers and extensions

Change-Id: I3206cd579f0f189ae4831a3e47785661ee06a6b7
(cherry picked from commit 1610a07f91669577fd35ba14396c9dce0b2306f9)
/frameworks/native/vulkan/tools/vkinfo.cpp
1f91d390ac013ea2514a67e12ddb083119d636d7 12-Dec-2015 Jesse Hall <jessehall@google.com> vulkan: Implement new vkGet*ProcAddrBehavior

The primary goal of this change is to switch to the revised GPA
behavior:
- GIPA(NULL, ..) only works for non-dispatched (global) commands
- GIPA(instance, ..) returns functions for commands that dispatch on any
object type, and the function works for any object of the appropriate
type if it is a child of the instance.
- GDPA(NULL, ..) returns NULL.
- GDPA(device, ..) returns a device-specific function for the command.

This change refactors/tidies many of the things it modified. Some
notable changes:
- All the loader generated code is now in dispatch.tmpl ->
dispatch_gen.{h,cpp}, instead of two separate templates.
- Reorganization allowed generating the dispatch table structures,
eliminating one source of frequent bugs.
- Removes some error-prone macro duplication.
- Handling of extensions and special loader functions is now much
more uniform and hopefully clearer.
- Loader top- and bottom-level functions are now consistently named with
_Top and _Bottom suffixes, and are grouped by level in loader.cpp.
- The VkInstance and VkDevice implementations are no longer derived from
::VkInstance_T and ::VkDevice_T. Was more trouble than it was worth.
- Renamed 'vtbl' to 'dispatch' in most places.
- Renamed nulldrv template and generated files to match the loader
naming pattern: null_driver.tmpl -> null_driver_gen.{h,cpp}
- Now all the entry point prototypes are generated, instead of having
to be updated by hand (another source of several bugs).

Change-Id: Ic263f802d0d523b18a0f00420b3a722aa04ce299
(cherry picked from commit 3cffb8e837222f413a1fe53522e2cc33366b8eeb)
/frameworks/native/vulkan/tools/vkinfo.cpp
65ab552c18df3e94c5d275294a20dd4d20dda119 30-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.197.0 to 0.198.0

Change-Id: I182b21c68374e8eae962b2ae391bb283f07d5517
(cherry picked from commit ef5b7de781a9d803be4fba7ba243e6e96dd61851)
/frameworks/native/vulkan/tools/vkinfo.cpp
d1af812f20e0793d94702817d441ab799bf46df7 30-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.196.0 to 0.197.0

Change-Id: I1c7aecd276cb8d831b8d7bf7eef58b5c6ad8b82c
(cherry picked from commit bef4966ad22d7690626b3dc048c59cb9e9eab870)
/frameworks/native/vulkan/tools/vkinfo.cpp
3fbc856120217247c72fb5ed88500000f3881c45 30-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.194.0 to 0.196.0

Change-Id: Ib62cc358b1f2575daeaa2a893eb4afca458ec5c3
(cherry picked from commit 48e9a8af39134fc2e995867668e113e56931167b)
/frameworks/native/vulkan/tools/vkinfo.cpp
b00daadc165d4c3fad13b7cc4aeaa1e85e6df9a0 30-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.192.0 to 0.193.0

Change-Id: I4387b28368c38c5165c1da99d8dc4e632ad2b42a
(cherry picked from commit d0534c33c98e8f0c844b37df7c764c9dbd6bbaa3)
/frameworks/native/vulkan/tools/vkinfo.cpp
03b6fe1b099764c6010c173c1416ea102cdfe5a4 24-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.186.0 to 0.188.0

Change-Id: Ida08d51f4e892202b594072d1e765ba5c55444db
(cherry picked from commit 2ca0449bdeecd0257c7473f663896b00d0082def)
/frameworks/native/vulkan/tools/vkinfo.cpp
a3a7a1d37bdfad56245b75edac49f8aceded321d 24-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.185.0 to 0.186.0

Change-Id: I6acb7742a1d4628930bc0807adfd222bc8349c43
(cherry picked from commit 9148de67a84540aa7d70ae72fbf587e26cbd0891)
/frameworks/native/vulkan/tools/vkinfo.cpp
a15a4bf4bafd6114ae8f28c2df2fc622cb3baace 20-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.180.0 to 0.181.0

Change-Id: I4a7e216d9966f2dcf873bcb952472463dfb59f95
(cherry picked from commit 2c3539bab4b81b6e55d690c5e113d3421cc15021)
/frameworks/native/vulkan/tools/vkinfo.cpp
606a54e194a5884c628130ba2eda1b3bfbc157d7 20-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.177.0 to 0.179.0

Change-Id: I4d596efec04a712d7b38323e012282fe9f98192b
(cherry picked from commit daf915168b0aea3a47401a838448d737e955c154)
/frameworks/native/vulkan/tools/vkinfo.cpp
acfa53409aa45de2c12f10617222e0d593e8f2df 20-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.174.0 to 0.177.0

Change-Id: I4b837c0bdb4fd6120688e8389ab8591178d370fb
(cherry picked from commit 5804cbcdb3c6444c7bb6904578ed339d9339de83)
/frameworks/native/vulkan/tools/vkinfo.cpp
5ae3abb3ca6728de04935b0c81bcdbdfc37b0d47 08-Oct-2015 Jesse Hall <jessehall@google.com> vulkan: Update from header 0.138.2 to 0.170.2

Change-Id: I011e1f27d025730d448ee5cfefc6701300b455c2
(cherry picked from commit 6761b6067555557599e8c30096614642a5223646)
/frameworks/native/vulkan/tools/vkinfo.cpp
d02edcbb40d476b6d3b5ae279a6ccef786be8848 08-Sep-2015 Jesse Hall <jessehall@google.com> vulkan: add copyright notices

Change-Id: I62ec6d02a052c9e9cee9753057d55c165dfc9713
(cherry picked from commit b7f416a9cc3d136ffe4a60b5f6fb2dc8b92a623b)
/frameworks/native/vulkan/tools/vkinfo.cpp
73ab0acc1990326b4e51b675f4b2b44b6366c0a7 25-Aug-2015 Jesse Hall <jessehall@google.com> vulkan: add memory property queries to nulldrv and vkinfo

Change-Id: Ib3ceb46ff4e46a25787d8c980b8339328b471925
(cherry picked from commit 6c5ee23b92f420387f46da97714780f9ce12681a)
/frameworks/native/vulkan/tools/vkinfo.cpp
04f4f4746481571148eaf3aaf768ee5c6dccec9d 17-Aug-2015 Jesse Hall <jessehall@google.com> vulkan: initial loader and null driver

Change-Id: Id5ebb5f01e61e9b114990f49c64c88fbbb7b730e
(cherry picked from commit 4df205cdfc61e66de774ba50be9ef59a08cf88bb)
/frameworks/native/vulkan/tools/vkinfo.cpp