[go: nahoru, domu]

History log of /frameworks/native/vulkan/libvulkan/api_gen.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dbd33bcca26a38d24a1ae25d894175ea9ad1033a 02-Jun-2016 Chia-I Wu <olv@google.com> vulkan: remove EnumerateDeviceLayerProperties internally

We never use it. Since it is also deprecated, we will never need it.

Bug: 27910383
Change-Id: If4e556bb69890153be2987b165482e43ab06a890
/frameworks/native/vulkan/libvulkan/api_gen.cpp
3e654dc68a954b150c141c4a2e96418883bd7c9b 20-May-2016 Chia-I Wu <olv@google.com> vulkan: do not use exported functions internally

Our vkGet*ProcAddr uses the exported functions. They will break when any
of the exported functions are overridden (e.g., through LD_PRELOAD).

Unexport and move all exported functions to vulkan::api namespace.
Re-export them by having vkFoo as a wrapper to vulkan::api::Foo.

Another option is to re-export vulkan::api::Foo by having vkFoo as an
alias using __attribute__((alias)). That results in smaller binaries.
But we will not be able to catch mismatches between vulkan.h and
vulkan.api.

To avoid future breakage, define VK_NO_PROTOTYPES for all files except
api_gen.cpp.

Bug: 28886971
Change-Id: I08fde7ebb247f8c7e040ccf812b40b02094d3c7f
/frameworks/native/vulkan/libvulkan/api_gen.cpp
5beb2ac5e0b676e55be9f0b768ba3fd3697f3216 04-May-2016 Chia-I Wu <olv@google.com> vulkan: use Logger in the generated code

Except for INIT_PROC, where ALOGE is still used for layer/HAL bugs.

Bug: 28120066
Change-Id: Icd9ce99b6bfb77816b11c05f6c8b197a6782b7cd
/frameworks/native/vulkan/libvulkan/api_gen.cpp
8925efd0a87d96885834a00f3bdef220edf6d8ea 13-Apr-2016 Chia-I Wu <olv@google.com> vulkan: do not query non-enabled WSI functions

Initialize dispatch table entries for non-enabled WSI functions to stubs.
We do not want to initialize them to NULL because they may still be
invoked through the exported WSI entrypoints.

Bug: 25850852
Change-Id: I25b715700990ad7432740f031764d70396024d32
/frameworks/native/vulkan/libvulkan/api_gen.cpp
c56603e0b35e31c5f1cd134d6b916a16ff710504 12-Apr-2016 Chia-I Wu <olv@google.com> vulkan: fix vkGetDeviceProcAddr for intercepted commands

This allows vulkan::api::DestroyDevice to properly unreference layers.

Bug: 28077754
Change-Id: I194925d29dee3489b63f4a44669c791d378afa39
/frameworks/native/vulkan/libvulkan/api_gen.cpp
0c2032490b80178ec823bf22a7f5d08398851cc3 15-Mar-2016 Chia-I Wu <olv@google.com> vulkan: rewrite top of loader

The top is responsible for layer discovery and chaining, and the bottom is
like a regular layer that is always enabled and is inserted just before
the driver. Make the separation clear by rewriting the top and stripping
the layer managment code from loader.cpp.

Change-Id: I64e525e27bd4c297bccd94a1eb9b88e28088e85d
/frameworks/native/vulkan/libvulkan/api_gen.cpp