/external/libultrahdr/lib/src/gpu/ |
D | editorhelper_gl.cpp | 179 GLuint* srcTexture) { in apply_mirror_gles() argument 205 glBindTexture(GL_TEXTURE_2D, *srcTexture); in apply_mirror_gles() 213 std::swap(*srcTexture, dstTexture); in apply_mirror_gles() 221 GLuint* srcTexture) { in apply_rotate_gles() argument 259 glBindTexture(GL_TEXTURE_2D, *srcTexture); in apply_rotate_gles() 267 std::swap(*srcTexture, dstTexture); in apply_rotate_gles() 274 GLuint* srcTexture) { in apply_crop_gles() argument 296 glBindTexture(GL_TEXTURE_2D, *srcTexture); in apply_crop_gles() 308 std::swap(*srcTexture, dstTexture); in apply_crop_gles() 315 GLuint* srcTexture) { in apply_resize_gles() argument [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageUtil.cpp | 437 Allocator &allocator, const TestTexture &srcTexture, in uploadTestTextureInternal() argument 447 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternal() 448 …uint32_t bufferSize = (srcTexture.isCompressed()) ? srcTexture.getCompressedSize() : srcTexture.ge… in uploadTestTextureInternal() 481 srcTexture.write(reinterpret_cast<uint8_t *>(bufferAlloc->getHostPtr())); in uploadTestTextureInternal() 503 … srcTexture.getNumLevels(), srcTexture.getArraySize(), destImage, destImageLayout); in uploadTestTextureInternal() 528 … const TestTexture &srcTexture, const TestTexture *srcStencilTexture, in uploadTestTextureInternalSparse() argument 531 …uint32_t bufferSize = (srcTexture.isCompressed()) ? srcTexture.getCompressedSize() : srcTexture.ge… in uploadTestTextureInternalSparse() 539 std::vector<VkBufferImageCopy> copyRegions = srcTexture.getBufferCopyRegions(); in uploadTestTextureInternalSparse() 585 srcTexture.write(reinterpret_cast<uint8_t *>(bufferAlloc->getHostPtr())); in uploadTestTextureInternalSparse() 612 Allocator &allocator, const TestTexture &srcTexture, VkImage destImage, in uploadTestTexture() argument [all …]
|
/external/angle/src/libANGLE/renderer/metal/shaders/ |
D | gen_mipmap.metal | 42 texture3d<float> srcTexture [[texture(0)]], 67 texel1 = srcTexture.sample(textureSampler, texCoords, level(options.srcLevel)); 220 texture2d<float> srcTexture [[texture(0)]], 229 ushort2(srcTexture.get_width(firstMipLevel), srcTexture.get_height(firstMipLevel)); 247 texel1 = srcTexture.sample(textureSampler, texCoords, level(options.srcLevel)); 358 TextureTypeR srcTexture, 466 texturecube<float> srcTexture [[texture(0)]], 475 ushort2(srcTexture.get_width(firstMipLevel), srcTexture.get_height(firstMipLevel)); 485 mip1Texel = srcTexture.sample(textureSampler, cubeTexcoords(texCoords, int(gIndices.z)), 508 generateCubeOr2DArray2ndAndMoreMipmaps(lIndex, gIndices, srcTexture, dstMip2, dstMip3, dstMip4, [all …]
|
D | blit.metal | 57 static uint2 getImageCoords(SrcTexture2d srcTexture, float2 texCoords) 59 uint2 dimens(srcTexture.get_width(), srcTexture.get_height()); 66 static inline vec<T, 4> blitSampleTextureMS(texture2d_ms<T> srcTexture, float2 texCoords) 68 uint2 coords = getImageCoords(srcTexture, texCoords); 69 return resolveTextureMS(srcTexture, coords); 73 static inline vec<T, 4> blitSampleTexture3D(texture3d<T> srcTexture, 78 uint depth = srcTexture.get_depth(options.srcLevel); 81 return srcTexture.sample(textureSampler, float3(texCoords, zCoord), level(options.srcLevel));
|
D | common.h | 108 static inline vec<T, 4> resolveTextureMS(texture2d_ms<T> srcTexture, uint2 coords) in resolveTextureMS() argument 110 uint samples = srcTexture.get_num_samples(); in resolveTextureMS() 116 output += srcTexture.read(coords, sample); in resolveTextureMS()
|
D | mtl_internal_shaders_autogen.metal | 90 static inline vec<T, 4> resolveTextureMS(texture2d_ms<T> srcTexture, uint2 coords) 92 uint samples = srcTexture.get_num_samples(); 96 output += srcTexture.read(coords, sample); 270 static uint2 getImageCoords(SrcTexture2d srcTexture, float2 texCoords) 272 uint2 dimens(srcTexture.get_width(), srcTexture.get_height()); 277 static inline vec<T, 4> blitSampleTextureMS(texture2d_ms<T> srcTexture, float2 texCoords) 279 uint2 coords = getImageCoords(srcTexture, texCoords); 280 return resolveTextureMS(srcTexture, coords); 283 static inline vec<T, 4> blitSampleTexture3D(texture3d<T> srcTexture, 288 uint depth = srcTexture.get_depth(options.srcLevel); [all …]
|
/external/skia/src/gpu/ganesh/d3d/ |
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() argument 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->d3dResource(), 0, in resolveSubresourceRegion() [all …]
|
/external/libultrahdr/lib/include/ultrahdr/ |
D | editorhelper.h | 132 GLuint* srcTexture); 137 GLuint* srcTexture); 142 GLuint* srcTexture); 146 GLuint* srcTexture);
|
/external/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_video_enc.h | 461 struct pipe_video_buffer * srcTexture, 469 struct pipe_video_buffer * srcTexture, 491 struct pipe_video_buffer * srcTexture, 504 struct pipe_video_buffer * srcTexture,
|
D | d3d12_video_enc_hevc.h | 53 … struct pipe_video_buffer * srcTexture,
|
D | d3d12_video_enc_av1.h | 41 struct pipe_video_buffer *srcTexture,
|
D | d3d12_video_enc_h264.h | 53 … struct pipe_video_buffer * srcTexture,
|
D | d3d12_video_enc.cpp | 342 struct pipe_video_buffer * srcTexture, in d3d12_video_encoder_update_picparams_tracking() argument 354 …d3d12_video_encoder_update_current_frame_pic_params_info_h264(pD3D12Enc, srcTexture, picture, curr… in d3d12_video_encoder_update_picparams_tracking() 360 …d3d12_video_encoder_update_current_frame_pic_params_info_hevc(pD3D12Enc, srcTexture, picture, curr… in d3d12_video_encoder_update_picparams_tracking() 366 …d3d12_video_encoder_update_current_frame_pic_params_info_av1(pD3D12Enc, srcTexture, picture, curre… in d3d12_video_encoder_update_picparams_tracking() 418 struct pipe_video_buffer * srcTexture, in d3d12_video_encoder_reconfigure_encoder_objects() argument 1748 struct pipe_video_buffer * srcTexture, in d3d12_video_encoder_prepare_output_buffers() argument 1831 struct pipe_video_buffer * srcTexture, in d3d12_video_encoder_reconfigure_session() argument 1836 srcTextureDesc.Width = srcTexture->width; in d3d12_video_encoder_reconfigure_session() 1837 srcTextureDesc.Height = srcTexture->height; in d3d12_video_encoder_reconfigure_session() 1838 srcTextureDesc.Format.Format = d3d12_get_format(srcTexture->buffer_format); in d3d12_video_encoder_reconfigure_session() [all …]
|
/external/skia/src/gpu/graphite/mtl/ |
D | MtlBlitCommandEncoder.h | 89 void copyTextureToTexture(id<MTLTexture> srcTexture, in copyTextureToTexture() argument 94 [(*fCommandEncoder) copyFromTexture: srcTexture in copyTextureToTexture()
|
/external/angle/src/libANGLE/renderer/ |
D | RenderbufferImpl.h | 67 const gl::Texture *srcTexture, 118 const gl::Texture *srcTexture, in copyTextureSubData() argument
|
/external/angle/src/tests/gl_tests/ |
D | SRGBFramebufferTest.cpp | 266 GLTexture srcTexture; in TEST_P() local 267 glBindTexture(GL_TEXTURE_2D, srcTexture); in TEST_P() 273 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcTexture, 0); in TEST_P()
|
D | RobustResourceInitTest.cpp | 1730 GLTexture srcTexture; in TEST_P() local 1731 glBindTexture(GL_TEXTURE_2D, srcTexture); in TEST_P() 1737 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcTexture, 0); in TEST_P() 1763 glBindTexture(GL_TEXTURE_2D, srcTexture); in TEST_P() 1766 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, srcTexture, 0); in TEST_P() 1847 GLTexture srcTexture; in TEST_P() local 1853 glBindTexture(GL_TEXTURE_3D, srcTexture); in TEST_P() 1857 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, srcTexture, 0, 0); in TEST_P() 1882 glBindTexture(GL_TEXTURE_3D, srcTexture); in TEST_P() 1885 glFramebufferTextureLayer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, srcTexture, 0, 0); in TEST_P()
|
/external/angle/src/tests/egl_tests/ |
D | EGLProtectedContentTest.cpp | 619 GLuint srcTexture = 0; in textureFromImageTest() local 624 ASSERT_FALSE(createTexture(isProtectedTexture, &srcTexture)); in textureFromImageTest() 628 ASSERT_TRUE(createTexture(isProtectedTexture, &srcTexture)); in textureFromImageTest() 629 EXPECT_TRUE(fillTexture(srcTexture, GLColor::red)); in textureFromImageTest() 633 (void *)(static_cast<intptr_t>(srcTexture)), &image)); in textureFromImageTest() 645 glDeleteTextures(1, &srcTexture); in textureFromImageTest()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | mtl_render_utils.mm | 723 const TextureRef &srcTexture) 725 if (!srcTexture) 731 params.src = srcTexture; 732 params.dstTextureSize = gl::Extents(static_cast<int>(srcTexture->widthAt0()), 733 static_cast<int>(srcTexture->heightAt0()), 734 static_cast<int>(srcTexture->depthAt0())); 834 const TextureRef &srcTexture, 838 return mMipmapUtils.generateMipmapCS(contextMtl, srcTexture, sRGBMipmap, mipmapOutputViews); 2172 const TextureRef &srcTexture, 2177 ASSERT(srcTexture->textureType() == MTLTextureType3D); [all …]
|
D | FrameBufferMtl.mm | 64 const mtl::TextureRef &srcTexture, 72 auto formatId = mtl::Format::MetalToAngleFormatID(srcTexture->pixelFormat()); 76 uint32_t width = srcTexture->width(mipNativeLevel); 77 uint32_t height = srcTexture->height(mipNativeLevel); 88 ANGLE_TRY(mtl::ReadTexturePerSliceBytesToBuffer(context, srcTexture, bytesPerRow, region, 97 const mtl::TextureRef &srcTexture, 103 auto formatId = mtl::Format::MetalToAngleFormatID(srcTexture->pixelFormat()); 107 ANGLE_TRY(mtl::Texture::Make2DTexture(contextMtl, format, srcTexture->widthAt0(), 108 srcTexture->heightAt0(), srcTexture->mipmapLevels(), 112 blitEncoder->copyTexture(srcTexture,
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | Buffer11.cpp | 1556 const TextureHelper11 &srcTexture = renderTarget->getTexture(); in packPixels() local 1557 ASSERT(srcTexture.valid()); in packPixels() 1563 if (!mStagingTexture.get() || mStagingTexture.getFormat() != srcTexture.getFormat() || in packPixels() 1566 ANGLE_TRY(mRenderer->createStagingTexture(context, srcTexture.getTextureType(), in packPixels() 1567 srcTexture.getFormatSet(), srcTextureSize, in packPixels() 1572 ASSERT(srcTexture.getSampleCount() <= 1); in packPixels() 1590 immediateContext->CopySubresourceRegion(mStagingTexture.get(), 0, 0, 0, 0, srcTexture.get(), in packPixels()
|
/external/skia/src/gpu/graphite/vk/ |
D | VulkanCommandBuffer.cpp | 1482 const VulkanTexture* srcTexture = static_cast<const VulkanTexture*>(texture); in onCopyTextureToBuffer() local 1486 size_t bytesPerBlock = VkFormatBytesPerBlock(srcTexture->vulkanTextureInfo().fFormat); in onCopyTextureToBuffer() 1500 const_cast<VulkanTexture*>(srcTexture)->setImageLayout(this, in onCopyTextureToBuffer() 1514 srcTexture->vkImage(), in onCopyTextureToBuffer() 1578 const VulkanTexture* srcTexture = static_cast<const VulkanTexture*>(src); in onCopyTextureToTexture() local 1590 const_cast<VulkanTexture*>(srcTexture)->setImageLayout(this, in onCopyTextureToTexture() 1606 srcTexture->vkImage(), in onCopyTextureToTexture()
|
/external/angle/src/libANGLE/ |
D | Renderbuffer.cpp | 222 const gl::Texture *srcTexture, in copyTextureSubData() argument 235 ANGLE_TRY(mImplementation->copyTextureSubData(context, srcTexture, srcLevel, srcX, srcY, srcZ, in copyTextureSubData()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | RenderbufferVk.h | 55 const gl::Texture *srcTexture,
|
D | RenderbufferVk.cpp | 245 const gl::Texture *srcTexture, in copyTextureSubData() argument 259 TextureVk *sourceVk = vk::GetImpl(srcTexture); in copyTextureSubData()
|