/third_party/skia/tests/ |
D | EGLImageTest.cpp | 66 GrGLTextureInfo externalTexture; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local 67 externalTexture.fID = 0; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 70 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 76 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 92 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 104 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 112 cleanup(glCtx0, externalTexture.fID, glCtx1.get(), context1, image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 142 externalTexture.fTarget = GR_GL_TEXTURE_EXTERNAL; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 143 externalTexture.fID = glCtx0->eglImageToExternalTexture(image); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 144 externalTexture.fFormat = GR_GL_RGBA8; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | ExternalTextureTests.cpp | 171 wgpu::ExternalTexture externalTexture = device.CreateExternalTexture(&externalDesc); in TEST_F() local 176 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, externalTexture}}); in TEST_F() 201 externalTexture.Destroy(); in TEST_F() 223 wgpu::ExternalTexture externalTexture = device.CreateExternalTexture(&externalDesc); in TEST_F() local 228 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, externalTexture}}); in TEST_F() 275 wgpu::ExternalTexture externalTexture = device.CreateExternalTexture(&externalDesc); in TEST_F() local 280 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, externalTexture}}); in TEST_F() 300 externalTexture.Destroy(); in TEST_F() 322 wgpu::ExternalTexture externalTexture = device.CreateExternalTexture(&externalDesc); in TEST_F() local 327 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, externalTexture}}); in TEST_F()
|
D | LabelTests.cpp | 236 wgpu::ExternalTexture externalTexture = device.CreateExternalTexture(&descriptor); in TEST_F() local 237 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(externalTexture.Get()); in TEST_F() 243 wgpu::ExternalTexture externalTexture = device.CreateExternalTexture(&descriptor); in TEST_F() local 244 externalTexture.SetLabel(label.c_str()); in TEST_F() 245 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(externalTexture.Get()); in TEST_F() 252 wgpu::ExternalTexture externalTexture = device.CreateExternalTexture(&descriptor); in TEST_F() local 253 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(externalTexture.Get()); in TEST_F()
|
D | BindGroupValidationTests.cpp | 64 mExternalTextureBindingEntry.externalTexture = mExternalTexture; in SetUp() 315 wgpu::ExternalTexture externalTexture = device.CreateExternalTexture(&externalDesc); in TEST_F() local 339 externalBindingEntry.externalTexture = externalTexture; in TEST_F() 369 errorExternalBindingEntry.externalTexture = errorExternalTexture; in TEST_F() 379 externalBindingEntry2.externalTexture = externalTexture2; in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | PassResourceUsageTracker.cpp | 128 ExternalTextureBase* externalTexture = in AddBindGroup() local 132 externalTexture->GetTextureViews(); in AddBindGroup() 139 mExternalTextureUsages.insert(externalTexture); in AddBindGroup() 203 ExternalTextureBase* externalTexture = in AddResourcesReferencedByBindGroup() local 206 externalTexture->GetTextureViews(); in AddResourcesReferencedByBindGroup() 213 mUsage.referencedExternalTextures.insert(externalTexture); in AddResourcesReferencedByBindGroup()
|
D | ExternalTexture.cpp | 85 Ref<ExternalTextureBase> externalTexture = in Create() local 87 return std::move(externalTexture); in Create()
|
D | Queue.cpp | 410 for (const ExternalTextureBase* externalTexture : scope.externalTextures) { in ValidateSubmit() local 411 DAWN_TRY(externalTexture->ValidateCanUseInSubmitNow()); in ValidateSubmit() 422 for (const ExternalTextureBase* externalTexture : pass.referencedExternalTextures) { in ValidateSubmit() local 423 DAWN_TRY(externalTexture->ValidateCanUseInSubmitNow()); in ValidateSubmit()
|
D | BindGroup.cpp | 259 DAWN_TRY(device->ValidateObject(externalTextureBindingEntry->externalTexture)); in ValidateExternalTextureBinding() 384 mBindingData.bindings[bindingIndex] = externalTextureBindingEntry->externalTexture; in BindGroupBase()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ExternalTextureTests.cpp | 59 wgpu::ExternalTexture externalTexture = device.CreateExternalTexture(&externalDesc); in TEST_P() local 61 ASSERT_NE(externalTexture.Get(), nullptr); in TEST_P() 112 wgpu::ExternalTexture externalTexture = device.CreateExternalTexture(&externalDesc); in TEST_P() local 121 utils::MakeBindGroup(device, bgl, {{0, sampler}, {1, externalTexture}}); in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
D | DestroyObjectTests.cpp | 291 Ref<ExternalTextureBase> externalTexture; in TEST_F() local 292 DAWN_ASSERT_AND_ASSIGN(externalTexture, mDevice.CreateExternalTexture(&desc)); in TEST_F() 294 EXPECT_TRUE(externalTexture->IsAlive()); in TEST_F() 638 Ref<ExternalTextureBase> externalTexture; in TEST_F() local 641 DAWN_ASSERT_AND_ASSIGN(externalTexture, mDevice.CreateExternalTexture(&desc)); in TEST_F() 642 EXPECT_TRUE(externalTexture->IsAlive()); in TEST_F() 746 EXPECT_FALSE(externalTexture->IsAlive()); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
D | WGPUHelpers.cpp | 329 const wgpu::ExternalTexture& externalTexture) in BindingInitializationHelper() argument 331 externalTextureBindingEntry.externalTexture = externalTexture; in BindingInitializationHelper() 350 if (externalTextureBindingEntry.externalTexture != nullptr) { in GetAsBinding()
|
D | WGPUHelpers.h | 156 BindingInitializationHelper(uint32_t binding, const wgpu::ExternalTexture& externalTexture);
|