Home
last modified time | relevance | path

Searched refs:imageView (Results 1 – 25 of 169) sorted by relevance

1234567

/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkDescriptorSetLayout.cpp349 vk::ImageView *imageView = vk::Cast(update->imageView); in WriteDescriptorSet() local
350 Format format = imageView->getFormat(ImageView::SAMPLING); in WriteDescriptorSet()
364 const auto &extent = imageView->getMipLevelExtent(0); in WriteDescriptorSet()
366 sampledImage[i].imageViewId = imageView->id; in WriteDescriptorSet()
369 sampledImage[i].depth = imageView->getDepthOrLayerCount(0); in WriteDescriptorSet()
370 sampledImage[i].mipLevels = imageView->getSubresourceRange().levelCount; in WriteDescriptorSet()
371 sampledImage[i].sampleCount = imageView->getSampleCount(); in WriteDescriptorSet()
372 sampledImage[i].memoryOwner = imageView; in WriteDescriptorSet()
374 auto &subresourceRange = imageView->getSubresourceRange(); in WriteDescriptorSet()
385 …texture->mipmap[0].buffer = imageView->getOffsetPointer(offset, VK_IMAGE_ASPECT_PLANE_0_BIT, level… in WriteDescriptorSet()
[all …]
DVkFramebuffer.cpp149 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment() local
153 imageView->clearWithLayerMask(attachment.clearValue, attachment.aspectMask, rect.rect, in clearAttachment()
158 imageView->clear(attachment.clearValue, attachment.aspectMask, rect); in clearAttachment()
169 ImageView *imageView = attachments[attachmentIndex]; in clearAttachment() local
173 imageView->clearWithLayerMask(attachment.clearValue, attachment.aspectMask, rect.rect, in clearAttachment()
178 imageView->clear(attachment.clearValue, attachment.aspectMask, rect); in clearAttachment()
186 void Framebuffer::setAttachment(ImageView *imageView, uint32_t index) in setAttachment() argument
190 attachments[index] = imageView; in setAttachment()
208 ImageView *imageView = attachments[subpass.pColorAttachments[i].attachment]; in resolve() local
211 imageView->resolveWithLayerMask(attachments[resolveAttachment], in resolve()
[all …]
DVkDevice.cpp424 void Device::registerImageView(ImageView *imageView) in registerImageView() argument
426 if(imageView != nullptr) in registerImageView()
429 imageViewSet.insert(imageView); in registerImageView()
433 void Device::unregisterImageView(ImageView *imageView) in unregisterImageView() argument
435 if(imageView != nullptr) in unregisterImageView()
438 auto it = imageViewSet.find(imageView); in unregisterImageView()
446 void Device::prepareForSampling(ImageView *imageView) in prepareForSampling() argument
448 if(imageView != nullptr) in prepareForSampling()
452 auto it = imageViewSet.find(imageView); in prepareForSampling()
455 imageView->prepareForSampling(); in prepareForSampling()
[all …]
DVkDevice.hpp73 void registerImageView(ImageView *imageView);
74 void unregisterImageView(ImageView *imageView);
75 void prepareForSampling(ImageView *imageView);
76 void contentsChanged(ImageView *imageView, Image::ContentsChangedContext context);
90 uint32_t imageView; member
221 return instruction == rhs.instruction && sampler == rhs.sampler && imageView == rhs.imageView; in operator ==()
230 hash = (hash * 2642239) ^ key.imageView; in operator ()()
DVkFramebuffer.hpp35 void setAttachment(ImageView *imageView, uint32_t index);
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_image_view.h248 static inline size_t vn_sizeof_vkDestroyImageView(VkDevice device, VkImageView imageView, const VkA… in vn_sizeof_vkDestroyImageView() argument
255 cmd_size += vn_sizeof_VkImageView(&imageView); in vn_sizeof_vkDestroyImageView()
263 …encoder *enc, VkCommandFlagsEXT cmd_flags, VkDevice device, VkImageView imageView, const VkAllocat… in vn_encode_vkDestroyImageView() argument
271 vn_encode_VkImageView(enc, &imageView); in vn_encode_vkDestroyImageView()
276 static inline size_t vn_sizeof_vkDestroyImageView_reply(VkDevice device, VkImageView imageView, con… in vn_sizeof_vkDestroyImageView_reply() argument
288 …ImageView_reply(struct vn_cs_decoder *dec, VkDevice device, VkImageView imageView, const VkAllocat… in vn_decode_vkDestroyImageView_reply() argument
320 …*vn_instance, VkCommandFlagsEXT cmd_flags, VkDevice device, VkImageView imageView, const VkAllocat… in vn_submit_vkDestroyImageView() argument
324 size_t cmd_size = vn_sizeof_vkDestroyImageView(device, imageView, pAllocator); in vn_submit_vkDestroyImageView()
330 …AND_GENERATE_REPLY_BIT_EXT ? vn_sizeof_vkDestroyImageView_reply(device, imageView, pAllocator) : 0; in vn_submit_vkDestroyImageView()
334 vn_encode_vkDestroyImageView(enc, cmd_flags, device, imageView, pAllocator); in vn_submit_vkDestroyImageView()
[all …]
/third_party/flutter/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp101 const GrVkImageView* imageView = nullptr; member
114 views.imageView = GrVkImageView::Create(gpu, image, info.fFormat, GrVkImageView::kColor_Type, in create_views()
116 if (!views.imageView) { in create_views()
140 views.imageView->unref(gpu); in create_views()
153 views.imageView->unref(gpu); in create_views()
169 views.imageView->unref(gpu); in create_views()
198 gpu, budgeted, desc, sampleCnt, info, std::move(layout), views.imageView, in MakeNewTextureRenderTarget()
203 gpu, budgeted, desc, info, std::move(layout), views.imageView, in MakeNewTextureRenderTarget()
231 gpu, desc, sampleCnt, info, std::move(layout), views.imageView, views.msInfo, in MakeWrappedTextureRenderTarget()
236 gpu, desc, info, std::move(layout), views.imageView, views.colorAttachmentView, in MakeWrappedTextureRenderTarget()
DGrVkImageView.h29 VkImageView imageView() const { return fImageView; } in imageView() function
38 GrVkImageView(VkImageView imageView, GrVkSamplerYcbcrConversion* ycbcrConversion) in GrVkImageView() argument
39 : INHERITED(), fImageView(imageView), fYcbcrConversion(ycbcrConversion) {} in GrVkImageView()
DGrVkStencilAttachment.cpp52 const GrVkImageView* imageView = GrVkImageView::Create(gpu, info.fImage, in Create() local
56 if (!imageView) { in Create()
63 info, std::move(layout), imageView); in Create()
64 imageView->unref(gpu); in Create()
DGrVkImageView.cpp36 VkImageView imageView; in Create() local
56 nullptr, &imageView)); in Create()
61 return new GrVkImageView(imageView, ycbcrConversion); in Create()
DGrVkTexture.cpp83 const GrVkImageView* imageView = GrVkImageView::Create( in MakeNewTexture() local
86 if (!imageView) { in MakeNewTexture()
93 imageView, mipMapsStatus)); in MakeNewTexture()
107 const GrVkImageView* imageView = GrVkImageView::Create( in MakeWrappedTexture() local
110 if (!imageView) { in MakeWrappedTexture()
119 return sk_sp<GrVkTexture>(new GrVkTexture(gpu, desc, info, std::move(layout), imageView, in MakeWrappedTexture()
DGrVkFramebuffer.cpp24 attachments[0] = colorAttachment->imageView(); in Create()
27 attachments[numAttachments++] = stencilAttachment->imageView(); in Create()
/third_party/flutter/flutter/dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/android/app/src/main/java/io/flutter/splash_screen_kitchen_sink/
DFlutterZoomSplashView.java28 private ImageView imageView; field in FlutterZoomSplashView
71 imageView = new ImageView(getContext()); in FlutterZoomSplashView()
72imageView.setImageDrawable(getResources().getDrawable(R.drawable.splash_screen, getContext().getTh… in FlutterZoomSplashView()
73 imageView.setScaleType(ImageView.ScaleType.FIT_XY); in FlutterZoomSplashView()
74 …addView(imageView, new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT… in FlutterZoomSplashView()
129 imageView.startAnimation(transitionAnimation); in animateLogoOverlay()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRenderTargetVk.cpp39 vk::ImageView *imageView, in init() argument
45 mImageView = imageView; in init()
137 void RenderTargetVk::updateSwapchainImage(vk::ImageHelper *image, vk::ImageView *imageView) in updateSwapchainImage() argument
139 ASSERT(image && image->valid() && imageView && imageView->valid()); in updateSwapchainImage()
141 mImageView = imageView; in updateSwapchainImage()
DSurfaceVk.cpp151 &imageView, 0, 1)); in initialize()
176 imageView.destroy(displayVk->getDevice()); in destroy()
184 mColorRenderTarget.init(&mColorAttachment.image, &mColorAttachment.imageView, nullptr, 0, 0); in OffscreenSurfaceVk()
186 &mDepthStencilAttachment.imageView, nullptr, 0, 0); in OffscreenSurfaceVk()
329 imageView(std::move(other.imageView)), in SwapchainImage()
649 &member.imageView, 0, 1)); in createSwapChain()
768 if (swapchainImage.imageView.valid()) in releaseSwapchainImages()
770 contextVk->releaseObject(imageSerial, &swapchainImage.imageView); in releaseSwapchainImages()
816 if (swapchainImage.imageView.valid()) in destroySwapChainImages()
818 swapchainImage.imageView.destroy(displayVk->getDevice()); in destroySwapChainImages()
[all …]
DRenderTargetVk.h47 vk::ImageView *imageView,
84 void updateSwapchainImage(vk::ImageHelper *image, vk::ImageView *imageView);
/third_party/skia/src/gpu/vk/
DGrVkImageView.h31 VkImageView imageView() const { return fImageView; } in imageView() function
41 GrVkImageView(const GrVkGpu* gpu, VkImageView imageView, in GrVkImageView() argument
43 : INHERITED(gpu), fImageView(imageView), fYcbcrConversion(ycbcrConversion) {} in GrVkImageView()
DGrVkImageView.cpp38 VkImageView imageView; in Make() local
58 GR_VK_CALL_RESULT(gpu, err, CreateImageView(gpu->device(), &viewInfo, nullptr, &imageView)); in Make()
63 return sk_sp<const GrVkImageView>(new GrVkImageView(gpu, imageView, ycbcrConversion)); in Make()
DGrVkFramebuffer.cpp29 attachments[0] = colorAttachment->framebufferView()->imageView(); in Make()
32 attachments[numAttachments++] = resolveAttachment->framebufferView()->imageView(); in Make()
35 attachments[numAttachments++] = stencilAttachment->framebufferView()->imageView(); in Make()
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DImage.hpp33 return imageView; in getImageView()
41 vk::ImageView imageView; // Owning handle member in Image
DImage.cpp54 imageView = device.createImageView(imageViewInfo); in Image()
59 device.destroyImageView(imageView); in ~Image()
DSwapchain.cpp65 for(auto &imageView : imageViews) in ~Swapchain() local
67 device.destroyImageView(imageView, nullptr); in ~Swapchain()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBindGroupVk.cpp104 writeImageInfo[numWrites].imageView = handle; in BindGroup()
127 writeImageInfo[numWrites].imageView = handle; in BindGroup()
145 writeImageInfo[numWrites].imageView = view->GetHandle(); in BindGroup()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramExecutableVk.cpp1515 const vk::ImageView *imageView = nullptr; in updateImagesDescriptorSet() local
1517 ANGLE_TRY(textureVk->getStorageImageView(contextVk, binding, &imageView)); in updateImagesDescriptorSet()
1522 imageInfos[arrayElement].imageView = imageView->getHandle(); in updateImagesDescriptorSet()
1632 const vk::ImageView *imageView = nullptr; in updateInputAttachmentDescriptorSet() local
1634 ANGLE_TRY(renderTargetVk->getImageView(contextVk, &imageView)); in updateInputAttachmentDescriptorSet()
1637 imageInfos[0].imageView = imageView->getHandle(); in updateInputAttachmentDescriptorSet()
1844 const vk::ImageView &imageView = textureVk->getFetchImageViewAndRecordUse( in updateTexturesDescriptorSet() local
1846 imageInfos[arrayElement].imageView = imageView.getHandle(); in updateTexturesDescriptorSet()
1850 const vk::ImageView &imageView = textureVk->getReadImageViewAndRecordUse( in updateTexturesDescriptorSet() local
1852 imageInfos[arrayElement].imageView = imageView.getHandle(); in updateTexturesDescriptorSet()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrFormatTests.cpp178 VkImageView imageView) in createDescriptorSet() argument
199 imageView, in createDescriptorSet()
352 …const Unique<VkImageView> imageView (createImageView(vkd, device, *image, format, *conversio… in testFormat() local
429 …escriptorSet> descSet (createDescriptorSet(vkd, device, *descPool, *descLayout, *imageView)); in testFormat()

1234567