diff options
| -rw-r--r-- | Android.bp | 1 | ||||
| -rw-r--r-- | vulkan/Android.bp | 24 | ||||
| -rw-r--r-- | vulkan/libvulkan/Android.bp | 20 | ||||
| -rw-r--r-- | vulkan/libvulkan/libvulkan.map.txt | 153 |
4 files changed, 198 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp index d402651dd2..086a2c68c9 100644 --- a/Android.bp +++ b/Android.bp @@ -10,4 +10,5 @@ subdirs = [ "libs/*", "opengl", "services/*", + "vulkan", ] diff --git a/vulkan/Android.bp b/vulkan/Android.bp new file mode 100644 index 0000000000..97d99d0950 --- /dev/null +++ b/vulkan/Android.bp @@ -0,0 +1,24 @@ +// Copyright (C) 2016 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +ndk_headers { + name: "libvulkan_headers", + from: "include", + to: "", + srcs: ["include/vulkan/**/*.h"], +} + +subdirs = [ + "libvulkan", +] diff --git a/vulkan/libvulkan/Android.bp b/vulkan/libvulkan/Android.bp new file mode 100644 index 0000000000..5e3f4dd8dc --- /dev/null +++ b/vulkan/libvulkan/Android.bp @@ -0,0 +1,20 @@ +// Copyright (C) 2016 The Android Open Source Project +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Headers module is in frameworks/native/vulkan/Android.bp. +ndk_library { + name: "libvulkan.ndk", + symbol_file: "libvulkan.map.txt", + first_version: "24", +} diff --git a/vulkan/libvulkan/libvulkan.map.txt b/vulkan/libvulkan/libvulkan.map.txt new file mode 100644 index 0000000000..174592564d --- /dev/null +++ b/vulkan/libvulkan/libvulkan.map.txt @@ -0,0 +1,153 @@ +LIBVULKAN { + global: + vkAcquireNextImageKHR; + vkAllocateCommandBuffers; + vkAllocateDescriptorSets; + vkAllocateMemory; + vkBeginCommandBuffer; + vkBindBufferMemory; + vkBindImageMemory; + vkCmdBeginQuery; + vkCmdBeginRenderPass; + vkCmdBindDescriptorSets; + vkCmdBindIndexBuffer; + vkCmdBindPipeline; + vkCmdBindVertexBuffers; + vkCmdBlitImage; + vkCmdClearAttachments; + vkCmdClearColorImage; + vkCmdClearDepthStencilImage; + vkCmdCopyBuffer; + vkCmdCopyBufferToImage; + vkCmdCopyImage; + vkCmdCopyImageToBuffer; + vkCmdCopyQueryPoolResults; + vkCmdDispatch; + vkCmdDispatchIndirect; + vkCmdDraw; + vkCmdDrawIndexed; + vkCmdDrawIndexedIndirect; + vkCmdDrawIndirect; + vkCmdEndQuery; + vkCmdEndRenderPass; + vkCmdExecuteCommands; + vkCmdFillBuffer; + vkCmdNextSubpass; + vkCmdPipelineBarrier; + vkCmdPushConstants; + vkCmdResetEvent; + vkCmdResetQueryPool; + vkCmdResolveImage; + vkCmdSetBlendConstants; + vkCmdSetDepthBias; + vkCmdSetDepthBounds; + vkCmdSetEvent; + vkCmdSetLineWidth; + vkCmdSetScissor; + vkCmdSetStencilCompareMask; + vkCmdSetStencilReference; + vkCmdSetStencilWriteMask; + vkCmdSetViewport; + vkCmdUpdateBuffer; + vkCmdWaitEvents; + vkCmdWriteTimestamp; + vkCreateAndroidSurfaceKHR; + vkCreateBuffer; + vkCreateBufferView; + vkCreateCommandPool; + vkCreateComputePipelines; + vkCreateDescriptorPool; + vkCreateDescriptorSetLayout; + vkCreateDevice; + vkCreateEvent; + vkCreateFence; + vkCreateFramebuffer; + vkCreateGraphicsPipelines; + vkCreateImage; + vkCreateImageView; + vkCreateInstance; + vkCreatePipelineCache; + vkCreatePipelineLayout; + vkCreateQueryPool; + vkCreateRenderPass; + vkCreateSampler; + vkCreateSemaphore; + vkCreateShaderModule; + vkCreateSwapchainKHR; + vkDestroyBuffer; + vkDestroyBufferView; + vkDestroyCommandPool; + vkDestroyDescriptorPool; + vkDestroyDescriptorSetLayout; + vkDestroyDevice; + vkDestroyEvent; + vkDestroyFence; + vkDestroyFramebuffer; + vkDestroyImage; + vkDestroyImageView; + vkDestroyInstance; + vkDestroyPipeline; + vkDestroyPipelineCache; + vkDestroyPipelineLayout; + vkDestroyQueryPool; + vkDestroyRenderPass; + vkDestroySampler; + vkDestroySemaphore; + vkDestroyShaderModule; + vkDestroySurfaceKHR; + vkDestroySwapchainKHR; + vkDeviceWaitIdle; + vkEndCommandBuffer; + vkEnumerateDeviceExtensionProperties; + vkEnumerateDeviceLayerProperties; + vkEnumerateInstanceExtensionProperties; + vkEnumerateInstanceLayerProperties; + vkEnumeratePhysicalDevices; + vkFlushMappedMemoryRanges; + vkFreeCommandBuffers; + vkFreeDescriptorSets; + vkFreeMemory; + vkGetBufferMemoryRequirements; + vkGetDeviceMemoryCommitment; + vkGetDeviceProcAddr; + vkGetDeviceQueue; + vkGetEventStatus; + vkGetFenceStatus; + vkGetImageMemoryRequirements; + vkGetImageSparseMemoryRequirements; + vkGetImageSubresourceLayout; + vkGetInstanceProcAddr; + vkGetPhysicalDeviceFeatures; + vkGetPhysicalDeviceFormatProperties; + vkGetPhysicalDeviceImageFormatProperties; + vkGetPhysicalDeviceMemoryProperties; + vkGetPhysicalDeviceProperties; + vkGetPhysicalDeviceQueueFamilyProperties; + vkGetPhysicalDeviceSparseImageFormatProperties; + vkGetPhysicalDeviceSurfaceCapabilitiesKHR; + vkGetPhysicalDeviceSurfaceFormatsKHR; + vkGetPhysicalDeviceSurfacePresentModesKHR; + vkGetPhysicalDeviceSurfaceSupportKHR; + vkGetPipelineCacheData; + vkGetQueryPoolResults; + vkGetRenderAreaGranularity; + vkGetSwapchainImagesKHR; + vkInvalidateMappedMemoryRanges; + vkMapMemory; + vkMergePipelineCaches; + vkQueueBindSparse; + vkQueuePresentKHR; + vkQueueSubmit; + vkQueueWaitIdle; + vkResetCommandBuffer; + vkResetCommandPool; + vkResetDescriptorPool; + vkResetEvent; + vkResetFences; + vkSetEvent; + vkUnmapMemory; + vkUpdateDescriptorSets; + vkWaitForFences; + local: + *; +}; |