/external/skqp/src/gpu/vk/ |
D | GrVkSamplerYcbcrConversion.cpp | 78 const GrVkYcbcrConversionInfo& ycbcrInfo) { in GenerateKey() argument 79 SkASSERT(static_cast<int>(ycbcrInfo.fYcbcrModel <= 7)); in GenerateKey() 81 SkASSERT(static_cast<int>(ycbcrInfo.fYcbcrRange) <= 1); in GenerateKey() 83 SkASSERT(static_cast<int>(ycbcrInfo.fXChromaOffset) <= 1); in GenerateKey() 85 SkASSERT(static_cast<int>(ycbcrInfo.fXChromaOffset) <= 1); in GenerateKey() 87 SkASSERT(static_cast<int>(ycbcrInfo.fChromaFilter) <= 1); in GenerateKey() 89 SkASSERT(static_cast<int>(ycbcrInfo.fForceExplicitReconstruction) <= 1); in GenerateKey() 92 uint8_t ycbcrKey = static_cast<uint8_t>(ycbcrInfo.fYcbcrModel); in GenerateKey() 93 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fYcbcrRange) << kRangeShift); in GenerateKey() 94 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fXChromaOffset) << kXChromaOffsetShift); in GenerateKey() [all …]
|
D | GrVkSampler.cpp | 30 const GrVkYcbcrConversionInfo& ycbcrInfo) { in Create() argument 71 if (ycbcrInfo.isValid()) { in Create() 75 gpu->resourceProvider().findOrCreateCompatibleSamplerYcbcrConversion(ycbcrInfo); in Create() 86 const VkFormatFeatureFlags& flags = ycbcrInfo.fExternalFormatFeatures; in Create() 94 createInfo.magFilter = ycbcrInfo.fChromaFilter; in Create() 95 createInfo.minFilter = ycbcrInfo.fChromaFilter; in Create() 112 return new GrVkSampler(sampler, ycbcrConversion, GenerateKey(samplerState, ycbcrInfo)); in Create() 130 const GrVkYcbcrConversionInfo& ycbcrInfo) { in GenerateKey() argument 143 return {samplerKey, GrVkSamplerYcbcrConversion::GenerateKey(ycbcrInfo)}; in GenerateKey()
|
D | GrVkImageView.cpp | 15 const GrVkYcbcrConversionInfo& ycbcrInfo) { in Create() argument 21 if (ycbcrInfo.isValid()) { in Create() 25 gpu->resourceProvider().findOrCreateCompatibleSamplerYcbcrConversion(ycbcrInfo); in Create()
|
D | GrVkResourceProvider.cpp | 227 const GrSamplerState& params, const GrVkYcbcrConversionInfo& ycbcrInfo) { in findOrCreateCompatibleSampler() argument 228 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, ycbcrInfo)); in findOrCreateCompatibleSampler() 230 sampler = GrVkSampler::Create(fGpu, params, ycbcrInfo); in findOrCreateCompatibleSampler() 242 const GrVkYcbcrConversionInfo& ycbcrInfo) { in findOrCreateCompatibleSamplerYcbcrConversion() argument 244 fYcbcrConversions.find(GrVkSamplerYcbcrConversion::GenerateKey(ycbcrInfo)); in findOrCreateCompatibleSamplerYcbcrConversion() 246 ycbcrConversion = GrVkSamplerYcbcrConversion::Create(fGpu, ycbcrInfo); in findOrCreateCompatibleSamplerYcbcrConversion()
|
D | GrVkResourceProvider.h | 106 const GrVkYcbcrConversionInfo& ycbcrInfo); 111 const GrVkYcbcrConversionInfo& ycbcrInfo);
|
D | GrVkImageView.h | 27 const GrVkYcbcrConversionInfo& ycbcrInfo);
|
D | GrVkSamplerYcbcrConversion.h | 42 static Key GenerateKey(const GrVkYcbcrConversionInfo& ycbcrInfo);
|
D | GrVkCaps.cpp | 812 const GrVkYcbcrConversionInfo* ycbcrInfo = format.getVkYcbcrConversionInfo(); in getConfigFromBackendFormat() local 813 if (!vkFormat || !ycbcrInfo) { in getConfigFromBackendFormat() 816 return validate_image_info(*vkFormat, ct, ycbcrInfo->isValid()); in getConfigFromBackendFormat()
|
D | GrVkGpu.cpp | 2381 const GrVkYcbcrConversionInfo* ycbcrInfo = format.getVkYcbcrConversionInfo(); in getExtraSamplerKeyForProgram() local 2382 SkASSERT(ycbcrInfo); in getExtraSamplerKeyForProgram() 2383 if (!ycbcrInfo->isValid()) { in getExtraSamplerKeyForProgram() 2388 samplerState, *ycbcrInfo); in getExtraSamplerKeyForProgram()
|
/external/skia/src/gpu/vk/ |
D | GrVkSamplerYcbcrConversion.cpp | 78 const GrVkYcbcrConversionInfo& ycbcrInfo) { in GenerateKey() argument 79 SkASSERT(static_cast<int>(ycbcrInfo.fYcbcrModel <= 7)); in GenerateKey() 81 SkASSERT(static_cast<int>(ycbcrInfo.fYcbcrRange) <= 1); in GenerateKey() 83 SkASSERT(static_cast<int>(ycbcrInfo.fXChromaOffset) <= 1); in GenerateKey() 85 SkASSERT(static_cast<int>(ycbcrInfo.fXChromaOffset) <= 1); in GenerateKey() 87 SkASSERT(static_cast<int>(ycbcrInfo.fChromaFilter) <= 1); in GenerateKey() 89 SkASSERT(static_cast<int>(ycbcrInfo.fForceExplicitReconstruction) <= 1); in GenerateKey() 92 uint8_t ycbcrKey = static_cast<uint8_t>(ycbcrInfo.fYcbcrModel); in GenerateKey() 93 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fYcbcrRange) << kRangeShift); in GenerateKey() 94 ycbcrKey |= (static_cast<uint8_t>(ycbcrInfo.fXChromaOffset) << kXChromaOffsetShift); in GenerateKey() [all …]
|
D | GrVkSampler.cpp | 30 const GrVkYcbcrConversionInfo& ycbcrInfo) { in Create() argument 71 if (ycbcrInfo.isValid()) { in Create() 75 gpu->resourceProvider().findOrCreateCompatibleSamplerYcbcrConversion(ycbcrInfo); in Create() 86 const VkFormatFeatureFlags& flags = ycbcrInfo.fExternalFormatFeatures; in Create() 94 createInfo.magFilter = ycbcrInfo.fChromaFilter; in Create() 95 createInfo.minFilter = ycbcrInfo.fChromaFilter; in Create() 112 return new GrVkSampler(sampler, ycbcrConversion, GenerateKey(samplerState, ycbcrInfo)); in Create() 130 const GrVkYcbcrConversionInfo& ycbcrInfo) { in GenerateKey() argument 143 return {samplerKey, GrVkSamplerYcbcrConversion::GenerateKey(ycbcrInfo)}; in GenerateKey()
|
D | GrVkImageView.cpp | 15 const GrVkYcbcrConversionInfo& ycbcrInfo) { in Create() argument 21 if (ycbcrInfo.isValid()) { in Create() 25 gpu->resourceProvider().findOrCreateCompatibleSamplerYcbcrConversion(ycbcrInfo); in Create()
|
D | GrVkResourceProvider.cpp | 227 const GrSamplerState& params, const GrVkYcbcrConversionInfo& ycbcrInfo) { in findOrCreateCompatibleSampler() argument 228 GrVkSampler* sampler = fSamplers.find(GrVkSampler::GenerateKey(params, ycbcrInfo)); in findOrCreateCompatibleSampler() 230 sampler = GrVkSampler::Create(fGpu, params, ycbcrInfo); in findOrCreateCompatibleSampler() 242 const GrVkYcbcrConversionInfo& ycbcrInfo) { in findOrCreateCompatibleSamplerYcbcrConversion() argument 244 fYcbcrConversions.find(GrVkSamplerYcbcrConversion::GenerateKey(ycbcrInfo)); in findOrCreateCompatibleSamplerYcbcrConversion() 246 ycbcrConversion = GrVkSamplerYcbcrConversion::Create(fGpu, ycbcrInfo); in findOrCreateCompatibleSamplerYcbcrConversion()
|
D | GrVkResourceProvider.h | 113 const GrVkYcbcrConversionInfo& ycbcrInfo); 118 const GrVkYcbcrConversionInfo& ycbcrInfo);
|
D | GrVkImageView.h | 27 const GrVkYcbcrConversionInfo& ycbcrInfo);
|
D | GrVkSamplerYcbcrConversion.h | 42 static Key GenerateKey(const GrVkYcbcrConversionInfo& ycbcrInfo);
|
D | GrVkCaps.cpp | 899 const GrVkYcbcrConversionInfo* ycbcrInfo = format.getVkYcbcrConversionInfo(); in getConfigFromBackendFormat() local 900 if (!vkFormat || !ycbcrInfo) { in getConfigFromBackendFormat() 903 return validate_image_info(*vkFormat, ct, ycbcrInfo->isValid()); in getConfigFromBackendFormat()
|
D | GrVkGpu.cpp | 2429 const GrVkYcbcrConversionInfo* ycbcrInfo = format.getVkYcbcrConversionInfo(); in getExtraSamplerKeyForProgram() local 2430 SkASSERT(ycbcrInfo); in getExtraSamplerKeyForProgram() 2431 if (!ycbcrInfo->isValid()) { in getExtraSamplerKeyForProgram() 2436 samplerState, *ycbcrInfo); in getExtraSamplerKeyForProgram()
|
/external/skia/src/gpu/ |
D | GrBackendSurface.cpp | 66 GrBackendFormat GrBackendFormat::MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo) { in MakeVk() argument 68 return GrBackendFormat(VK_FORMAT_UNDEFINED, ycbcrInfo); in MakeVk() 74 GrBackendFormat::GrBackendFormat(VkFormat vkFormat, const GrVkYcbcrConversionInfo& ycbcrInfo) in GrBackendFormat() argument 83 fVk.fYcbcrConversionInfo = ycbcrInfo; in GrBackendFormat() 135 if (const GrVkYcbcrConversionInfo* ycbcrInfo = this->getVkYcbcrConversionInfo()) { in makeTexture2D() local 136 if (ycbcrInfo->isValid()) { in makeTexture2D()
|
/external/skqp/src/gpu/ |
D | GrBackendSurface.cpp | 66 GrBackendFormat GrBackendFormat::MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo) { in MakeVk() argument 68 return GrBackendFormat(VK_FORMAT_UNDEFINED, ycbcrInfo); in MakeVk() 74 GrBackendFormat::GrBackendFormat(VkFormat vkFormat, const GrVkYcbcrConversionInfo& ycbcrInfo) in GrBackendFormat() argument 83 fVk.fYcbcrConversionInfo = ycbcrInfo; in GrBackendFormat()
|
/external/skia/include/gpu/ |
D | GrBackendSurface.h | 57 static GrBackendFormat MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo);
|
/external/skqp/include/gpu/ |
D | GrBackendSurface.h | 57 static GrBackendFormat MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo);
|