History log of /frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6a3c05bcfab588fd99dd8d619a53d15374e99507 28-Apr-2017 Mathias Agopian <mathias@google.com> fix circular dependency libnativewindow <-> libui

Bug: 37647680
Bug: 37648355
Test: compile, manual
Change-Id: I9631beea52e23ebb519411f943c6f5062aedd2e5
/frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h
1d4e5540773b6c1fd0ac735c85c8b83a80891d4f 15-Feb-2017 Chris Forbes <chrisforbes@google.com> vulkan: Rev 7 of ANDROID_native_buffer

Adds a new structure to be chained to GetPhysicalDeviceProperties2KHR in
order to determine whether the loader should be exposing
KHR_shared_presentable_image (and if so, which present modes can be
supported).

V3: Replace separate enables with combined 'sharedImage'

Test: build
Change-Id: I32a8b1f09f413aa4ea2a37ea0d50914a20967865
/frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h
d1abd7456e10f46200a90e8a0e5a1a8bef0a388a 10-Feb-2017 Jesse Hall <jessehall@google.com> vulkan: Add gralloc1 usage to VK_ANDROID_native_buffer

Replaces the gralloc0-style 'int' usage in
vkGetSwapchainGrallocUsage2ANDROID and VkNativeBufferANDROID with a
gralloc1-style pair of uint64_t usages. A later change will plumb this
to and from ANativeWindow; for now we just collapse and expand from
32-bit usage.

Test: vulkanGears
Change-Id: I4555ba9d6ca1d15ed0791dc0bda01a1443890d02
/frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h
4da65b9bea890864effb0b5bab0a258cb0c6d685 30-Jan-2017 Chris Forbes <chrisforbes@google.com> vulkan: Adjust ANDROID_native_buffer to match new shared image naming

Rename the SWAPCHAIN_IMAGE_USAGE_FRONT_BUFFER_BIT to
SWAPCHAIN_IMAGE_USAGE_SHARED_BIT, to match Khronos renames.

Change-Id: I380512a66221c8cfcc650cd7e8259a185d61604d
Test: build
/frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h
134d9580a385b333be5de48ddac497efbb3b01ec 12-Jan-2017 Chris Forbes <chrisforbes@google.com> vulkan: Fix oversights in V6 of android native buffer

- We want a *Flags, not a *FlagBits here.
- Header failed to declare the VK_STRUCTURE_TYPE enum, although it was
declared in api file.

Found by trying to actually use this.

Test: build
Change-Id: I656b6095a428c116b769073d825c747aff24d12b
/frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h
8e4438b9cd82e911ed8de6aca15f11816187df3f 07-Dec-2016 Chris Forbes <chrisforbes@google.com> frontbuffer enhancements to ANDROID_vulkan_native_buffer

Since VK_KHR_swapchain is implemented entirely in libvulkan, we need an
image-level mechanism to inform the driver that a swapchain image will
be used for front-buffered rendering. This is implemented by chaining
another structure off of the VkImageCreateInfo passed to the driver when
creating swapchain images.

V2: Don't foul up api file. Rerun code generators.
V3: Rename VkNativeBuffer2ANDROID structure to
VkSwapchainImageCreateInfoANDROID
V4: Provide nulldrv stub for new function
V5: rebase.

Change-Id: I4447400cb1782440638e4c8816b081dd8923ddb9
Test: compile
/frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h
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/include/vulkan/vk_android_native_buffer.h
275d76c8158c90ec5317b82cb10b094bca2b43cf 09-Jan-2016 Jesse Hall <jessehall@google.com> vulkan: Pass vkQueuePresentKHR wait semaphores to vkQueueSignalReleaseImageANDROID

Change-Id: I4073ced5e0e155d424699f636654ec226cd9d91c
(cherry picked from commit 69ce2beade5386111ef85382cc659a439a5a3b44)
/frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h
061938022b3f5f37f7aaebf7ccc8ac20bf4dbf97 04-Dec-2015 Jesse Hall <jessehall@google.com> libvulkan: Implement new VkFence parameter in vkAcquireNextImageKHR

This parameter was added recently but wasn't hooked up. This adds a
new parameter to the vkAcquireImageANDROID extension function, and
plumbs the fence through from vkAcquireNextImageKHR to it.

This change also fixes some function signatures for API functions that
are implemented in the loader bottom rather than the driver. These
functions are only ever called through function pointers returned by
vkGet*ProcAddr, and therefore pass through a cast to
PFN_vkVoidFunction. So the compiler had no way to know they were
supposed to match a particular prototype, and couldn't issue an error
when they didn't. This change adds explicit static casts to the
expected function pointer type before reinterpret casting to the
generic function pointer type to enable compile errors.

Change-Id: I8a7e065502f783d5f2381b43c880644868234f8f
(cherry picked from commit f62f5de0c60212796b6d910cbd194c7002226264)
/frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h
e1b12783fff0b8e2defcc94c54fac8d737e6b996 30-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.203.0 to 0.204.0

Change-Id: I2de0935df66b0110b566ed2025c39e0c17b98f17
(cherry picked from commit 79c20c98e47ce5a7d0608cda59b19d153455cbae)
/frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h
3e0dc8f0d9f4de86ac61c4d3c33c3958f35e0a25 30-Nov-2015 Jesse Hall <jessehall@google.com> vulkan: Update from version 0.198.0 to 0.200.0

Change-Id: I071a9143332dd8b8c2ef899105073ed8791fc5db
(cherry picked from commit 9568691bea351152b340c0cbb3d31e5246ac469b)
/frameworks/native/vulkan/include/vulkan/vk_android_native_buffer.h