Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38bfdb02 authored by Dan Albert's avatar Dan Albert Committed by android-build-merger
Browse files

Merge "Migrate libvulkan to ndk_library." am: 02affcd5

am: 425ae4a0

Change-Id: Ie771d411939c583dd30dd1b753d9dfdf28f2fd74
parents 939621c3 425ae4a0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,4 +10,5 @@ subdirs = [
    "libs/*",
    "opengl",
    "services/*",
    "vulkan",
]

vulkan/Android.bp

0 → 100644
+24 −0
Original line number Diff line number Diff line
// 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",
]
+20 −0
Original line number Diff line number Diff line
// 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",
}
+153 −0
Original line number Diff line number Diff line
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:
    *;
};