/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineImageUtil.cpp | 432 const TestTexture& srcTexture, in uploadTestTextureInternal() 444 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternal() 445 deUint32 bufferSize = (srcTexture.isCompressed())? srcTexture.getCompressedSize(): srcTexture.getSize(); in uploadTestTextureInternal() 477 srcTexture.write(reinterpret_cast<deUint8*>(bufferAlloc->getHostPtr())); in uploadTestTextureInternal() 498 copyBufferToImage(vk, device, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, imageAspectFlags, srcTexture.getNumLevels(), srcTexture.getArraySize(), destImage, destImageLayout); in uploadTestTextureInternal() 528 const TestTexture& srcTexture, in uploadTestTextureInternalSparse() 533 deUint32 bufferSize = (srcTexture in uploadTestTextureInternalSparse() 427 uploadTestTextureInternal(const DeviceInterface& vk, VkDevice device, VkQueue queue, deUint32 queueFamilyIndex, Allocator& allocator, const TestTexture& srcTexture, const TestTexture* srcStencilTexture, tcu::TextureFormat format, VkImage destImage, VkImageLayout destImageLayout) uploadTestTextureInternal() argument 518 uploadTestTextureInternalSparse(const DeviceInterface& vk, VkDevice device, const VkPhysicalDevice physicalDevice, const InstanceInterface& instance, const VkImageCreateInfo& imageCreateInfo, VkQueue universalQueue, deUint32 universalQueueFamilyIndex, VkQueue sparseQueue, Allocator& allocator, std::vector<de::SharedPtr<Allocation> >& allocations, const TestTexture& srcTexture, const TestTexture* srcStencilTexture, tcu::TextureFormat format, VkImage destImage) uploadTestTextureInternalSparse() argument 608 uploadTestTexture(const DeviceInterface& vk, VkDevice device, VkQueue queue, deUint32 queueFamilyIndex, Allocator& allocator, const TestTexture& srcTexture, VkImage destImage, VkImageLayout destImageLayout) uploadTestTexture() argument 652 uploadTestTextureSparse(const DeviceInterface& vk, VkDevice device, const VkPhysicalDevice physicalDevice, const InstanceInterface& instance, const VkImageCreateInfo& imageCreateInfo, VkQueue universalQueue, deUint32 universalQueueFamilyIndex, VkQueue sparseQueue, Allocator& allocator, std::vector<de::SharedPtr<Allocation> >& allocations, const TestTexture& srcTexture, VkImage destImage) uploadTestTextureSparse() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineImageUtil.cpp | 422 const TestTexture& srcTexture, in uploadTestTextureInternal() 434 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternal() 435 deUint32 bufferSize = (srcTexture.isCompressed())? srcTexture.getCompressedSize(): srcTexture.getSize(); in uploadTestTextureInternal() 467 srcTexture.write(reinterpret_cast<deUint8*>(bufferAlloc->getHostPtr())); in uploadTestTextureInternal() 488 copyBufferToImage(vk, device, queue, queueFamilyIndex, *buffer, bufferSize, copyRegions, DE_NULL, imageAspectFlags, srcTexture.getNumLevels(), srcTexture.getArraySize(), destImage, destImageLayout); in uploadTestTextureInternal() 518 const TestTexture& srcTexture, in uploadTestTextureInternalSparse() 523 deUint32 bufferSize = (srcTexture in uploadTestTextureInternalSparse() 417 uploadTestTextureInternal(const DeviceInterface& vk, VkDevice device, VkQueue queue, deUint32 queueFamilyIndex, Allocator& allocator, const TestTexture& srcTexture, const TestTexture* srcStencilTexture, tcu::TextureFormat format, VkImage destImage, VkImageLayout destImageLayout) uploadTestTextureInternal() argument 508 uploadTestTextureInternalSparse(const DeviceInterface& vk, VkDevice device, const VkPhysicalDevice physicalDevice, const InstanceInterface& instance, const VkImageCreateInfo& imageCreateInfo, VkQueue universalQueue, deUint32 universalQueueFamilyIndex, VkQueue sparseQueue, Allocator& allocator, std::vector<de::SharedPtr<Allocation> >& allocations, const TestTexture& srcTexture, const TestTexture* srcStencilTexture, tcu::TextureFormat format, VkImage destImage) uploadTestTextureInternalSparse() argument 598 uploadTestTexture(const DeviceInterface& vk, VkDevice device, VkQueue queue, deUint32 queueFamilyIndex, Allocator& allocator, const TestTexture& srcTexture, VkImage destImage, VkImageLayout destImageLayout) uploadTestTexture() argument 642 uploadTestTextureSparse(const DeviceInterface& vk, VkDevice device, const VkPhysicalDevice physicalDevice, const InstanceInterface& instance, const VkImageCreateInfo& imageCreateInfo, VkQueue universalQueue, deUint32 universalQueueFamilyIndex, VkQueue sparseQueue, Allocator& allocator, std::vector<de::SharedPtr<Allocation> >& allocations, const TestTexture& srcTexture, VkImage destImage) uploadTestTextureSparse() argument [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | VideoViewsValidationTests.cpp | 120 wgpu::Texture srcTexture = CreateVideoTextureForTest( in TEST_F() local 126 wgpu::ImageCopyTexture copySrc = utils::CreateImageCopyTexture(srcTexture, 0, {0, 0, 0}); in TEST_F() 139 wgpu::Texture srcTexture = CreateVideoTextureForTest( in TEST_F() local 146 srcTexture, 0, {0, 0, 0}, wgpu::TextureAspect::Plane0Only); in TEST_F() 159 copySrc = utils::CreateImageCopyTexture(srcTexture, 0, {0, 0, 0}, in TEST_F() 171 wgpu::Texture srcTexture = CreateVideoTextureForTest( in TEST_F() local 179 wgpu::ImageCopyTexture copySrc = utils::CreateImageCopyTexture(srcTexture, 0, {0, 0, 0}); in TEST_F() 192 wgpu::Texture srcTexture = CreateVideoTextureForTest( in TEST_F() local 201 srcTexture, 0, {0, 0, 0}, wgpu::TextureAspect::Plane0Only); in TEST_F() 213 copySrc = utils::CreateImageCopyTexture(srcTexture, in TEST_F() [all...] |
H A D | CopyTextureForBrowserTests.cpp | 46 wgpu::Texture srcTexture, in TestCopyTextureForBrowser() 55 utils::CreateImageCopyTexture(srcTexture, srcLevel, srcOrigin, aspect); in TestCopyTextureForBrowser() 45 TestCopyTextureForBrowser(utils::Expectation expectation, wgpu::Texture srcTexture, uint32_t srcLevel, wgpu::Origin3D srcOrigin, wgpu::Texture dstTexture, uint32_t dstLevel, wgpu::Origin3D dstOrigin, wgpu::Extent3D extent3D, wgpu::TextureAspect aspect = wgpu::TextureAspect::All) TestCopyTextureForBrowser() argument
|
/third_party/skia/src/gpu/d3d/ |
H A D | GrD3DCommandList.cpp | 224 ID3D12Resource* srcTexture = src->d3dResource(); in copyTextureToTexture() local 226 fCommandList->CopyResource(dstTexture, srcTexture); in copyTextureToTexture() 231 srcLoc.pResource = srcTexture; in copyTextureToTexture() 506 const GrD3DTextureResource* srcTexture, in resolveSubresourceRegion() 508 SkASSERT(dstTexture->dxgiFormat() == srcTexture->dxgiFormat()); in resolveSubresourceRegion() 510 SkASSERT(srcTexture->currentState() == D3D12_RESOURCE_STATE_RESOLVE_SOURCE); in resolveSubresourceRegion() 513 this->addResource(srcTexture->resource()); in resolveSubresourceRegion() 520 srcTexture->d3dResource(), 0, srcRect, in resolveSubresourceRegion() 521 srcTexture->dxgiFormat(), in resolveSubresourceRegion() 527 fCommandList->ResolveSubresource(dstTexture->d3dResource(), 0, srcTexture in resolveSubresourceRegion() 504 resolveSubresourceRegion(const GrD3DTextureResource* dstTexture, unsigned int dstX, unsigned int dstY, const GrD3DTextureResource* srcTexture, D3D12_RECT* srcRect) resolveSubresourceRegion() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_video_enc.h | 254 struct pipe_video_buffer * srcTexture, 258 struct pipe_video_buffer * srcTexture, 262 struct pipe_video_buffer * srcTexture, 284 struct pipe_video_buffer * srcTexture, 297 struct pipe_video_buffer * srcTexture,
|
H A D | d3d12_video_enc_h264.h | 31 struct pipe_video_buffer * srcTexture, 52 struct pipe_video_buffer * srcTexture,
|
H A D | d3d12_video_enc.cpp | 172 struct pipe_video_buffer * srcTexture, in d3d12_video_encoder_update_picparams_tracking() 183 d3d12_video_encoder_update_current_frame_pic_params_info_h264(pD3D12Enc, srcTexture, picture, currentPicParams, bUsedAsReference); in d3d12_video_encoder_update_picparams_tracking() 197 struct pipe_video_buffer * srcTexture, in d3d12_video_encoder_reconfigure_encoder_objects() 821 struct pipe_video_buffer * srcTexture, 828 return d3d12_video_encoder_update_current_encoder_config_state_h264(pD3D12Enc, srcTexture, picture); 941 struct pipe_video_buffer * srcTexture, 1018 struct pipe_video_buffer * srcTexture, 1022 if(!d3d12_video_encoder_update_current_encoder_config_state(pD3D12Enc, srcTexture, picture)) { 1026 if(!d3d12_video_encoder_reconfigure_encoder_objects(pD3D12Enc, srcTexture, picture)) { 1030 d3d12_video_encoder_update_picparams_tracking(pD3D12Enc, srcTexture, pictur 171 d3d12_video_encoder_update_picparams_tracking(struct d3d12_video_encoder *pD3D12Enc, struct pipe_video_buffer * srcTexture, struct pipe_picture_desc * picture) d3d12_video_encoder_update_picparams_tracking() argument 196 d3d12_video_encoder_reconfigure_encoder_objects(struct d3d12_video_encoder *pD3D12Enc, struct pipe_video_buffer * srcTexture, struct pipe_picture_desc * picture) d3d12_video_encoder_reconfigure_encoder_objects() argument [all...] |
H A D | d3d12_video_enc_h264.cpp | 109 struct pipe_video_buffer *srcTexture, in d3d12_video_encoder_update_current_frame_pic_params_info_h264() 538 struct pipe_video_buffer *srcTexture, 571 if ((pD3D12Enc->m_currentEncodeConfig.m_currentResolution.Width != srcTexture->width) || 572 (pD3D12Enc->m_currentEncodeConfig.m_currentResolution.Height != srcTexture->height)) { 575 pD3D12Enc->m_currentEncodeConfig.m_currentResolution.Width = srcTexture->width; 576 pD3D12Enc->m_currentEncodeConfig.m_currentResolution.Height = srcTexture->height; 108 d3d12_video_encoder_update_current_frame_pic_params_info_h264(struct d3d12_video_encoder *pD3D12Enc, struct pipe_video_buffer *srcTexture, struct pipe_picture_desc *picture, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA &picParams, bool &bUsedAsReference) d3d12_video_encoder_update_current_frame_pic_params_info_h264() argument
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | CopyTextureForBrowserTests.cpp | 320 wgpu::Texture srcTexture, in RunCopyExternalImageToTexture() 326 utils::CreateImageCopyTexture(srcTexture, srcSpec.level, srcSpec.copyOrigin); in RunCopyExternalImageToTexture() 334 wgpu::Texture srcTexture, in CheckResultInBuiltInComputePipeline() 365 wgpu::TextureView srcTextureView = srcTexture.CreateView(&srcTextureViewDesc); in CheckResultInBuiltInComputePipeline() 416 wgpu::Texture srcTexture = local 452 RunCopyExternalImageToTexture(srcSpec, srcTexture, dstSpec, dstTexture, copySize, options); 455 CheckResultInBuiltInComputePipeline(srcSpec, srcTexture, dstSpec, dstTexture, copySize, 525 wgpu::Texture srcTexture = CreateAndInitTexture( in DoColorConversionTest() local 535 RunCopyExternalImageToTexture(srcTextureSpec, srcTexture, dstTextureSpec, dstTexture, in DoColorConversionTest() 539 CheckResultInBuiltInComputePipeline(srcTextureSpec, srcTexture, dstTextureSpe in DoColorConversionTest() 319 RunCopyExternalImageToTexture(const TextureSpec& srcSpec, wgpu::Texture srcTexture, const TextureSpec& dstSpec, wgpu::Texture dstTexture, const wgpu::Extent3D& copySize, const wgpu::CopyTextureForBrowserOptions options) RunCopyExternalImageToTexture() argument 333 CheckResultInBuiltInComputePipeline(const TextureSpec& srcSpec, wgpu::Texture srcTexture, const TextureSpec& dstSpec, wgpu::Texture dstTexture, const wgpu::Extent3D& copySize, const wgpu::CopyTextureForBrowserOptions options) CheckResultInBuiltInComputePipeline() argument [all...] |
H A D | TextureZeroInitTests.cpp | 377 wgpu::Texture srcTexture = device.CreateTexture(&srcDescriptor); in TEST_P() local 380 utils::CreateImageCopyTexture(srcTexture, 0, {0, 0, 0}); in TEST_P() 401 EXPECT_TEXTURE_EQ(expected.data(), srcTexture, {0, 0}, {kSize, kSize}); in TEST_P() 405 EXPECT_EQ(true, dawn_native::IsTextureSubresourceInitialized(srcTexture.Get(), 0, 1, 0, 1)); in TEST_P() 417 wgpu::Texture srcTexture = device.CreateTexture(&srcDescriptor); in TEST_P() local 419 // fill srcTexture with 100 in TEST_P() 427 utils::CreateImageCopyTexture(srcTexture, 0, {0, 0, 0}); in TEST_P() 436 utils::CreateImageCopyTexture(srcTexture, 0, {0, 0, 0}); in TEST_P() 457 EXPECT_TEXTURE_EQ(expectedWith100.data(), srcTexture, {0, 0}, {kSize, kSize}); in TEST_P() 462 EXPECT_EQ(true, dawn_native::IsTextureSubresourceInitialized(srcTexture in TEST_P() 474 wgpu::Texture srcTexture = device.CreateTexture(&srcDescriptor); TEST_P() local 516 wgpu::Texture srcTexture = device.CreateTexture(&srcDescriptor); TEST_P() local 558 wgpu::Texture srcTexture = device.CreateTexture(&srcDescriptor); TEST_P() local 1202 wgpu::Texture srcTexture = device.CreateTexture(&srcDescriptor); TEST_P() local 1979 wgpu::Texture srcTexture = device.CreateTexture(&srcDescriptor); TEST_P() local 2028 wgpu::Texture srcTexture = device.CreateTexture(&srcDescriptor); TEST_P() local 2079 wgpu::Texture srcTexture = device.CreateTexture(&textureDescriptor); TEST_P() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
H A D | common.h | 96 static inline vec<T, 4> resolveTextureMS(texture2d_ms<T> srcTexture, uint2 coords) in resolveTextureMS() argument 98 uint samples = srcTexture.get_num_samples(); in resolveTextureMS() 104 output += srcTexture.read(coords, sample); in resolveTextureMS()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | SRGBFramebufferTest.cpp | 267 GLTexture srcTexture; in TEST_P() local 268 glBindTexture(GL_TEXTURE_2D, srcTexture.get()); in TEST_P() 274 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcTexture.get(), in TEST_P()
|
H A D | RobustResourceInitTest.cpp | 1699 GLTexture srcTexture; in TEST_P() local 1700 glBindTexture(GL_TEXTURE_2D, srcTexture); in TEST_P() 1706 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcTexture, 0); in TEST_P() 1732 glBindTexture(GL_TEXTURE_2D, srcTexture); in TEST_P() 1735 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcTexture, 0); in TEST_P() 1817 GLTexture srcTexture; in TEST_P() local 1823 glBindTexture(GL_TEXTURE_3D, srcTexture); in TEST_P() 1827 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, srcTexture, 0, 0); in TEST_P() 1852 glBindTexture(GL_TEXTURE_3D, srcTexture); in TEST_P() 1855 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, srcTexture, in TEST_P() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
H A D | RenderbufferImpl.h | 67 const gl::Texture *srcTexture, 116 const gl::Texture *srcTexture, in copyTextureSubData() 115 copyTextureSubData(const gl::Context *context, const gl::Texture *srcTexture, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyTextureSubData() argument
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLProtectedContentTest.cpp | 591 GLuint srcTexture = 0; in textureFromImageTest() local 596 ASSERT_FALSE(createTexture(isProtectedTexture, &srcTexture)); in textureFromImageTest() 600 ASSERT_TRUE(createTexture(isProtectedTexture, &srcTexture)); in textureFromImageTest() 601 EXPECT_TRUE(fillTexture(srcTexture, GLColor::red)); in textureFromImageTest() 605 (void *)(static_cast<intptr_t>(srcTexture)), &image)); in textureFromImageTest() 617 glDeleteTextures(1, &srcTexture); in textureFromImageTest()
|
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnGpu.cpp | 597 wgpu::Texture srcTexture = get_dawn_texture_from_surface(src); in onCopySurface() local 599 if (!srcTexture || !dstTexture) { in onCopySurface() 606 srcTextureView.texture = srcTexture; in onCopySurface() 642 wgpu::ImageCopyTexture srcTexture; in onReadPixels() local 643 srcTexture.texture = tex; in onReadPixels() 644 srcTexture.origin = {(uint32_t) rect.left(), (uint32_t) rect.top(), 0}; in onReadPixels() 653 this->getCopyEncoder().CopyTextureToBuffer(&srcTexture, &dstBuffer, ©Size); in onReadPixels()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | CommandBufferGL.cpp | 478 Texture* srcTexture = ToBackend(src.texture.Get()); in CopyTextureToTextureWithBlit() local 521 if (srcTexture->GetArrayLayers() == 1 && in CopyTextureToTextureWithBlit() 522 srcTexture->GetDimension() == wgpu::TextureDimension::e2D) { in CopyTextureToTextureWithBlit() 524 srcTexture->GetGLTarget(), srcTexture->GetHandle(), in CopyTextureToTextureWithBlit() 528 srcTexture->GetHandle(), in CopyTextureToTextureWithBlit() 803 Texture* srcTexture = ToBackend(src.texture.Get()); in Execute() local 809 srcTexture->EnsureSubresourceContentInitialized(srcRange); in Execute() 816 gl.CopyImageSubData(srcTexture->GetHandle(), srcTexture in Execute() [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | Device.cpp | 103 sk_sp<Texture> srcTexture = srcProxy->refTexture(); in onReadPixels() local 104 SkASSERT(srcTexture); in onReadPixels() 117 CopyTextureToBufferTask::Make(std::move(srcTexture), in onReadPixels()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
H A D | mtl_render_utils.h | 458 const TextureRef &srcTexture, 611 const TextureRef &srcTexture); 655 const TextureRef &srcTexture,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | RenderbufferVk.h | 55 const gl::Texture *srcTexture,
|
H A D | RenderbufferVk.cpp | 220 const gl::Texture *srcTexture, in copyTextureSubData() 234 TextureVk *sourceVk = vk::GetImpl(srcTexture); in copyTextureSubData() 219 copyTextureSubData(const gl::Context *context, const gl::Texture *srcTexture, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyTextureSubData() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Buffer11.cpp | 1770 const TextureHelper11 &srcTexture = renderTarget->getTexture(); in packPixels() local 1771 ASSERT(srcTexture.valid()); in packPixels() 1777 if (!mStagingTexture.get() || mStagingTexture.getFormat() != srcTexture.getFormat() || in packPixels() 1780 ANGLE_TRY(mRenderer->createStagingTexture(context, srcTexture.getTextureType(), in packPixels() 1781 srcTexture.getFormatSet(), srcTextureSize, in packPixels() 1786 ASSERT(srcTexture.getSampleCount() <= 1); in packPixels() 1804 immediateContext->CopySubresourceRegion(mStagingTexture.get(), 0, 0, 0, 0, srcTexture.get(), in packPixels()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Renderbuffer.h | 110 const gl::Texture *srcTexture,
|
H A D | Renderbuffer.cpp | 217 const gl::Texture *srcTexture, in copyTextureSubData() 230 ANGLE_TRY(mImplementation->copyTextureSubData(context, srcTexture, srcLevel, srcX, srcY, srcZ, in copyTextureSubData() 216 copyTextureSubData(Context *context, const gl::Texture *srcTexture, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth) copyTextureSubData() argument
|