Home
last modified time | relevance | path

Searched refs:imageViews (Results 1 – 25 of 69) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRenderTargetVk.cpp41 vk::ImageViewHelper *imageViews, in init() argument
50 mImageViews = imageViews; in init()
72 vk::ImageViewHelper *imageViews) const in getSubresourceSerialImpl()
74 ASSERT(imageViews); in getSubresourceSerialImpl()
78 vk::ImageOrBufferViewSubresourceSerial imageViewSerial = imageViews->getSubresourceSerial( in getSubresourceSerialImpl()
164 vk::ImageViewHelper *imageViews, in getImageViewImpl() argument
167 ASSERT(image.valid() && imageViews); in getImageViewImpl()
171 return imageViews->getLevelLayerDrawImageView(contextVk, image, levelVk, mLayerIndex, mode, in getImageViewImpl()
176 return imageViews->getLevelDrawImageView(contextVk, image, levelVk, mLayerIndex, mLayerCount, in getImageViewImpl()
222 const vk::ImageViewHelper *imageViews = in getAndRetainCopyImageView() local
[all …]
DRenderTargetVk.h56 vk::ImageViewHelper *imageViews,
113 vk::ImageViewHelper *imageViews,
145 vk::ImageViewHelper *imageViews,
149 vk::ImageViewHelper *imageViews) const;
DSurfaceVk.cpp316 imageViews.init(renderer); in initialize()
328 imageViews.release(renderer); in destroy()
338 mColorRenderTarget.init(&mColorAttachment.image, &mColorAttachment.imageViews, nullptr, nullptr, in OffscreenSurfaceVk()
341 &mDepthStencilAttachment.imageViews, nullptr, nullptr, in OffscreenSurfaceVk()
371 mColorRenderTarget.init(&mColorAttachment.image, &mColorAttachment.imageViews, nullptr, in initializeImpl()
381 &mDepthStencilAttachment.imageViews, nullptr, nullptr, in initializeImpl()
548 imageViews(std::move(other.imageViews)), in SwapchainImage()
1209 member.imageViews.init(renderer); in createSwapChain()
1338 swapchainImage.imageViews.release(renderer); in releaseSwapchainImages()
1368 swapchainImage.imageViews.destroy(device); in destroySwapChainImages()
[all …]
DTextureVk.cpp2807 const vk::ImageViewHelper &imageViews = getImageViews(); in getReadImageViewAndRecordUse() local
2808 imageViews.retain(&contextVk->getResourceUseList()); in getReadImageViewAndRecordUse()
2810 if (mState.isStencilMode() && imageViews.hasStencilReadImageView()) in getReadImageViewAndRecordUse()
2812 return imageViews.getStencilReadImageView(); in getReadImageViewAndRecordUse()
2817 ASSERT(imageViews.getSRGBReadImageView().valid()); in getReadImageViewAndRecordUse()
2818 return imageViews.getSRGBReadImageView(); in getReadImageViewAndRecordUse()
2821 ASSERT(imageViews.getLinearReadImageView().valid()); in getReadImageViewAndRecordUse()
2822 return imageViews.getLinearReadImageView(); in getReadImageViewAndRecordUse()
2831 const vk::ImageViewHelper &imageViews = getImageViews(); in getFetchImageViewAndRecordUse() local
2832 imageViews.retain(&contextVk->getResourceUseList()); in getFetchImageViewAndRecordUse()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DSwapchain.cpp46 imageViews.resize(images.size()); in Swapchain()
47 for(size_t i = 0; i < imageViews.size(); i++) in Swapchain()
59 imageViews[i] = device.createImageView(colorAttachmentView); in Swapchain()
65 for(auto &imageView : imageViews) in ~Swapchain()
DSwapchain.hpp39 return imageViews[i]; in getImageView()
56 std::vector<vk::ImageView> imageViews; // Owning handles member in Swapchain
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/
DvktDeviceObjectReservationTests.cpp1520 std::vector<ImageViewSp> imageViews(VERIFYMAXVALUES_OBJECT_COUNT); in performTest() local
1521 createImageViews(vkd, device, image.get(), begin(imageViews), end(imageViews)); in performTest()
1522 std::fill(begin(imageViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(imageViews), ImageViewSp()); in performTest()
1523 …teImageViews(vkd, device, image.get(), begin(imageViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(i… in performTest()
1524 std::fill(begin(imageViews), end(imageViews), ImageViewSp()); in performTest()
1525 createImageViews(vkd, device, image.get(), begin(imageViews), end(imageViews)); in performTest()
1554 std::vector<ImageViewSp> imageViews(VERIFYMAXVALUES_OBJECT_COUNT); in performTest() local
1555 createImageViews(vkd, device, image.get(), begin(imageViews), end(imageViews)); in performTest()
1556 std::fill(begin(imageViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(imageViews), ImageViewSp()); in performTest()
1557 …teImageViews(vkd, device, image.get(), begin(imageViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(i… in performTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/
DvktDeviceObjectReservationTests.cpp1520 std::vector<ImageViewSp> imageViews(VERIFYMAXVALUES_OBJECT_COUNT); in performTest() local
1521 createImageViews(vkd, device, image.get(), begin(imageViews), end(imageViews)); in performTest()
1522 std::fill(begin(imageViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(imageViews), ImageViewSp()); in performTest()
1523 …teImageViews(vkd, device, image.get(), begin(imageViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(i… in performTest()
1524 std::fill(begin(imageViews), end(imageViews), ImageViewSp()); in performTest()
1525 createImageViews(vkd, device, image.get(), begin(imageViews), end(imageViews)); in performTest()
1554 std::vector<ImageViewSp> imageViews(VERIFYMAXVALUES_OBJECT_COUNT); in performTest() local
1555 createImageViews(vkd, device, image.get(), begin(imageViews), end(imageViews)); in performTest()
1556 std::fill(begin(imageViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(imageViews), ImageViewSp()); in performTest()
1557 …teImageViews(vkd, device, image.get(), begin(imageViews) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(i… in performTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiDisplayControlTests.cpp410 std::vector<VkImageView> imageViews, in initFramebuffers() argument
415 DE_ASSERT(framebuffers.size() == imageViews.size()); in initFramebuffers()
427 &imageViews[ndx], in initFramebuffers()
483 std::vector<VkImageView>& imageViews) in initImageViews() argument
485 DE_ASSERT(images.size() == imageViews.size()); in initImageViews()
487 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in initImageViews()
488 imageViews[ndx] = createImageView(vkd, device, images[ndx], format).disown(); in initImageViews()
493 std::vector<VkImageView>& imageViews) in deinitImageViews() argument
495 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in deinitImageViews()
497 if (imageViews[ndx] != (VkImageView)0) in deinitImageViews()
[all …]
DvktWsiIncrementalPresentTests.cpp452 std::vector<vk::VkImageView> imageViews, in initFramebuffers() argument
457 DE_ASSERT(framebuffers.size() == imageViews.size()); in initFramebuffers()
460 …framebuffers[ndx] = createFramebuffer(vkd, device, renderPass, imageViews[ndx], width, height).dis… in initFramebuffers()
509 std::vector<vk::VkImageView>& imageViews) in initImageViews() argument
511 DE_ASSERT(images.size() == imageViews.size()); in initImageViews()
513 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in initImageViews()
514 imageViews[ndx] = createImageView(vkd, device, images[ndx], format).disown(); in initImageViews()
519 std::vector<vk::VkImageView>& imageViews) in deinitImageViews() argument
521 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in deinitImageViews()
523 if (imageViews[ndx] != (vk::VkImageView)0) in deinitImageViews()
[all …]
DvktWsiDisplayTimingTests.cpp372 std::vector<vk::VkImageView> imageViews, in initFramebuffers() argument
377 DE_ASSERT(framebuffers.size() == imageViews.size()); in initFramebuffers()
380 …framebuffers[ndx] = createFramebuffer(vkd, device, renderPass, imageViews[ndx], width, height).dis… in initFramebuffers()
429 std::vector<vk::VkImageView>& imageViews) in initImageViews() argument
431 DE_ASSERT(images.size() == imageViews.size()); in initImageViews()
433 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in initImageViews()
434 imageViews[ndx] = createImageView(vkd, device, images[ndx], format).disown(); in initImageViews()
439 std::vector<vk::VkImageView>& imageViews) in deinitImageViews() argument
441 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in deinitImageViews()
443 if (imageViews[ndx] != (vk::VkImageView)0) in deinitImageViews()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiDisplayControlTests.cpp410 std::vector<VkImageView> imageViews, in initFramebuffers() argument
415 DE_ASSERT(framebuffers.size() == imageViews.size()); in initFramebuffers()
427 &imageViews[ndx], in initFramebuffers()
483 std::vector<VkImageView>& imageViews) in initImageViews() argument
485 DE_ASSERT(images.size() == imageViews.size()); in initImageViews()
487 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in initImageViews()
488 imageViews[ndx] = createImageView(vkd, device, images[ndx], format).disown(); in initImageViews()
493 std::vector<VkImageView>& imageViews) in deinitImageViews() argument
495 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in deinitImageViews()
497 if (imageViews[ndx] != (VkImageView)0) in deinitImageViews()
[all …]
DvktWsiDisplayTimingTests.cpp372 std::vector<vk::VkImageView> imageViews, in initFramebuffers() argument
377 DE_ASSERT(framebuffers.size() == imageViews.size()); in initFramebuffers()
380 …framebuffers[ndx] = createFramebuffer(vkd, device, renderPass, imageViews[ndx], width, height).dis… in initFramebuffers()
429 std::vector<vk::VkImageView>& imageViews) in initImageViews() argument
431 DE_ASSERT(images.size() == imageViews.size()); in initImageViews()
433 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in initImageViews()
434 imageViews[ndx] = createImageView(vkd, device, images[ndx], format).disown(); in initImageViews()
439 std::vector<vk::VkImageView>& imageViews) in deinitImageViews() argument
441 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in deinitImageViews()
443 if (imageViews[ndx] != (vk::VkImageView)0) in deinitImageViews()
[all …]
DvktWsiIncrementalPresentTests.cpp452 std::vector<vk::VkImageView> imageViews, in initFramebuffers() argument
457 DE_ASSERT(framebuffers.size() == imageViews.size()); in initFramebuffers()
460 …framebuffers[ndx] = createFramebuffer(vkd, device, renderPass, imageViews[ndx], width, height).dis… in initFramebuffers()
509 std::vector<vk::VkImageView>& imageViews) in initImageViews() argument
511 DE_ASSERT(images.size() == imageViews.size()); in initImageViews()
513 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in initImageViews()
514 imageViews[ndx] = createImageView(vkd, device, images[ndx], format).disown(); in initImageViews()
519 std::vector<vk::VkImageView>& imageViews) in deinitImageViews() argument
521 for (size_t ndx = 0; ndx < imageViews.size(); ndx++) in deinitImageViews()
523 if (imageViews[ndx] != (vk::VkImageView)0) in deinitImageViews()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktRenderPassLoadStoreOpNoneTests.cpp387 std::vector<Move<VkImageView>>& imageViews,
585 std::vector<Move<VkImageView>>& imageViews, in createCommandBuffer() argument
626 for (size_t i = 0; i < imageViews.size(); i++) in createCommandBuffer()
635 *imageViews[i], // VkImageView imageView; in createCommandBuffer()
638 *imageViews[i + 1], // VkImageView resolveImageView; in createCommandBuffer()
653 *imageViews[i], // VkImageView imageView; in createCommandBuffer()
670 depthAttachment.imageView = *imageViews[i]; in createCommandBuffer()
673 stencilAttachment.imageView = *imageViews[i]; in createCommandBuffer()
841 std::vector<Move<VkImageView>> imageViews; in iterate() local
915 imageViews.push_back(createImageView(vk, vkDevice, &imageViewParams)); in iterate()
[all …]
DvktRenderPassUnusedClearAttachmentTests.cpp703 std::vector<VkImageView> imageViews; in UnusedClearAttachmentTestInstance() local
706 imageViews.push_back(movePtr.get()); in UnusedClearAttachmentTestInstance()
709 imageViews.push_back(m_depthAttachmentView.get()); in UnusedClearAttachmentTestInstance()
717 static_cast<deUint32>(imageViews.size()), // deUint32 attachmentCount; in UnusedClearAttachmentTestInstance()
718 (imageViews.empty() ? DE_NULL : imageViews.data()), // const VkImageView* pAttachments; in UnusedClearAttachmentTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassLoadStoreOpNoneTests.cpp387 std::vector<Move<VkImageView>>& imageViews,
585 std::vector<Move<VkImageView>>& imageViews, in createCommandBuffer() argument
626 for (size_t i = 0; i < imageViews.size(); i++) in createCommandBuffer()
635 *imageViews[i], // VkImageView imageView; in createCommandBuffer()
638 *imageViews[i + 1], // VkImageView resolveImageView; in createCommandBuffer()
653 *imageViews[i], // VkImageView imageView; in createCommandBuffer()
670 depthAttachment.imageView = *imageViews[i]; in createCommandBuffer()
673 stencilAttachment.imageView = *imageViews[i]; in createCommandBuffer()
841 std::vector<Move<VkImageView>> imageViews; in iterate() local
915 imageViews.push_back(createImageView(vk, vkDevice, &imageViewParams)); in iterate()
[all …]
DvktRenderPassUnusedClearAttachmentTests.cpp703 std::vector<VkImageView> imageViews; in UnusedClearAttachmentTestInstance() local
706 imageViews.push_back(movePtr.get()); in UnusedClearAttachmentTestInstance()
709 imageViews.push_back(m_depthAttachmentView.get()); in UnusedClearAttachmentTestInstance()
717 static_cast<deUint32>(imageViews.size()), // deUint32 attachmentCount; in UnusedClearAttachmentTestInstance()
718 (imageViews.empty() ? DE_NULL : imageViews.data()), // const VkImageView* pAttachments; in UnusedClearAttachmentTestInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp348 std::vector<VkImageView> imageViews(firstSubpassAttachmentsCount + numSamples); in iterate() local
353 imageViews[0] = **imageViewsShPtrs[0]; in iterate()
354 imageViews[1] = **imageViewsShPtrs[1]; in iterate()
359imageViews[firstSubpassAttachmentsCount + sampleNdx] = **imageViewsShPtrs[firstSubpassAttachmentsC… in iterate()
369 …static_cast<deUint32>(imageViews.size()), // uint32_t attachmen… in iterate()
370 dataPointer(imageViews), // const VkImageView* pAttachments; in iterate()
536 …const VkDescriptorImageInfo descImageInfo = makeDescriptorImageInfo(DE_NULL, imageViews[0], VK_I… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineMultisampleBaseResolveAndPerSampleFetch.cpp348 std::vector<VkImageView> imageViews(firstSubpassAttachmentsCount + numSamples); in iterate() local
353 imageViews[0] = **imageViewsShPtrs[0]; in iterate()
354 imageViews[1] = **imageViewsShPtrs[1]; in iterate()
359imageViews[firstSubpassAttachmentsCount + sampleNdx] = **imageViewsShPtrs[firstSubpassAttachmentsC… in iterate()
369 …static_cast<deUint32>(imageViews.size()), // uint32_t attachmen… in iterate()
370 dataPointer(imageViews), // const VkImageView* pAttachments; in iterate()
536 …const VkDescriptorImageInfo descImageInfo = makeDescriptorImageInfo(DE_NULL, imageViews[0], VK_I… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiGranularityTests.cpp280 std::vector<VkImageView> imageViews; in initRenderPass() local
283 imageViews.push_back(it->get()->get()); in initRenderPass()
291 (deUint32)imageViews.size(), // deUint32 attachmentCount; in initRenderPass()
292 &imageViews[0], // const VkImageView* pAttachments; in initRenderPass()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiGranularityTests.cpp280 std::vector<VkImageView> imageViews; in initRenderPass() local
283 imageViews.push_back(it->get()->get()); in initRenderPass()
291 (deUint32)imageViews.size(), // deUint32 attachmentCount; in initRenderPass()
292 &imageViews[0], // const VkImageView* pAttachments; in initRenderPass()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/rasterization/
DvktRasterizationFragShaderSideEffectsTests.cpp425 std::vector<vk::VkImageView> imageViews(1u, colorImageView.get()); in iterate() local
427 imageViews.push_back(depthStencilImageView.get()); in iterate()
429 …ebuffer(vkd, device, renderPass.get(), static_cast<deUint32>(imageViews.size()), imageViews.data()… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationFragShaderSideEffectsTests.cpp425 std::vector<vk::VkImageView> imageViews(1u, colorImageView.get()); in iterate() local
427 imageViews.push_back(depthStencilImageView.get()); in iterate()
429 …ebuffer(vkd, device, renderPass.get(), static_cast<deUint32>(imageViews.size()), imageViews.data()… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawAhbTests.cpp372 vector<Move<VkImageView>> imageViews; in iterate() local
399 imageViews.push_back(createImageView(vk, device, &imageViewCreateInfo)); in iterate()
400 colorAttachments.push_back(*imageViews.back()); in iterate()

123