/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageLoadStoreUtil.hpp | 39 typedef de::SharedPtr<vk::Unique<vk::VkDescriptorSet> > SharedVkDescriptorSet; 40 typedef de::SharedPtr<vk::Unique<vk::VkImageView> > SharedVkImageView; 43 inline de::SharedPtr<vk::Unique<T> > makeVkSharedPtr (vk::Move<T> vkMove) 45 return de::SharedPtr<vk::Unique<T> >(new vk::Unique<T>(vkMove)); 48 inline float computeStoreColorBias (const vk::VkFormat format) 53 inline bool isIntegerFormat (const vk::VkFormat format [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
vktExternalMemoryUtil.cpp | 143 NativeHandle::NativeHandle (Win32HandleType handleType, vk::pt::Win32Handle handle) 151 NativeHandle::NativeHandle (vk::pt::AndroidHardwareBufferPtr buffer) 209 m_win32Handle = vk::pt::Win32Handle(DE_NULL); 211 m_androidHardwareBuffer = vk::pt::AndroidHardwareBufferPtr(DE_NULL); 223 NativeHandle& NativeHandle::operator= (vk::pt::AndroidHardwareBufferPtr buffer) 232 void NativeHandle::setWin32Handle (Win32HandleType type, vk::pt::Win32Handle handle) 243 m_win32Handle = vk::pt::Win32Handle(DE_NULL); 244 m_androidHardwareBuffer = vk::pt::AndroidHardwareBufferPtr(DE_NULL); 247 vk::pt::Win32Handle NativeHandle::getWin32Handle (void) const 262 vk::pt::AndroidHardwareBufferPtr NativeHandle::getAndroidHardwareBuffer (void) cons [all...] |
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryBasicClass.hpp | 41 const vk::VkPrimitiveTopology primitiveType, 47 virtual vk::Move<vk::VkPipelineLayout> createPipelineLayout (const vk::DeviceInterface& vk, const vk::VkDevice device); 48 virtual void bindDescriptorSets (const vk::DeviceInterface& /*vk*/, 49 const vk::VkDevice /*device*/, 50 vk::Allocator& /*memAlloc*/ [all...] |
/external/deqp/framework/platform/lnx/ |
tcuLnxVulkanPlatform.hpp | 36 class VulkanPlatform : public vk::Platform 40 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const; 41 vk::Library* createLibrary (void) const; 43 void getMemoryLimits (vk::PlatformMemoryLimits& limits) const;
|
/external/deqp/framework/platform/win32/ |
tcuWin32VulkanPlatform.hpp | 35 class VulkanPlatform : public vk::Platform 41 vk::Library* createLibrary (void) const; 42 vk::wsi::Display* createWsiDisplay (vk::wsi::Type wsiType) const; 44 void getMemoryLimits (vk::PlatformMemoryLimits& limits) const;
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemUtils.cpp | 42 using namespace vk; 47 typedef std::vector<vk::VkExtensionProperties> Extensions; 49 std::vector<std::string> getValidationLayers (const vk::PlatformInterface& vkp) 63 const std::vector<vk::VkLayerProperties> supportedLayers (enumerateInstanceLayerProperties(vkp)); 66 if (isLayerSupported(supportedLayers, vk::RequiredLayer(s_magicLayer))) 72 if (isLayerSupported(supportedLayers, vk::RequiredLayer(s_defaultLayers[ndx]))) 81 vk::Move<vk::VkInstance> makeProtectedMemInstance (const vk::PlatformInterface& vkp, const vkt::Context& context, const std::vector<std::string>& extraExtensions) 83 const Extensions supportedExtensions(vk::enumerateInstanceExtensionProperties(vkp, DE_NULL)) 281 const vk::DeviceInterface& vk = context.getDeviceInterface(); local 330 const vk::DeviceInterface& vk = context.getDeviceInterface(); local 382 const vk::DeviceInterface& vk = context.getDeviceInterface(); local 437 const vk::DeviceInterface& vk = context.getDeviceInterface(); local 509 const vk::DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
vktProtectedMemImageValidator.hpp | 46 ImageValidator (vk::VkFormat imageFormat = vk::VK_FORMAT_R8G8B8A8_UNORM) 50 void initPrograms (vk::SourceCollections& programCollection) const; 54 const vk::VkImage image, 55 const vk::VkFormat imageFormat) const; 58 const vk::VkFormat m_imageFormat;
|
vktProtectedMemWsiSwapchainTests.cpp | 67 typedef std::vector<vk::VkExtensionProperties> Extensions; 75 if (!isExtensionSupported(supportedExtensions, vk::RequiredExtension(*requiredExtName))) 81 vk::wsi::Type wsiType) 98 if (isExtensionSupported(supportedExtensions, vk::RequiredExtension("VK_EXT_swapchain_colorspace"))) 106 de::MovePtr<vk::wsi::Display> createDisplay (const vk::Platform& platform, 108 vk::wsi::Type wsiType) 112 return de::MovePtr<vk::wsi::Display>(platform.createWsiDisplay(wsiType)); 116 if (isExtensionSupported(supportedExtensions, vk::RequiredExtension(getExtensionName(wsiType)))) 118 // If VK_KHR_{platform}_surface was supported, vk::Platform implementatio [all...] |
vktProtectedMemContext.hpp | 49 vk::wsi::Type wsiType, 50 vk::wsi::Display& display, 51 vk::wsi::Window& window, 55 const vk::DeviceInterface& getDeviceInterface (void) const { return m_deviceDriver; } 56 vk::VkDevice getDevice (void) const { return *m_device; } 57 const vk::DeviceDriver& getDeviceDriver (void) const { return m_deviceDriver; } 58 vk::VkPhysicalDevice getPhysicalDevice (void) const { return m_phyDevice; } 59 vk::VkQueue getQueue (void) const { return m_queue; } 63 vk::BinaryCollection& getBinaryCollection (void) const { return m_context.getBinaryCollection(); } 64 vk::Allocator& getDefaultAllocator (void) const { return *m_allocator; [all...] |
vktProtectedMemShaderImageAccessTests.cpp | 91 vk::VkFormat imageFormat; 97 , imageFormat (vk::VK_FORMAT_UNDEFINED) 103 const vk::VkFormat imageFormat_, 231 void clearImage (vk::VkImage image); 232 void uploadImage (vk::VkImage image, 234 void copyToProtectedImage (vk::VkImage srcImage, 235 vk::VkImage dstImage); 237 tcu::TestStatus validateResult (vk::VkImage image, 266 virtual void initPrograms (vk::SourceCollections& programCollection) const; 273 void ImageAccessTestCase::initPrograms (vk::SourceCollections& programCollection) cons 507 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 615 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 720 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 806 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 993 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local [all...] |
vktProtectedMemCopyImageToBufferTests.cpp | 62 const vk::VkClearColorValue fillValue, 68 const vk::VkFormat m_imageFormat; 69 const vk::VkClearColorValue m_fillValue; 81 vk::VkClearColorValue fillValue, 96 virtual void initPrograms (vk::SourceCollections& programCollection) const 101 vk::VkClearColorValue m_fillValue; 108 const vk::VkClearColorValue fillValue, 112 , m_imageFormat (vk::VK_FORMAT_R32G32B32A32_UINT) 123 const vk::DeviceInterface& vk = ctx.getDeviceInterface() local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationUtil.hpp | 50 Buffer (const vk::DeviceInterface& vk, 51 const vk::VkDevice device, 52 vk::Allocator& allocator, 53 const vk::VkBufferCreateInfo& bufferCreateInfo, 54 const vk::MemoryRequirement memoryRequirement) 56 : m_buffer (createBuffer(vk, device, &bufferCreateInfo)) 57 , m_allocation (allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement)) 59 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); 62 const vk::VkBuffer& get (void) const { return *m_buffer; [all...] |
/external/deqp/external/vulkancts/modules/vulkan/wsi/ |
vktWsiSharedPresentableImageTests.cpp | 66 typedef vector<vk::VkExtensionProperties> Extensions; 74 if (!isExtensionSupported(supportedExtensions, vk::RequiredExtension(*requiredExtName))) 79 vk::Move<vk::VkInstance> createInstanceWithWsi (const vk::PlatformInterface& vkp, 82 vk::wsi::Type wsiType) 86 if (!vk::isCoreInstanceExtension(version, "VK_KHR_get_physical_device_properties2")) 97 return vk::createDefaultInstance(vkp, version, vector<string>(), extensions); 100 vk::VkPhysicalDeviceFeatures getDeviceNullFeatures (void) 102 vk::VkPhysicalDeviceFeatures features [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawImageObjectUtil.cpp | 47 vk::VkDeviceSize rowPitchOrZero, 48 vk::VkDeviceSize depthPitchOrZero, 52 vk::VkDeviceSize rowPitch = rowPitchOrZero; 53 vk::VkDeviceSize depthPitch = depthPitchOrZero; 61 const vk::VkDeviceSize size = depthPitch * depth; 70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) && 71 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) 81 vk::VkDeviceSize offsetDepthDst = d * depthPitch; 82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height); 99 vk::VkDeviceSize rowPitchOrZero [all...] |
vktDrawBaseClass.cpp | 32 DrawTestsBaseClass::DrawTestsBaseClass (Context& context, const char* vertexShaderName, const char* fragmentShaderName, vk::VkPrimitiveTopology topology) 34 , m_colorAttachmentFormat (vk::VK_FORMAT_R8G8B8A8_UNORM) 44 const vk::VkDevice device = m_context.getDevice(); 48 m_pipelineLayout = vk::createPipelineLayout(m_vk, device, &pipelineLayoutCreateInfo); 50 const vk::VkExtent3D targetImageExtent = { WIDTH, HEIGHT, 1 }; 51 const ImageCreateInfo targetImageCreateInfo(vk::VK_IMAGE_TYPE_2D, m_colorAttachmentFormat, targetImageExtent, 1, 1, vk::VK_SAMPLE_COUNT_1_BIT, 52 vk::VK_IMAGE_TILING_OPTIMAL, vk::VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | vk::VK_IMAGE_USAGE_TRANSFER_SRC_BIT | vk::VK_IMAGE_USAGE_TRANSFER_DST_BIT) [all...] |
vktDrawBaseClass.hpp | 108 DrawTestsBaseClass (Context& context, const char* vertexShaderName, const char* fragmentShaderName, vk::VkPrimitiveTopology topology = vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP); 112 virtual void initPipeline (const vk::VkDevice device); 122 vk::VkFormat m_colorAttachmentFormat; 124 const vk::VkPrimitiveTopology m_topology; 126 const vk::DeviceInterface& m_vk; 128 vk::Move<vk::VkPipeline> m_pipeline; 129 vk::Move<vk::VkPipelineLayout> m_pipelineLayout [all...] |
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
vktQueryPoolOcclusionTests.cpp | 54 StateObjects (const vk::DeviceInterface&vk, vkt::Context &context, const int numVertices, vk::VkPrimitiveTopology primitive); 55 void setVertices (const vk::DeviceInterface&vk, std::vector<tcu::Vec4> vertices); 65 vk::Move<vk::VkPipeline> m_pipeline; 66 vk::Move<vk::VkPipelineLayout> m_pipelineLayout; 69 vk::Move<vk::VkImageView> m_attachmentView 327 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 355 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 366 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 563 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 612 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 620 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 771 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 788 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 860 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 876 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineSpecConstantUtil.hpp | 45 GraphicsPipelineBuilder& setShader (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkShaderStageFlagBits stage, const vk::ProgramBinary& binary, const vk::VkSpecializationInfo* specInfo); 46 vk::Move<vk::VkPipeline> build (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkPipelineLayout pipelineLayout, const vk::VkRenderPass rend (…) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
vktDynamicStateBaseClass.hpp | 48 virtual void initPipeline (const vk::VkDevice device); 54 void beginRenderPassWithClearColor (const vk::VkClearColorValue& clearColor); 60 const vk::VkViewport* pViewports, 61 const vk::VkRect2D* pScissors); 85 vk::VkFormat m_colorAttachmentFormat; 87 vk::VkPrimitiveTopology m_topology; 89 const vk::DeviceInterface& m_vk; 91 vk::Move<vk::VkPipeline> m_pipeline; 92 vk::Move<vk::VkPipelineLayout> m_pipelineLayout [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkNullDriver.hpp | 28 namespace vk namespace 35 } // vk
|
vkWsiPlatform.cpp | 26 namespace vk namespace 37 } // vk
|
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesBase.hpp | 43 vk::VkQueue queueHandle; 50 QueueRequirements(const vk::VkQueueFlags qFlags, const deUint32 qCount) 55 vk::VkQueueFlags queueFlags; 78 const Queue& getQueue (const vk::VkQueueFlags queueFlags, const deUint32 queueIndex) const; 79 const vk::DeviceInterface& getDeviceInterface (void) const { return *m_deviceDriver; } 80 vk::VkDevice getDevice (void) const { return *m_logicalDevice; } 81 vk::Allocator& getAllocator (void) { return *m_allocator; } 82 vk::VkPhysicalDevice getPhysicalDevice (deUint32 i = 0) { return m_physicalDevices[i];} 87 vk::Move<vk::VkInstance> m_deviceGroupInstance [all...] |
/external/deqp/external/vulkancts/modules/vulkan/binding_model/ |
vktBindingShaderAccessTests.cpp | 115 std::string genPerVertexBlock (const vk::VkShaderStageFlagBits stage, const glu::GLSLVersion version) 126 case vk::VK_SHADER_STAGE_VERTEX_BIT: 130 case vk::VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT: 135 case vk::VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT: 140 case vk::VK_SHADER_STAGE_GEOMETRY_BIT: 152 bool isUniformDescriptorType (vk::VkDescriptorType type) 154 return type == vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER || 155 type == vk::VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC || 156 type == vk::VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER; 159 bool isDynamicDescriptorType (vk::VkDescriptorType type [all...] |
/external/deqp/framework/platform/null/ |
tcuNullPlatform.hpp | 37 class Platform : public tcu::Platform, private glu::Platform, private eglu::Platform, private vk::Platform 45 virtual const vk::Platform& getVulkanPlatform (void) const { return static_cast<const vk::Platform&>(*this); } 48 virtual vk::Library* createLibrary (void) const; 49 void getMemoryLimits (vk::PlatformMemoryLimits& limits) const;
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrUtil.hpp | 52 #define VK_YCBCR_FORMAT_LAST ((vk::VkFormat)(VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM+1)) 57 MultiPlaneImageData (vk::VkFormat format, const tcu::UVec2& size); 61 vk::VkFormat getFormat (void) const { return m_format; } 62 const vk::PlanarFormatDescription& getDescription (void) const { return m_description; } 75 const vk::VkFormat m_format; 76 const vk::PlanarFormatDescription m_description; 79 std::vector<deUint8> m_planeData[vk::PlanarFormatDescription::MAX_PLANES]; 82 void checkImageSupport (Context& context, vk::VkFormat format, vk::VkImageCreateFlags createFlags, vk::VkImageTiling tiling = vk::VK_IMAGE_TILING_OPTIMAL) [all...] |