Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrTextureAdjuster.cpp39 sk_sp<GrTextureProxy> GrTextureAdjuster::refTextureProxyCopy(const CopyParams& copyParams, in refTextureProxyCopy() argument
44 this->makeCopyKey(copyParams, &key); in refTextureProxyCopy()
57 copyParams, willBeMipped); in refTextureProxyCopy()
82 CopyParams copyParams; in onRefTextureProxyForParams() local
96 &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
99 &copyParams); in onRefTextureProxyForParams()
105 sk_sp<GrTextureProxy> result = this->refTextureProxyCopy(copyParams, willBeMipped); in onRefTextureProxyForParams()
DGrTextureMaker.cpp24 CopyParams copyParams; in onRefTextureProxyForParams() local
33 params.filter(), &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
36 &copyParams); in onRefTextureProxyForParams()
45 params.filter(), &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
54 this->makeCopyKey(copyParams, &copyKey); in onRefTextureProxyForParams()
79 CopyOnGpu(this->context(), source, this->colorType(), copyParams, willBeMipped); in onRefTextureProxyForParams()
DGrTextureProducer.h128 const CopyParams& copyParams, in MakeCopyKeyFromOrigKey() argument
134 builder[0] = static_cast<uint32_t>(copyParams.fFilter); in MakeCopyKeyFromOrigKey()
135 builder[1] = copyParams.fWidth; in MakeCopyKeyFromOrigKey()
136 builder[2] = copyParams.fHeight; in MakeCopyKeyFromOrigKey()
167 const CopyParams& copyParams,
DGrTextureProducer.cpp26 const CopyParams& copyParams, in CopyOnGpu() argument
30 const SkRect dstRect = SkRect::MakeIWH(copyParams.fWidth, copyParams.fHeight); in CopyOnGpu()
37 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) { in CopyOnGpu()
43 if (copyParams.fFilter == GrSamplerState::Filter::kNearest && !needsDomain && !resizing && in CopyOnGpu()
65 SkASSERT(copyParams.fFilter != GrSamplerState::Filter::kMipMap); in CopyOnGpu()
68 GrTextureDomain::kClamp_Mode, copyParams.fFilter)); in CopyOnGpu()
70 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu()
DGrGpu.cpp48 GrTextureProducer::CopyParams* copyParams, in IsACopyNeededForRepeatWrapMode() argument
53 copyParams->fWidth = GrNextPow2(width); in IsACopyNeededForRepeatWrapMode()
54 copyParams->fHeight = GrNextPow2(height); in IsACopyNeededForRepeatWrapMode()
56 scaleAdjust[0] = ((SkScalar)copyParams->fWidth) / width; in IsACopyNeededForRepeatWrapMode()
57 scaleAdjust[1] = ((SkScalar)copyParams->fHeight) / height; in IsACopyNeededForRepeatWrapMode()
60 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForRepeatWrapMode()
65 copyParams->fFilter = GrSamplerState::Filter::kBilerp; in IsACopyNeededForRepeatWrapMode()
75 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForRepeatWrapMode()
76 copyParams->fWidth = texProxy->width(); in IsACopyNeededForRepeatWrapMode()
77 copyParams->fHeight = texProxy->height(); in IsACopyNeededForRepeatWrapMode()
[all …]
DGrBitmapTextureMaker.cpp104 void GrBitmapTextureMaker::makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey) { in makeCopyKey() argument
107 MakeCopyKeyFromOrigKey(fOriginalKey, copyParams, copyKey); in makeCopyKey()
DGrBitmapTextureMaker.h26 void makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey) override;
DGrTextureAdjuster.h49 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams& copyParams, bool willBeMipped);
DGrGpu.h502 GrTextureProducer::CopyParams* copyParams);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.cpp60 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
69 return copyParams; in makeBufferImageCopy()
DvktComputeBasicComputeShaderTests.cpp2919 const VkBufferCopy copyParams = in iterate() local
2936 vk.cmdCopyBuffer(*cmdBuffer, *sboBuffer, *checkBuffer, 1, &copyParams); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp220 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
229 return copyParams; in makeBufferImageCopy()
979 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
998 return copyParams; in makeBufferImageCopy()
1003 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
1022 return copyParams; in makeBufferImageCopy()
DvktImageMisalignedCubeTests.cpp107 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
116 return copyParams; in makeBufferImageCopy()
DvktImageQualifiersTests.cpp599 …const VkBufferImageCopy copyParams = makeBufferImageCopy(makeExtent3D(getLayerSize(m_imageType, m_… in commandsAfterCompute() local
600 …cmdBuffer, m_image->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, m_buffer->get(), 1u, &copyParams); in commandsAfterCompute()
DvktImageLoadStoreTests.cpp412 const VkBufferImageCopy copyParams = in commandCopyMipmapImageToBuffer() local
421 copyRegions.push_back(copyParams); in commandCopyMipmapImageToBuffer()
1773 const VkBufferImageCopy copyParams = in commandBeforeCompute() local
1782 copyRegions.push_back(copyParams); in commandBeforeCompute()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkBuilderUtil.cpp248 const VkCopyDescriptorSet copyParams = in copy() local
260 m_copies.push_back(copyParams); in copy()
DvkObjUtil.cpp834 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
843 return copyParams; in makeBufferImageCopy()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp402 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
411 return copyParams; in makeBufferImageCopy()
/third_party/flutter/skia/src/image/
DSkImage_GpuYUVA.cpp94 GrTextureProducer::CopyParams copyParams; in setupMipmapsForPlanes() local
99 &copyParams)) { in setupMipmapsForPlanes()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp305 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
314 return copyParams; in makeBufferImageCopy()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/device_group/
DvktDeviceGroupRendering.cpp1612 const VkBufferImageCopy copyParams = in iterate() local
1632 …renderImage : *readImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *readImageBuffer, 1u, &copyParams); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelMessagePassing.cpp1609 const VkBufferCopy copyParams = in iterate() local
1729 vk.cmdCopyBuffer(*cmdBuffer, **buffers[2], **copyBuffer, 1, &copyParams); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp1502 const vk::VkBufferImageCopy copyParams = in ShaderCaseInstance() local
1517 …ge[outNdx], vk::VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *m_readImageBuffer[outNdx], 1u, &copyParams); in ShaderCaseInstance()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp4319 const VkBufferImageCopy copyParams = in runAndVerifyDefaultPipeline() local
4333 …ToBuffer(*cmdBuf, *image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *readImageBuffer, 1u, &copyParams); in runAndVerifyDefaultPipeline()
4337 …mdBuf, *fragOutputImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *fragOutputBuffer, 1u, &copyParams); in runAndVerifyDefaultPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1319 const VkBufferImageCopy copyParams = in execute() local
1359 …n + locNdx].get()->get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *readImageBuffer, 1u, &copyParams); in execute()