Home
last modified time | relevance | path

Searched refs:externalTexture (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/tests/
DEGLImageTest.cpp66 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/
DExternalTextureTests.cpp171 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()
DLabelTests.cpp236 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()
DBindGroupValidationTests.cpp64 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/
DPassResourceUsageTracker.cpp128 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()
DExternalTexture.cpp85 Ref<ExternalTextureBase> externalTexture = in Create() local
87 return std::move(externalTexture); in Create()
DQueue.cpp410 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()
DBindGroup.cpp259 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/
DExternalTextureTests.cpp59 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/
DDestroyObjectTests.cpp291 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/
DWGPUHelpers.cpp329 const wgpu::ExternalTexture& externalTexture) in BindingInitializationHelper() argument
331 externalTextureBindingEntry.externalTexture = externalTexture; in BindingInitializationHelper()
350 if (externalTextureBindingEntry.externalTexture != nullptr) { in GetAsBinding()
DWGPUHelpers.h156 BindingInitializationHelper(uint32_t binding, const wgpu::ExternalTexture& externalTexture);