Home
last modified time | relevance | path

Searched refs:textureView (Results 1 - 25 of 50) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DExternalTexture.cpp25 MaybeError ValidateExternalTexturePlane(const TextureViewBase* textureView, in ValidateExternalTexturePlane() argument
27 if (textureView->GetFormat().format != format) { in ValidateExternalTexturePlane()
34 (textureView->GetTexture()->GetUsage() & wgpu::TextureUsage::TextureBinding) == 0, in ValidateExternalTexturePlane()
36 textureView, textureView->GetTexture()->GetUsage(), wgpu::TextureUsage::TextureBinding); in ValidateExternalTexturePlane()
38 DAWN_INVALID_IF(textureView->GetDimension() != wgpu::TextureViewDimension::e2D, in ValidateExternalTexturePlane()
39 "The external texture plane (%s) dimension (%s) is not 2D.", textureView, in ValidateExternalTexturePlane()
40 textureView->GetDimension()); in ValidateExternalTexturePlane()
42 DAWN_INVALID_IF(textureView->GetLevelCount() > 1, in ValidateExternalTexturePlane()
44 textureView, textureVie in ValidateExternalTexturePlane()
[all...]
H A DBindGroup.cpp41 DAWN_INVALID_IF(entry.sampler != nullptr || entry.textureView != nullptr, in ValidateBufferBinding()
122 DAWN_INVALID_IF(entry.textureView == nullptr, "Binding entry textureView not set."); in ValidateTextureBinding()
125 "Expected only textureView to be set for binding entry."); in ValidateTextureBinding()
129 DAWN_TRY(device->ValidateObject(entry.textureView)); in ValidateTextureBinding()
131 TextureViewBase* view = entry.textureView; in ValidateTextureBinding()
160 entry.textureView->GetDimension() != bindingInfo.texture.viewDimension, in ValidateTextureBinding()
162 entry.textureView->GetDimension(), entry.textureView, in ValidateTextureBinding()
180 entry.textureView in ValidateTextureBinding()
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
H A DBindGroupGL.cpp34 ASSERT(entry.textureView != nullptr); in ValidateGLBindGroupDescriptor()
35 const uint32_t textureViewLayerCount = entry.textureView->GetLayerCount(); in ValidateGLBindGroupDescriptor()
38 textureViewLayerCount != entry.textureView->GetTexture()->GetArrayLayers(), in ValidateGLBindGroupDescriptor()
41 entry.textureView, textureViewLayerCount, in ValidateGLBindGroupDescriptor()
42 entry.textureView->GetTexture()->GetArrayLayers()); in ValidateGLBindGroupDescriptor()
H A DCommandBufferGL.cpp996 TextureViewBase* textureView = renderPass->colorAttachments[i].view.Get(); in ExecuteRenderPass() local
997 GLuint texture = ToBackend(textureView->GetTexture())->GetHandle(); in ExecuteRenderPass()
1002 if (textureView->GetTexture()->GetArrayLayers() == 1) { in ExecuteRenderPass()
1003 GLenum target = ToBackend(textureView->GetTexture())->GetGLTarget(); in ExecuteRenderPass()
1005 textureView->GetBaseMipLevel()); in ExecuteRenderPass()
1008 textureView->GetBaseMipLevel(), in ExecuteRenderPass()
1009 textureView->GetBaseArrayLayer()); in ExecuteRenderPass()
1018 TextureViewBase* textureView = renderPass->depthStencilAttachment.view.Get(); in ExecuteRenderPass() local
1019 GLuint texture = ToBackend(textureView->GetTexture())->GetHandle(); in ExecuteRenderPass()
1020 const Format& format = textureView in ExecuteRenderPass()
[all...]
/third_party/skia/src/gpu/vk/
H A DGrVkImage.cpp97 sk_sp<const GrVkImageView>* textureView) { in make_views()
118 *textureView = GrVkImageView::Make(gpu, in make_views()
124 if (!*textureView) { in make_views()
158 sk_sp<const GrVkImageView> textureView; in Make() local
159 if (!make_views(gpu, info, attachmentUsages, &framebufferView, &textureView)) { in Make()
172 std::move(textureView), in Make()
185 sk_sp<const GrVkImageView> textureView; in MakeWrapped() local
187 if (!make_views(gpu, info, attachmentUsages, &framebufferView, &textureView)) { in MakeWrapped()
202 std::move(textureView), in MakeWrapped()
221 sk_sp<const GrVkImageView> textureView, in GrVkImage()
93 make_views(GrVkGpu* gpu, const GrVkImageInfo& info, GrAttachment::UsageFlags attachmentUsages, sk_sp<const GrVkImageView>* framebufferView, sk_sp<const GrVkImageView>* textureView) make_views() argument
215 GrVkImage(GrVkGpu* gpu, SkISize dimensions, UsageFlags supportedUsages, const GrVkImageInfo& info, sk_sp<GrBackendSurfaceMutableStateImpl> mutableState, sk_sp<const GrVkImageView> framebufferView, sk_sp<const GrVkImageView> textureView, SkBudgeted budgeted) GrVkImage() argument
246 GrVkImage(GrVkGpu* gpu, SkISize dimensions, UsageFlags supportedUsages, const GrVkImageInfo& info, sk_sp<GrBackendSurfaceMutableStateImpl> mutableState, sk_sp<const GrVkImageView> framebufferView, sk_sp<const GrVkImageView> textureView, GrBackendObjectOwnership ownership, GrWrapCacheable cacheable, bool forSecondaryCB) GrVkImage() argument
[all...]
H A DGrVkPipelineState.cpp158 commandBuffer->addResource(texAttachment->textureView()); in setAndBindTextures()
180 const GrVkImageView* textureView = texAttachment->textureView(); in setAndBindTextures() local
197 imageInfo.imageView = textureView->imageView(); in setAndBindTextures()
219 commandBuffer->addResource(textureView); in setAndBindTextures()
H A DGrVkImage.h105 const GrVkImageView* textureView() const { return fTextureView.get(); } in textureView() function in GrVkImage
238 sk_sp<const GrVkImageView> textureView,
247 sk_sp<const GrVkImageView> textureView,
H A DGrVkTexture.cpp176 const GrVkImageView* GrVkTexture::textureView() { return fTexture->textureView(); } in textureView() function in GrVkTexture
H A DGrVkTexture.h49 const GrVkImageView* textureView();
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/
H A DWGPUHelpers.cpp145 const Ref<TextureViewBase>& textureView) in BindingInitializationHelper()
146 : binding(binding), textureView(textureView) { in BindingInitializationHelper()
163 result.textureView = textureView.Get(); in GetAsBinding()
143 BindingInitializationHelper( uint32_t binding, const Ref<TextureViewBase>& textureView) BindingInitializationHelper() argument
H A DWGPUHelpers.h97 BindingInitializationHelper(uint32_t binding, const Ref<TextureViewBase>& textureView);
108 Ref<TextureViewBase> textureView; member
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DTextureViewTests.cpp170 void Verify(const wgpu::TextureView& textureView, const char* fragmentShader, int expected) { in Verify() argument
181 {{0, mSampler}, {1, textureView}}); in Verify()
219 wgpu::TextureView textureView = mTexture.CreateView(&descriptor); in Texture2DViewTest()
232 Verify(textureView, fragmentShader, expected); in Texture2DViewTest()
257 wgpu::TextureView textureView = mTexture.CreateView(&descriptor);
275 Verify(textureView, fragmentShader, expected);
366 wgpu::TextureView textureView = mTexture.CreateView(&descriptor);
382 Verify(textureView, fragmentShader, expected);
492 wgpu::TextureView textureView = texture.CreateView(&descriptor);
496 // Clear textureView wit
[all...]
H A DTexture3DTests.cpp72 wgpu::TextureView textureView = texture.CreateView(); in TEST_P() local
99 {{0, sampler}, {1, textureView}}); in TEST_P()
H A DD3D12VideoViewsTests.cpp296 wgpu::TextureView textureView = wgpuTexture.CreateView(&viewDesc); in TEST_P() local
325 {{0, sampler}, {1, textureView}})); in TEST_P()
348 wgpu::TextureView textureView = wgpuTexture.CreateView(&viewDesc); in TEST_P() local
378 {{0, sampler}, {1, textureView}})); in TEST_P()
H A DBindGroupTests.cpp301 wgpu::TextureView textureView = texture.CreateView(); in TEST_P() local
317 {{0, buffer, 0, sizeof(transform)}, {1, sampler}, {2, textureView}}); in TEST_P()
1606 wgpu::TextureView textureView = texture.CreateView(); in TEST_P() local
1609 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, textureView}}); in TEST_P()
1615 wgpu::TextureView textureView = texture.CreateView(); in TEST_P() local
1617 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, textureView}}); in TEST_P()
1635 wgpu::TextureView textureView = texture.CreateView(); in TEST_P() local
1638 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, textureView}}); in TEST_P()
1644 wgpu::TextureView textureView = texture.CreateView(); in TEST_P() local
1646 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, textureView}}); in TEST_P()
[all...]
/third_party/skia/third_party/externals/dawn/src/utils/
H A DWGPUHelpers.cpp323 const wgpu::TextureView& textureView) in BindingInitializationHelper()
324 : binding(binding), textureView(textureView) { in BindingInitializationHelper()
346 result.textureView = textureView; in GetAsBinding()
322 BindingInitializationHelper(uint32_t binding, const wgpu::TextureView& textureView) BindingInitializationHelper() argument
H A DWGPUHelpers.h155 BindingInitializationHelper(uint32_t binding, const wgpu::TextureView& textureView);
166 wgpu::TextureView textureView; member
/third_party/skia/src/gpu/dawn/
H A DGrDawnProgramBuilder.cpp231 const wgpu::TextureView& textureView) { in make_bind_group_entry()
238 result.textureView = textureView; in make_bind_group_entry()
248 const wgpu::TextureView& textureView) { in make_bind_group_entry()
249 return make_bind_group_entry(binding, nullptr, textureView); in make_bind_group_entry()
491 wgpu::TextureView textureView = tex->texture().CreateView(&viewDesc); in set_texture() local
492 bindings->push_back(make_bind_group_entry((*binding)++, textureView)); in set_texture()
229 make_bind_group_entry(uint32_t binding, const wgpu::Sampler& sampler, const wgpu::TextureView& textureView) make_bind_group_entry() argument
247 make_bind_group_entry(uint32_t binding, const wgpu::TextureView& textureView) make_bind_group_entry() argument
H A DGrDawnRenderTarget.h32 wgpu::TextureView textureView() const { return fInfo.fTextureView; } in textureView() function in GrDawnRenderTarget
H A DGrDawnProgramDataManager.cpp38 result.textureView = nullptr; in make_bind_group_entry()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DLabelTests.cpp477 wgpu::TextureView textureView = texture.CreateView(); in TEST_F() local
478 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(textureView.Get()); in TEST_F()
484 wgpu::TextureView textureView = texture.CreateView(); in TEST_F() local
485 textureView.SetLabel(label.c_str()); in TEST_F()
486 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(textureView.Get()); in TEST_F()
494 wgpu::TextureView textureView = texture.CreateView(&viewDescriptor); in TEST_F() local
495 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(textureView.Get()); in TEST_F()
H A DBindGroupValidationTests.cpp147 binding.textureView = nullptr; in TEST_F()
165 binding.textureView = mSampledTextureView; in TEST_F()
167 binding.textureView = nullptr; in TEST_F()
201 binding.textureView = nullptr; in TEST_F()
215 binding.textureView = mSampledTextureView; in TEST_F()
246 binding.textureView = errorView; in TEST_F()
248 binding.textureView = nullptr; in TEST_F()
260 binding.textureView = nullptr; in TEST_F()
278 binding.textureView = mSampledTextureView; in TEST_F()
280 binding.textureView in TEST_F()
[all...]
H A DStorageTextureValidationTests.cpp540 wgpu::TextureView textureView = in TEST_F() local
543 utils::MakeBindGroup(device, bindGroupLayout, {{0, textureView}}); in TEST_F()
569 wgpu::TextureView textureView = in TEST_F() local
575 utils::MakeBindGroup(device, bindGroupLayout, {{0, textureView}}); in TEST_F()
578 utils::MakeBindGroup(device, bindGroupLayout, {{0, textureView}})); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
H A DDestroyObjectTests.cpp537 Ref<TextureViewBase> textureView; in TEST_F() local
540 DAWN_ASSERT_AND_ASSIGN(textureView, in TEST_F()
543 EXPECT_TRUE(textureView->IsAlive()); in TEST_F()
730 Ref<TextureViewBase> textureView; in TEST_F() local
735 DAWN_ASSERT_AND_ASSIGN(textureView, in TEST_F()
737 EXPECT_TRUE(textureView->IsAlive()); in TEST_F()
754 EXPECT_FALSE(textureView->IsAlive()); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
H A DWireOptionalTests.cpp37 // The `sampler`, `textureView` and `buffer` members of a binding are optional. in TEST_F()
41 entry.textureView = nullptr; in TEST_F()
59 desc->entries[0].textureView == nullptr; in TEST_F()

Completed in 25 milliseconds

12