Home
last modified time | relevance | path

Searched refs:dstTexture (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVideoViewsValidationTests.cpp123 wgpu::Texture dstTexture = CreateVideoTextureForTest( in TEST_F() local
128 wgpu::ImageCopyTexture copyDst = utils::CreateImageCopyTexture(dstTexture, 0, {0, 0, 0}); in TEST_F()
142 wgpu::Texture dstTexture = CreateVideoTextureForTest( in TEST_F() local
149 dstTexture, 0, {0, 0, 0}, wgpu::TextureAspect::Plane1Only); in TEST_F()
230 wgpu::Texture dstTexture = CreateVideoTextureForTest( in TEST_F() local
235 wgpu::ImageCopyTexture copyDst = utils::CreateImageCopyTexture(dstTexture, 0, {0, 0, 0}); in TEST_F()
251 wgpu::Texture dstTexture = CreateVideoTextureForTest( in TEST_F() local
257 dstTexture, 0, {0, 0, 0}, wgpu::TextureAspect::Plane0Only); in TEST_F()
267 copyDst = utils::CreateImageCopyTexture(dstTexture, 0, {0, 0, 0}, in TEST_F()
DCopyTextureForBrowserTests.cpp49 wgpu::Texture dstTexture, in TestCopyTextureForBrowser() argument
57 utils::CreateImageCopyTexture(dstTexture, dstLevel, dstOrigin, aspect); in TestCopyTextureForBrowser()
/third_party/skia/src/gpu/d3d/
DGrD3DCommandList.cpp160 const GrD3DTextureResource* dstTexture, in copyBufferToTexture() argument
168 this->addResource(dstTexture->resource()); in copyBufferToTexture()
177 dst.pResource = dstTexture->d3dResource(); in copyBufferToTexture()
223 ID3D12Resource* dstTexture = dst->d3dResource(); in copyTextureToTexture() local
226 fCommandList->CopyResource(dstTexture, srcTexture); in copyTextureToTexture()
236 dstLoc.pResource = dstTexture; in copyTextureToTexture()
504 void GrD3DDirectCommandList::resolveSubresourceRegion(const GrD3DTextureResource* dstTexture, in resolveSubresourceRegion() argument
508 SkASSERT(dstTexture->dxgiFormat() == srcTexture->dxgiFormat()); in resolveSubresourceRegion()
509 SkASSERT(dstTexture->currentState() == D3D12_RESOURCE_STATE_RESOLVE_DEST); in resolveSubresourceRegion()
512 this->addResource(dstTexture->resource()); in resolveSubresourceRegion()
[all …]
DGrD3DCommandList.h69 const GrD3DTextureResource* dstTexture,
191 void resolveSubresourceRegion(const GrD3DTextureResource* dstTexture,
DGrD3DPipelineState.cpp113 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in setAndBindTextures() local
114 auto texture = static_cast<GrD3DTexture*>(dstTexture); in setAndBindTextures()
DGrD3DOpsRenderPass.cpp232 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in onBindTextures() local
233 update_resource_state(dstTexture, fRenderTarget, fGpu); in onBindTextures()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCopyTextureForBrowserTests.cpp322 wgpu::Texture dstTexture, in RunCopyExternalImageToTexture() argument
328 utils::CreateImageCopyTexture(dstTexture, dstSpec.level, dstSpec.copyOrigin); in RunCopyExternalImageToTexture()
336 wgpu::Texture dstTexture, in CheckResultInBuiltInComputePipeline() argument
369 wgpu::TextureView dstTextureView = dstTexture.CreateView(&dstTextureViewDesc); in CheckResultInBuiltInComputePipeline()
428 wgpu::Texture dstTexture; local
444 dstTexture = CreateAndInitTexture(dstSpec, dstUsage, dstCopyLayout,
448 dstTexture = CreateTexture(dstSpec, dstUsage);
452 RunCopyExternalImageToTexture(srcSpec, srcTexture, dstSpec, dstTexture, copySize, options);
455 CheckResultInBuiltInComputePipeline(srcSpec, srcTexture, dstSpec, dstTexture, copySize,
530 wgpu::Texture dstTexture = CreateTexture( in DoColorConversionTest() local
[all …]
DTextureZeroInitTests.cpp387 wgpu::Texture dstTexture = device.CreateTexture(&dstDescriptor); in TEST_P() local
390 utils::CreateImageCopyTexture(dstTexture, 0, {0, 0, 0}); in TEST_P()
402 EXPECT_TEXTURE_EQ(expected.data(), dstTexture, {0, 0}, {kSize, kSize}); in TEST_P()
406 EXPECT_EQ(true, dawn_native::IsTextureSubresourceInitialized(dstTexture.Get(), 0, 1, 0, 1)); in TEST_P()
443 wgpu::Texture dstTexture = device.CreateTexture(&dstDescriptor); in TEST_P() local
446 utils::CreateImageCopyTexture(dstTexture, 0, {0, 0, 0}); in TEST_P()
458 EXPECT_TEXTURE_EQ(expectedWith100.data(), dstTexture, {0, 0}, {kSize / 2, kSize}); in TEST_P()
459 EXPECT_TEXTURE_EQ(expectedWithZeros.data(), dstTexture, {kSize / 2, 0}, {kSize / 2, kSize}); in TEST_P()
463 EXPECT_EQ(true, dawn_native::IsTextureSubresourceInitialized(dstTexture.Get(), 0, 1, 0, 1)); in TEST_P()
2001 wgpu::Texture dstTexture = device.CreateTexture(&dstDescriptor); in TEST_P() local
[all …]
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLXferProcessor.cpp124 const GrTexture* dstTexture, const SkIPoint& dstTextureOffset) { in setData() argument
125 if (dstTexture) { in setData()
129 pdm.set2f(fDstScaleUni, 1.f / dstTexture->width(), 1.f / dstTexture->height()); in setData()
DGrGLSLProgramBuilder.cpp247 if (GrTexture* dstTexture = fPipeline.peekDstTexture()) { in emitAndInstallXferProc() local
252 this->emitSampler(dstTexture, GrSamplerState(), swizzle, "DstTextureSampler"); in emitAndInstallXferProc()
254 SkASSERT(dstTexture->texturePriv().textureType() != GrTextureType::kExternal); in emitAndInstallXferProc()
DGrGLSLXferProcessor.h78 const GrTexture* dstTexture, const SkIPoint& dstTextureOffset);
/third_party/skia/src/gpu/
DGrPipeline.cpp115 GrTexture* dstTexture = this->peekDstTexture(); in setDstTextureUniforms() local
117 if (dstTexture) { in setDstTextureUniforms()
122 1.f / dstTexture->width(), in setDstTextureUniforms()
123 1.f / dstTexture->height()); in setDstTextureUniforms()
/third_party/flutter/skia/src/gpu/dawn/
DGrDawnTexture.cpp190 dawn::TextureCopyView dstTexture; in upload() local
191 dstTexture.texture = fInfo.fTexture; in upload()
192 dstTexture.mipLevel = i; in upload()
193 dstTexture.origin = {x, y, 0}; in upload()
197 encoder.CopyBufferToTexture(&srcBuffer, &dstTexture, &copySize); in upload()
DGrDawnGpu.cpp308 dawn::TextureCopyView dstTexture; in createBackendTexture() local
309 dstTexture.texture = tex; in createBackendTexture()
310 dstTexture.mipLevel = i; in createBackendTexture()
311 dstTexture.origin = {0, 0, 0}; in createBackendTexture()
313 copyEncoder.CopyBufferToTexture(&srcBuffer, &dstTexture, &copySize); in createBackendTexture()
/third_party/skia/src/gpu/dawn/
DGrDawnGpu.cpp373 wgpu::ImageCopyTexture dstTexture; in uploadTextureData() local
374 dstTexture.texture = texture; in uploadTextureData()
375 dstTexture.mipLevel = i; in uploadTextureData()
376 dstTexture.origin = {x, y, 0}; in uploadTextureData()
379 this->getCopyEncoder().CopyBufferToTexture(&srcBuffer, &dstTexture, &copySize); in uploadTextureData()
429 wgpu::ImageCopyTexture dstTexture; in onClearBackendTexture() local
430 dstTexture.texture = info.fTexture; in onClearBackendTexture()
431 dstTexture.mipLevel = i; in onClearBackendTexture()
432 dstTexture.origin = {0, 0, 0}; in onClearBackendTexture()
434 copyEncoder.CopyBufferToTexture(&srcBuffer, &dstTexture, &copySize); in onClearBackendTexture()
[all …]
/third_party/flutter/skia/src/gpu/gl/
DGrGLProgram.cpp99 GrTexture* dstTexture = pipeline.peekDstTexture(&offset); in updateUniformsAndTextureBindings() local
101 fXferProcessor->setData(fProgramDataManager, xp, dstTexture, offset); in updateUniformsAndTextureBindings()
102 if (dstTexture) { in updateUniformsAndTextureBindings()
105 static_cast<GrGLTexture*>(dstTexture)); in updateUniformsAndTextureBindings()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DTextureZeroInitTests.cpp233 dawn::Texture dstTexture = device.CreateTexture(&dstDescriptor); in TEST_P() local
236 utils::CreateTextureCopyView(dstTexture, 0, 0, {0, 0, 0}); in TEST_P()
248 EXPECT_TEXTURE_RGBA8_EQ(expected.data(), dstTexture, 0, 0, kSize, kSize, 0, 0); in TEST_P()
284 dawn::Texture dstTexture = device.CreateTexture(&dstDescriptor); in TEST_P() local
287 utils::CreateTextureCopyView(dstTexture, 0, 0, {0, 0, 0}); in TEST_P()
299 EXPECT_TEXTURE_RGBA8_EQ(expectedWith100.data(), dstTexture, 0, 0, kSize / 2, kSize, 0, 0); in TEST_P()
300 EXPECT_TEXTURE_RGBA8_EQ(expectedWithZeros.data(), dstTexture, kSize / 2, 0, kSize / 2, kSize, 0, in TEST_P()
/third_party/skia/src/gpu/gl/
DGrGLProgram.cpp135 GrTexture* dstTexture = pipeline.peekDstTexture(); in bindTextures() local
136 if (dstTexture) { in bindTextures()
138 pipeline.dstProxyView().swizzle(), static_cast<GrGLTexture*>(dstTexture)); in bindTextures()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DSRGBFramebufferTest.cpp258 GLTexture dstTexture; in TEST_P() local
259 glBindTexture(GL_TEXTURE_2D, dstTexture.get()); in TEST_P()
264 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, dstTexture.get(), in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp479 Texture* dstTexture = ToBackend(dst.texture.Get()); in CopyTextureToTextureWithBlit() local
532 if (dstTexture->GetArrayLayers() == 1 && in CopyTextureToTextureWithBlit()
533 dstTexture->GetDimension() == wgpu::TextureDimension::e2D) { in CopyTextureToTextureWithBlit()
535 dstTexture->GetGLTarget(), dstTexture->GetHandle(), in CopyTextureToTextureWithBlit()
539 dstTexture->GetHandle(), in CopyTextureToTextureWithBlit()
804 Texture* dstTexture = ToBackend(dst.texture.Get()); in Execute() local
810 if (IsCompleteSubresourceCopiedTo(dstTexture, copySize, dst.mipLevel)) { in Execute()
811 dstTexture->SetIsSubresourceContentInitialized(true, dstRange); in Execute()
813 dstTexture->EnsureSubresourceContentInitialized(dstRange); in Execute()
818 dstTexture->GetHandle(), dstTexture->GetGLTarget(), in Execute()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DCommandBufferGL.cpp496 Texture* dstTexture = ToBackend(dst.texture.Get()); in Execute() local
499 if (IsCompleteSubresourceCopiedTo(dstTexture, copySize, dst.mipLevel)) { in Execute()
500 dstTexture->SetIsSubresourceContentInitialized(dst.mipLevel, 1, in Execute()
503 dstTexture->EnsureSubresourceContentInitialized(dst.mipLevel, 1, in Execute()
508 dstTexture->GetHandle(), dstTexture->GetGLTarget(), in Execute()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLProtectedContentTest.cpp607 GLuint dstTexture = 0; in textureFromImageTest() local
608 EXPECT_TRUE(createTextureFromImage(image, &dstTexture)); in textureFromImageTest()
609 EXPECT_TRUE(renderTexture(dstTexture)); in textureFromImageTest()
616 glDeleteTextures(1, &dstTexture); in textureFromImageTest()
/third_party/skia/src/gpu/vk/
DGrVkPipelineState.cpp136 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in setAndBindTextures() local
138 static_cast<GrVkTexture*>(dstTexture)}; in setAndBindTextures()
/third_party/flutter/skia/src/gpu/vk/
DGrVkPipelineState.cpp139 GrTexture* dstTexture = pipeline.peekDstTexture(&offset); in setAndBindUniforms() local
141 fXferProcessor->setData(fDataManager, pipeline.getXferProcessor(), dstTexture, offset); in setAndBindUniforms()
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlPipelineState.mm94 GrTexture* dstTexture = pipeline.peekDstTexture(&offset);
96 fXferProcessor->setData(fDataManager, pipeline.getXferProcessor(), dstTexture, offset);

12