Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/
DGrGpu.cpp51 GrTextureProducer::CopyParams* copyParams, in IsACopyNeededForRepeatWrapMode() argument
56 copyParams->fWidth = GrNextPow2(width); in IsACopyNeededForRepeatWrapMode()
57 copyParams->fHeight = GrNextPow2(height); in IsACopyNeededForRepeatWrapMode()
59 scaleAdjust[0] = ((SkScalar)copyParams->fWidth) / width; in IsACopyNeededForRepeatWrapMode()
60 scaleAdjust[1] = ((SkScalar)copyParams->fHeight) / height; in IsACopyNeededForRepeatWrapMode()
63 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForRepeatWrapMode()
68 copyParams->fFilter = GrSamplerState::Filter::kBilerp; in IsACopyNeededForRepeatWrapMode()
78 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForRepeatWrapMode()
79 copyParams->fWidth = texProxy->width(); in IsACopyNeededForRepeatWrapMode()
80 copyParams->fHeight = texProxy->height(); in IsACopyNeededForRepeatWrapMode()
[all …]
DGrTextureAdjuster.cpp38 sk_sp<GrTextureProxy> GrTextureAdjuster::refTextureProxyCopy(const CopyParams& copyParams, in refTextureProxyCopy() argument
43 this->makeCopyKey(copyParams, &key); in refTextureProxyCopy()
55 sk_sp<GrTextureProxy> copy = CopyOnGpu(fContext, std::move(proxy), copyParams, willBeMipped); in refTextureProxyCopy()
80 CopyParams copyParams; in onRefTextureProxyForParams() local
94 &copyParams, scaleAdjust)) { in onRefTextureProxyForParams()
97 &copyParams); in onRefTextureProxyForParams()
103 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()
77 sk_sp<GrTextureProxy> result = CopyOnGpu(fContext, source, copyParams, willBeMipped); in onRefTextureProxyForParams()
DGrTextureProducer.h125 const CopyParams& copyParams, in MakeCopyKeyFromOrigKey() argument
131 builder[0] = static_cast<uint32_t>(copyParams.fFilter); in MakeCopyKeyFromOrigKey()
132 builder[1] = copyParams.fWidth; in MakeCopyKeyFromOrigKey()
133 builder[2] = copyParams.fHeight; in MakeCopyKeyFromOrigKey()
161 const CopyParams& copyParams,
DGrTextureProducer.cpp22 const CopyParams& copyParams, in CopyOnGpu() argument
28 const SkRect dstRect = SkRect::MakeIWH(copyParams.fWidth, copyParams.fHeight); in CopyOnGpu()
35 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) { in CopyOnGpu()
41 if (copyParams.fFilter == GrSamplerState::Filter::kNearest && !needsDomain && !resizing && in CopyOnGpu()
68 SkASSERT(copyParams.fFilter != GrSamplerState::Filter::kMipMap); in CopyOnGpu()
71 GrTextureDomain::kClamp_Mode, copyParams.fFilter)); in CopyOnGpu()
73 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu()
DGrBitmapTextureMaker.cpp102 void GrBitmapTextureMaker::makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey) { in makeCopyKey() argument
105 MakeCopyKeyFromOrigKey(fOriginalKey, copyParams, copyKey); in makeCopyKey()
DGrBitmapTextureMaker.h25 void makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey) override;
DGrTextureAdjuster.h49 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams& copyParams, bool willBeMipped);
/external/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()
DGrGpu.cpp50 GrTextureProducer::CopyParams* copyParams, in IsACopyNeededForRepeatWrapMode() argument
55 copyParams->fWidth = GrNextPow2(width); in IsACopyNeededForRepeatWrapMode()
56 copyParams->fHeight = GrNextPow2(height); in IsACopyNeededForRepeatWrapMode()
58 scaleAdjust[0] = ((SkScalar)copyParams->fWidth) / width; in IsACopyNeededForRepeatWrapMode()
59 scaleAdjust[1] = ((SkScalar)copyParams->fHeight) / height; in IsACopyNeededForRepeatWrapMode()
62 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForRepeatWrapMode()
67 copyParams->fFilter = GrSamplerState::Filter::kBilerp; in IsACopyNeededForRepeatWrapMode()
77 copyParams->fFilter = GrSamplerState::Filter::kNearest; in IsACopyNeededForRepeatWrapMode()
78 copyParams->fWidth = texProxy->width(); in IsACopyNeededForRepeatWrapMode()
79 copyParams->fHeight = texProxy->height(); in IsACopyNeededForRepeatWrapMode()
[all …]
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()
77 sk_sp<GrTextureProxy> result = CopyOnGpu(this->context(), source, copyParams, willBeMipped); in onRefTextureProxyForParams()
DGrTextureProducer.h124 const CopyParams& copyParams, in MakeCopyKeyFromOrigKey() argument
130 builder[0] = static_cast<uint32_t>(copyParams.fFilter); in MakeCopyKeyFromOrigKey()
131 builder[1] = copyParams.fWidth; in MakeCopyKeyFromOrigKey()
132 builder[2] = copyParams.fHeight; in MakeCopyKeyFromOrigKey()
161 const CopyParams& copyParams,
DGrTextureProducer.cpp25 const CopyParams& copyParams, in CopyOnGpu() argument
31 const SkRect dstRect = SkRect::MakeIWH(copyParams.fWidth, copyParams.fHeight); in CopyOnGpu()
38 if (copyParams.fFilter != GrSamplerState::Filter::kNearest) { in CopyOnGpu()
44 if (copyParams.fFilter == GrSamplerState::Filter::kNearest && !needsDomain && !resizing && in CopyOnGpu()
71 SkASSERT(copyParams.fFilter != GrSamplerState::Filter::kMipMap); in CopyOnGpu()
74 GrTextureDomain::kClamp_Mode, copyParams.fFilter)); in CopyOnGpu()
76 GrSamplerState samplerState(GrSamplerState::WrapMode::kClamp, copyParams.fFilter); in CopyOnGpu()
DGrBitmapTextureMaker.cpp103 void GrBitmapTextureMaker::makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey) { in makeCopyKey() argument
106 MakeCopyKeyFromOrigKey(fOriginalKey, copyParams, copyKey); in makeCopyKey()
DGrBitmapTextureMaker.h26 void makeCopyKey(const CopyParams& copyParams, GrUniqueKey* copyKey) override;
DGrTextureAdjuster.h51 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.cpp215 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
224 return copyParams; in makeBufferImageCopy()
1052 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
1071 return copyParams; in makeBufferImageCopy()
1076 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
1095 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/modules/vulkan/geometry/
DvktGeometryTestsUtil.cpp454 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
463 return copyParams; in makeBufferImageCopy()
471 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
480 return copyParams; in makeBufferImageCopy()
/external/deqp/external/vulkancts/framework/vulkan/
DvkBuilderUtil.cpp247 const VkCopyDescriptorSet copyParams = in copy() local
259 m_copies.push_back(copyParams); in copy()
/external/skqp/src/image/
DSkImage_GpuYUVA.cpp83 GrTextureProducer::CopyParams copyParams; in setupMipmapsForPlanes() local
88 &copyParams)) { in setupMipmapsForPlanes()
/external/skia/src/image/
DSkImage_GpuYUVA.cpp89 GrTextureProducer::CopyParams copyParams; in setupMipmapsForPlanes() local
94 &copyParams)) { in setupMipmapsForPlanes()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationUtil.cpp200 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
209 return copyParams; in makeBufferImageCopy()
/external/deqp/external/vulkancts/modules/vulkan/util/
DvktDrawUtil.cpp203 const VkBufferImageCopy copyParams = in makeBufferImageCopy() local
212 return copyParams; in makeBufferImageCopy()

12