/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | VideoViewsValidationTests.cpp | 123 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()
|
D | CopyTextureForBrowserTests.cpp | 49 wgpu::Texture dstTexture, in TestCopyTextureForBrowser() argument 57 utils::CreateImageCopyTexture(dstTexture, dstLevel, dstOrigin, aspect); in TestCopyTextureForBrowser()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DCommandList.cpp | 160 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 …]
|
D | GrD3DCommandList.h | 69 const GrD3DTextureResource* dstTexture, 191 void resolveSubresourceRegion(const GrD3DTextureResource* dstTexture,
|
D | GrD3DPipelineState.cpp | 113 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in setAndBindTextures() local 114 auto texture = static_cast<GrD3DTexture*>(dstTexture); in setAndBindTextures()
|
D | GrD3DOpsRenderPass.cpp | 232 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/ |
D | CopyTextureForBrowserTests.cpp | 322 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 …]
|
D | TextureZeroInitTests.cpp | 387 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/ |
D | GrGLSLXferProcessor.cpp | 124 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()
|
D | GrGLSLProgramBuilder.cpp | 247 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()
|
D | GrGLSLXferProcessor.h | 78 const GrTexture* dstTexture, const SkIPoint& dstTextureOffset);
|
/third_party/skia/src/gpu/ |
D | GrPipeline.cpp | 115 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/ |
D | GrDawnTexture.cpp | 190 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, ©Size); in upload()
|
D | GrDawnGpu.cpp | 308 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, ©Size); in createBackendTexture()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.cpp | 373 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, ©Size); 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, ©Size); in onClearBackendTexture() [all …]
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLProgram.cpp | 99 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/ |
D | TextureZeroInitTests.cpp | 233 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/ |
D | GrGLProgram.cpp | 135 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/ |
D | SRGBFramebufferTest.cpp | 258 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/ |
D | CommandBufferGL.cpp | 479 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/ |
D | CommandBufferGL.cpp | 496 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/ |
D | EGLProtectedContentTest.cpp | 607 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/ |
D | GrVkPipelineState.cpp | 136 if (GrTexture* dstTexture = pipeline.peekDstTexture()) { in setAndBindTextures() local 138 static_cast<GrVkTexture*>(dstTexture)}; in setAndBindTextures()
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkPipelineState.cpp | 139 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/ |
D | GrMtlPipelineState.mm | 94 GrTexture* dstTexture = pipeline.peekDstTexture(&offset); 96 fXferProcessor->setData(fDataManager, pipeline.getXferProcessor(), dstTexture, offset);
|