Home
last modified time | relevance | path

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

12

/external/skia/src/gpu/
DGrTextureMaker.cpp20 CopyParams copyParams; in onRefTextureProxyForParams() local
35 if (!gpu->isACopyNeededForTextureParams(original.get(), params, &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
40 params, &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
50 this->makeCopyKey(copyParams, &copyKey, dstColorSpace); in onRefTextureProxyForParams()
73 result = CopyOnGpu(fContext, std::move(result), copyParams, willBeMipped); in onRefTextureProxyForParams()
141 sk_sp<GrTextureProxy> GrTextureMaker::generateTextureProxyForParams(const CopyParams& copyParams, in generateTextureProxyForParams() argument
150 return CopyOnGpu(fContext, std::move(original), copyParams, willBeMipped); in generateTextureProxyForParams()
DGrTextureAdjuster.cpp41 sk_sp<GrTextureProxy> GrTextureAdjuster::refTextureProxyCopy(const CopyParams& copyParams, in refTextureProxyCopy() argument
46 this->makeCopyKey(copyParams, &key, nullptr); in refTextureProxyCopy()
57 sk_sp<GrTextureProxy> copy = CopyOnGpu(fContext, std::move(proxy), copyParams, willBeMipped); in refTextureProxyCopy()
74 CopyParams copyParams; in onRefTextureProxyForParams() local
90 if (!gpu->isACopyNeededForTextureParams(proxy.get(), params, &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
95 return this->refTextureProxyCopy(copyParams, willBeMipped); in onRefTextureProxyForParams()
DGrTextureProducer.cpp20 const CopyParams& copyParams, in CopyOnGpu() argument
24 const SkRect dstRect = SkRect::MakeIWH(copyParams.fWidth, copyParams.fHeight); in CopyOnGpu()
44 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) { in CopyOnGpu()
54 SkASSERT(copyParams.fFilter != GrSamplerState::Filter::kMipMap); in CopyOnGpu()
57 GrTextureDomain::kClamp_Mode, copyParams.fFilter)); in CopyOnGpu()
59 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu()
DGrTextureProducer.h118 const CopyParams& copyParams, in MakeCopyKeyFromOrigKey() argument
124 builder[0] = static_cast<uint32_t>(copyParams.fFilter); in MakeCopyKeyFromOrigKey()
125 builder[1] = copyParams.fWidth; in MakeCopyKeyFromOrigKey()
126 builder[2] = copyParams.fHeight; in MakeCopyKeyFromOrigKey()
156 const CopyParams& copyParams,
DGrGpu.cpp49 GrTextureProducer::CopyParams* copyParams, in isACopyNeededForTextureParams() argument
55 copyParams->fWidth = GrNextPow2(width); in isACopyNeededForTextureParams()
56 copyParams->fHeight = GrNextPow2(height); in isACopyNeededForTextureParams()
58 scaleAdjust[0] = ((SkScalar) copyParams->fWidth) / width; in isACopyNeededForTextureParams()
59 scaleAdjust[1] = ((SkScalar) copyParams->fHeight) / height; in isACopyNeededForTextureParams()
62 copyParams->fFilter = GrSamplerState::Filter::kNearest; in isACopyNeededForTextureParams()
67 copyParams->fFilter = GrSamplerState::Filter::kBilerp; in isACopyNeededForTextureParams()
DGrBitmapTextureMaker.cpp100 void GrBitmapTextureMaker::makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey, in makeCopyKey() argument
104 MakeCopyKeyFromOrigKey(fOriginalKey, copyParams, copyKey); in makeCopyKey()
DGrGpu.h492 GrTextureProducer::CopyParams* copyParams, in isACopyNeededForTextureParams() argument
495 copyParams, scaleAdjust)) { in isACopyNeededForTextureParams()
498 return this->onIsACopyNeededForTextureParams(proxy, params, copyParams, scaleAdjust); in isACopyNeededForTextureParams()
DGrBitmapTextureMaker.h26 void makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey,
DGrTextureAdjuster.h51 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams& copyParams, bool willBeMipped);
/external/skqp/src/gpu/
DGrTextureMaker.cpp20 CopyParams copyParams; in refTextureProxyForParams() local
35 if (!gpu->isACopyNeededForTextureParams(original.get(), params, &copyParams, scaleAdjust)) { in refTextureProxyForParams()
40 params, &copyParams, scaleAdjust)) { in refTextureProxyForParams()
50 this->makeCopyKey(copyParams, &copyKey, dstColorSpace); in refTextureProxyForParams()
73 result = CopyOnGpu(fContext, std::move(result), copyParams, willBeMipped); in refTextureProxyForParams()
141 sk_sp<GrTextureProxy> GrTextureMaker::generateTextureProxyForParams(const CopyParams& copyParams, in generateTextureProxyForParams() argument
150 return CopyOnGpu(fContext, std::move(original), copyParams, willBeMipped); in generateTextureProxyForParams()
DGrTextureProducer.cpp20 const CopyParams& copyParams, in CopyOnGpu() argument
24 const SkRect dstRect = SkRect::MakeIWH(copyParams.fWidth, copyParams.fHeight); in CopyOnGpu()
40 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) { in CopyOnGpu()
50 SkASSERT(copyParams.fFilter != GrSamplerState::Filter::kMipMap); in CopyOnGpu()
53 GrTextureDomain::kClamp_Mode, copyParams.fFilter)); in CopyOnGpu()
55 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu()
DGrTextureProducer.h89 const CopyParams& copyParams, in MakeCopyKeyFromOrigKey() argument
95 builder[0] = static_cast<uint32_t>(copyParams.fFilter); in MakeCopyKeyFromOrigKey()
96 builder[1] = copyParams.fWidth; in MakeCopyKeyFromOrigKey()
97 builder[2] = copyParams.fHeight; in MakeCopyKeyFromOrigKey()
127 const CopyParams& copyParams,
DGrTextureAdjuster.cpp41 sk_sp<GrTextureProxy> GrTextureAdjuster::refTextureProxyCopy(const CopyParams& copyParams, in refTextureProxyCopy() argument
46 this->makeCopyKey(copyParams, &key, nullptr); in refTextureProxyCopy()
57 sk_sp<GrTextureProxy> copy = CopyOnGpu(fContext, std::move(proxy), copyParams, willBeMipped); in refTextureProxyCopy()
71 CopyParams copyParams; in refTextureProxySafeForParams() local
79 if (!gpu->isACopyNeededForTextureParams(proxy.get(), params, &copyParams, scaleAdjust)) { in refTextureProxySafeForParams()
84 return this->refTextureProxyCopy(copyParams, willBeMipped); in refTextureProxySafeForParams()
DGrGpu.cpp50 GrTextureProducer::CopyParams* copyParams, in isACopyNeededForTextureParams() argument
56 copyParams->fWidth = GrNextPow2(width); in isACopyNeededForTextureParams()
57 copyParams->fHeight = GrNextPow2(height); in isACopyNeededForTextureParams()
58 scaleAdjust[0] = ((SkScalar) copyParams->fWidth) / width; in isACopyNeededForTextureParams()
59 scaleAdjust[1] = ((SkScalar) copyParams->fHeight) / height; in isACopyNeededForTextureParams()
62 copyParams->fFilter = GrSamplerState::Filter::kNearest; in isACopyNeededForTextureParams()
67 copyParams->fFilter = GrSamplerState::Filter::kBilerp; in isACopyNeededForTextureParams()
DGrBitmapTextureMaker.cpp100 void GrBitmapTextureMaker::makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey, in makeCopyKey() argument
104 MakeCopyKeyFromOrigKey(fOriginalKey, copyParams, copyKey); in makeCopyKey()
DGrGpu.h500 GrTextureProducer::CopyParams* copyParams, in isACopyNeededForTextureParams() argument
503 copyParams, scaleAdjust)) { in isACopyNeededForTextureParams()
506 return this->onIsACopyNeededForTextureParams(proxy, params, copyParams, scaleAdjust); in isACopyNeededForTextureParams()
DGrBitmapTextureMaker.h26 void makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey,
DGrTextureAdjuster.h57 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams &copyParams, bool willBeMipped);
/external/apache-http/src/org/apache/http/params/
DBasicHttpParams.java137 copyParams(clone); in copy()
143 copyParams(clone); in clone()
153 protected void copyParams(HttpParams target) { in copyParams() method in BasicHttpParams
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp309 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
318 return copyParams; in makeBufferImageCopy()
1277 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
1296 return copyParams; in makeBufferImageCopy()
1301 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
1320 return copyParams; in makeBufferImageCopy()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.cpp77 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
86 return copyParams; in makeBufferImageCopy()
/external/deqp/external/vulkancts/framework/vulkan/
DvkBuilderUtil.cpp238 const VkCopyDescriptorSet copyParams = in copy() local
250 m_copies.push_back(copyParams); in copy()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiSmokeTests.cpp820 const VkBufferImageCopy copyParams = in renderTriangleTest() local
838 …ToBuffer(*cmdBuf, *image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *readImageBuffer, 1u, &copyParams); in renderTriangleTest()
1437 const VkBufferImageCopy copyParams = in renderTriangleUnusedResolveAttachmentTest() local
1455 …ToBuffer(*cmdBuf, *image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, *readImageBuffer, 1u, &copyParams); in renderTriangleUnusedResolveAttachmentTest()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp517 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
526 return copyParams; in makeBufferImageCopy()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationUtil.cpp256 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
265 return copyParams; in makeBufferImageCopy()

12