/external/mesa3d/src/mesa/main/ |
D | texstore.c | 101 mesa_format dstFormat, in _mesa_memcpy_texture() argument 115 const GLuint texelBytes = _mesa_get_format_bytes(dstFormat); in _mesa_memcpy_texture() 154 assert(dstFormat == MESA_FORMAT_Z_UNORM32 || in _mesa_texstore_z32() 155 dstFormat == MESA_FORMAT_Z_FLOAT32); in _mesa_texstore_z32() 156 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLuint)); in _mesa_texstore_z32() 158 if (dstFormat == MESA_FORMAT_Z_UNORM32) in _mesa_texstore_z32() 191 assert(dstFormat == MESA_FORMAT_Z24_UNORM_X8_UINT); in _mesa_texstore_x8_z24() 221 assert(dstFormat == MESA_FORMAT_X8_UINT_Z24_UNORM); in _mesa_texstore_z24_x8() 254 assert(dstFormat == MESA_FORMAT_Z_UNORM16); in _mesa_texstore_z16() 255 assert(_mesa_get_format_bytes(dstFormat) == sizeof(GLushort)); in _mesa_texstore_z16() [all …]
|
D | texstore.h | 64 UNUSED mesa_format dstFormat, \ 79 UNUSED mesa_format dstFormat, \ 93 mesa_format dstFormat); 98 mesa_format dstFormat, 108 GLenum baseInternalFormat, mesa_format dstFormat,
|
D | texcompress_s3tc.c | 55 assert(dstFormat == MESA_FORMAT_RGB_DXT1 || in _mesa_texstore_rgb_dxt1() 56 dstFormat == MESA_FORMAT_SRGB_DXT1); in _mesa_texstore_rgb_dxt1() 107 assert(dstFormat == MESA_FORMAT_RGBA_DXT1 || in _mesa_texstore_rgba_dxt1() 108 dstFormat == MESA_FORMAT_SRGBA_DXT1); in _mesa_texstore_rgba_dxt1() 163 assert(dstFormat == MESA_FORMAT_RGBA_DXT3 || in _mesa_texstore_rgba_dxt3() 164 dstFormat == MESA_FORMAT_SRGBA_DXT3); in _mesa_texstore_rgba_dxt3() 218 assert(dstFormat == MESA_FORMAT_RGBA_DXT5 || in _mesa_texstore_rgba_dxt5() 219 dstFormat == MESA_FORMAT_SRGBA_DXT5); in _mesa_texstore_rgba_dxt5()
|
D | copyimage.c | 509 GLenum srcFormat, GLenum dstFormat) in copy_format_compatible() argument 525 if (_mesa_texture_view_compatible_format(ctx, srcFormat, dstFormat)) { in copy_format_compatible() 529 return compressed_format_compatible(ctx, srcFormat, dstFormat); in copy_format_compatible() 530 } else if (_mesa_is_compressed_format(ctx, dstFormat)) { in copy_format_compatible() 531 return compressed_format_compatible(ctx, dstFormat, srcFormat); in copy_format_compatible() 612 mesa_format srcFormat, dstFormat; in _mesa_CopyImageSubData() local 642 &dstTexImage, &dstRenderbuffer, &dstFormat, in _mesa_CopyImageSubData() 679 _mesa_get_format_block_size(dstFormat, &dst_bw, &dst_bh); in _mesa_CopyImageSubData() 771 mesa_format srcFormat, dstFormat; in _mesa_CopyImageSubDataNV() local 800 &dstTexImage, &dstRenderbuffer, &dstFormat, in _mesa_CopyImageSubDataNV() [all …]
|
D | texcompress_rgtc.c | 90 assert(dstFormat == MESA_FORMAT_R_RGTC1_UNORM || in _mesa_texstore_red_rgtc1() 91 dstFormat == MESA_FORMAT_L_LATC1_UNORM); in _mesa_texstore_red_rgtc1() 143 assert(dstFormat == MESA_FORMAT_R_RGTC1_SNORM || in _mesa_texstore_signed_red_rgtc1() 144 dstFormat == MESA_FORMAT_L_LATC1_SNORM); in _mesa_texstore_signed_red_rgtc1() 197 assert(dstFormat == MESA_FORMAT_RG_RGTC2_UNORM || in _mesa_texstore_rg_rgtc2() 198 dstFormat == MESA_FORMAT_LA_LATC2_UNORM); in _mesa_texstore_rg_rgtc2() 262 assert(dstFormat == MESA_FORMAT_RG_RGTC2_SNORM || in _mesa_texstore_signed_rg_rgtc2() 263 dstFormat == MESA_FORMAT_LA_LATC2_SNORM); in _mesa_texstore_signed_rg_rgtc2()
|
D | texcompress_bptc.c | 222 assert(dstFormat == MESA_FORMAT_BPTC_RGB_SIGNED_FLOAT); in _mesa_texstore_bptc_rgb_signed_float() 225 dstFormat, dstRowStride, dstSlices, in _mesa_texstore_bptc_rgb_signed_float() 235 assert(dstFormat == MESA_FORMAT_BPTC_RGB_UNSIGNED_FLOAT); in _mesa_texstore_bptc_rgb_unsigned_float() 238 dstFormat, dstRowStride, dstSlices, in _mesa_texstore_bptc_rgb_unsigned_float()
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
D | vktYCbCrCopyTests.cpp | 170 vk::VkFormat dstFormat) in isCompatible() argument 172 if (srcFormat == dstFormat) in isCompatible() 335 && de::contains(DE_ARRAY_BEGIN(class8Bit), DE_ARRAY_END(class8Bit), dstFormat)) in isCompatible() 339 && de::contains(DE_ARRAY_BEGIN(class16Bit), DE_ARRAY_END(class16Bit), dstFormat)) in isCompatible() 343 && de::contains(DE_ARRAY_BEGIN(class24Bit), DE_ARRAY_END(class24Bit), dstFormat)) in isCompatible() 347 && de::contains(DE_ARRAY_BEGIN(class32Bit), DE_ARRAY_END(class32Bit), dstFormat)) in isCompatible() 351 && de::contains(DE_ARRAY_BEGIN(class48Bit), DE_ARRAY_END(class48Bit), dstFormat)) in isCompatible() 355 && de::contains(DE_ARRAY_BEGIN(class64Bit), DE_ARRAY_END(class64Bit), dstFormat)) in isCompatible() 359 && de::contains(DE_ARRAY_BEGIN(class96Bit), DE_ARRAY_END(class96Bit), dstFormat)) in isCompatible() 363 && de::contains(DE_ARRAY_BEGIN(class128Bit), DE_ARRAY_END(class128Bit), dstFormat)) in isCompatible() [all …]
|
D | vktYCbCrUtil.cpp | 1042 bool areLsb6BitsDontCare(vk::VkFormat srcFormat, vk::VkFormat dstFormat) in areLsb6BitsDontCare() argument 1045 (dstFormat == vk::VK_FORMAT_R10X6_UNORM_PACK16) || in areLsb6BitsDontCare() 1047 (dstFormat == vk::VK_FORMAT_R10X6G10X6_UNORM_2PACK16) || in areLsb6BitsDontCare() 1049 (dstFormat == vk::VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16) || in areLsb6BitsDontCare() 1051 (dstFormat == vk::VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16) || in areLsb6BitsDontCare() 1053 (dstFormat == vk::VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16) || in areLsb6BitsDontCare() 1055 (dstFormat == vk::VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16) || in areLsb6BitsDontCare() 1057 (dstFormat == vk::VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16) || in areLsb6BitsDontCare() 1059 (dstFormat == vk::VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16) || in areLsb6BitsDontCare() 1061 (dstFormat == vk::VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16) || in areLsb6BitsDontCare() [all …]
|
D | vktYCbCrUtil.hpp | 179 vk::VkFormat dstFormat); 182 vk::VkFormat dstFormat);
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_memory.h | 29 SWR_FORMAT dstFormat, in swr_LoadHotTile() argument 38 …LoadHotTile(hWorkerPrivateData, pSrcSurface, pDC->pContext->pBucketMgr, dstFormat, renderTargetInd… in swr_LoadHotTile()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFramebufferBlitTests.cpp | 330 …ntext, const char* name, const char* desc, deUint32 srcFormat, deUint32 dstFormat, const IVec2& si… in BlitColorConversionCase() argument 333 , m_dstFormat (dstFormat) in BlitColorConversionCase() 348 tcu::TextureFormat dstFormat = glu::mapGLInternalFormat(m_dstFormat); in render() local 350 glu::DataType dstOutputType = getFragmentOutputType(dstFormat); in render() 354 tcu::TextureFormatInfo dstFmtRangeInfo = tcu::getTextureFormatInfo(dstFormat); in render() 355 … copyMask = tcu::logicalAnd(getChannelMask(srcFormat.order), getChannelMask(dstFormat.order)); in render() 422 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), dstFormat, dstRangeInfo.lookupScale, dstRangeInfo.lo… in render() 428 const tcu::TextureFormat dstFormat = glu::mapGLInternalFormat(m_dstFormat); in compare() local 430 const bool dstIsSRGB = tcu::isSRGB(dstFormat); in compare() 436 threshold = getToSRGBConversionThreshold(srcFormat, dstFormat); in compare() [all …]
|
/external/skqp/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 223 const SkMask::Format dstFormat = static_cast<SkMask::Format>(dstMask.fFormat); in copyFTBitmap() local 229 if (SkMask::kLCD16_Format == dstFormat) { in copyFTBitmap() 234 if ((FT_PIXEL_MODE_MONO == srcFormat && SkMask::kBW_Format == dstFormat) || in copyFTBitmap() 235 (FT_PIXEL_MODE_GRAY == srcFormat && SkMask::kA8_Format == dstFormat)) in copyFTBitmap() 243 } else if (FT_PIXEL_MODE_MONO == srcFormat && SkMask::kA8_Format == dstFormat) { in copyFTBitmap() 261 } else if (FT_PIXEL_MODE_BGRA == srcFormat && SkMask::kARGB32_Format == dstFormat) { in copyFTBitmap() 280 SkDEBUGF("FT_Pixel_Mode %d, SkMask::Format %d\n", srcFormat, dstFormat); in copyFTBitmap()
|
/external/skia/src/gpu/d3d/ |
D | GrD3DCaps.h | 81 bool canCopyTexture(DXGI_FORMAT dstFormat, int dstSampleCnt, 84 bool canCopyAsResolve(DXGI_FORMAT dstFormat, int dstSampleCnt,
|
D | GrD3DCaps.cpp | 63 bool GrD3DCaps::canCopyTexture(DXGI_FORMAT dstFormat, int dstSampleCnt, in canCopyTexture() argument 71 return srcFormat == dstFormat; in canCopyTexture() 74 bool GrD3DCaps::canCopyAsResolve(DXGI_FORMAT dstFormat, int dstSampleCnt, in canCopyAsResolve() argument 89 if (srcFormat != dstFormat) { in canCopyAsResolve() 113 DXGI_FORMAT dstFormat, srcFormat; in onCanCopySurface() local 114 SkAssertResult(dst->backendFormat().asDxgiFormat(&dstFormat)); in onCanCopySurface() 117 return this->canCopyTexture(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt) || in onCanCopySurface() 118 this->canCopyAsResolve(dstFormat, dstSampleCnt, srcFormat, srcSampleCnt); in onCanCopySurface()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_texture.h | 46 st_get_blit_mask(GLenum srcFormat, GLenum dstFormat);
|
/external/skia/src/gpu/mtl/ |
D | GrMtlCaps.h | 66 bool canCopyAsBlit(MTLPixelFormat dstFormat, int dstSampleCount, 76 bool canCopyAsResolve(MTLPixelFormat dstFormat, int dstSampleCount,
|
D | GrMtlCaps.mm | 168 MTLPixelFormat dstFormat = dstTex.pixelFormat; 173 return this->canCopyAsBlit(dstFormat, dstSampleCount, srcFormat, srcSampleCount, srcRect, 177 bool GrMtlCaps::canCopyAsBlit(MTLPixelFormat dstFormat, int dstSampleCount, 181 if (!dstFormat || dstFormat != srcFormat) { 201 MTLPixelFormat dstFormat = GrBackendFormatAsMTLPixelFormat(dst->backendFormat()); 209 return this->canCopyAsResolve(dstFormat, dstSampleCount, srcFormat, srcSampleCount, 213 bool GrMtlCaps::canCopyAsResolve(MTLPixelFormat dstFormat, int dstSampleCount, 222 if (dstFormat != srcFormat) { 259 MTLPixelFormat dstFormat = GrBackendFormatAsMTLPixelFormat(dst->backendFormat()); 261 return this->canCopyAsResolve(dstFormat, dstSampleCnt,
|
/external/deqp/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassSparseRenderTargetTests.cpp | 199 VkFormat dstFormat) in createRenderPass() argument 214 dstFormat, // VkFormat format; || VkFormat format; in createRenderPass() 259 VkFormat dstFormat, in createRenderPass() argument 265 …eference1, SubpassDescription1, SubpassDependency1, RenderPassCreateInfo1>(vkd, device, dstFormat); in createRenderPass() 267 …eference2, SubpassDescription2, SubpassDependency2, RenderPassCreateInfo2>(vkd, device, dstFormat); in createRenderPass()
|
D | vktRenderPassSampleReadTests.cpp | 256 VkFormat dstFormat, in createRenderPass() argument 327 dstFormat, // VkFormat format; || VkFormat format; in createRenderPass() 341 dstFormat, // VkFormat format; || VkFormat format; in createRenderPass() 414 VkFormat dstFormat, in createRenderPass() argument 421 …on1, SubpassDependency1, RenderPassCreateInfo1>(vkd, device, srcFormat, dstFormat, sampleCount, re… in createRenderPass() 423 …on2, SubpassDependency2, RenderPassCreateInfo2>(vkd, device, srcFormat, dstFormat, sampleCount, re… in createRenderPass()
|
/external/mesa3d/src/gallium/drivers/swr/rasterizer/memory/ |
D | InitMemory.h | 46 SWR_FORMAT dstFormat,
|
/external/deqp/modules/gles31/functional/ |
D | es31fCopyImageTests.cpp | 2353 void addCopyTests (TestCaseGroup* root, deUint32 srcFormat, deUint32 dstFormat) in addCopyTests() argument 2355 const string groupName = string(formatToName(srcFormat)) + "_" + formatToName(dstFormat); in addCopyTests() 2388 if (glu::isCompressedFormat(dstFormat) && dstTarget == GL_RENDERBUFFER) in addCopyTests() 2391 if (dstTarget == GL_RENDERBUFFER && !isColorRenderable(dstFormat)) in addCopyTests() 2394 …if (glu::isCompressedFormat(dstFormat) && !tcu::isAstcFormat(glu::mapGLCompressedTexFormat(dstForm… in addCopyTests() 2400 … bool isCompressedCase = glu::isCompressedFormat(srcFormat) || glu::isCompressedFormat(dstFormat); in addCopyTests() 2403 const IVec3 dstSize = getTestedSize(dstTarget, dstFormat, targetSize); in addCopyTests() 2407 ImageInfo(dstFormat, dstTarget, dstSize), in addCopyTests() 2673 const deUint32 dstFormat = formats[dstFormatNdx]; in init() local 2675 if (srcFormat != dstFormat && isFloatFormat(srcFormat) && isFloatFormat(dstFormat)) in init() [all …]
|
/external/vulkan-validation-layers/layers/ |
D | vk_format_utils.cpp | 1342 VK_LAYER_EXPORT bool FormatSizesAreEqual(VkFormat srcFormat, VkFormat dstFormat, uint32_t region_co… in FormatSizesAreEqual() argument 1346 if (FormatIsMultiplane(srcFormat) || FormatIsMultiplane(dstFormat)) { in FormatSizesAreEqual() 1354 if (FormatIsMultiplane(dstFormat)) { in FormatSizesAreEqual() 1355 …VkFormat planeFormat = FindMultiplaneCompatibleFormat(dstFormat, regions[i].dstSubresource.aspectM… in FormatSizesAreEqual() 1358 dstSize = FormatElementSize(dstFormat); in FormatSizesAreEqual() 1365 dstSize = FormatElementSize(dstFormat); in FormatSizesAreEqual()
|
/external/skia/src/gpu/vk/ |
D | GrVkCaps.cpp | 135 bool GrVkCaps::canCopyImage(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyImage() argument 147 return format_compatibility_class(srcFormat) == format_compatibility_class(dstFormat); in canCopyImage() 150 bool GrVkCaps::canCopyAsBlit(VkFormat dstFormat, int dstSampleCnt, bool dstIsLinear, in canCopyAsBlit() argument 155 if (!this->formatCanBeDstofBlit(dstFormat, dstIsLinear) || in canCopyAsBlit() 173 bool GrVkCaps::canCopyAsResolve(VkFormat dstFormat, int dstSampleCnt, bool dstHasYcbcr, in canCopyAsResolve() argument 186 if (srcFormat != dstFormat) { in canCopyAsResolve() 257 VkFormat dstFormat, srcFormat; in onCanCopySurface() local 258 SkAssertResult(dst->backendFormat().asVkFormat(&dstFormat)); in onCanCopySurface() 261 return this->canCopyImage(dstFormat, dstSampleCnt, dstHasYcbcr, in onCanCopySurface() 263 this->canCopyAsBlit(dstFormat, dstSampleCnt, dstIsLinear, dstHasYcbcr, in onCanCopySurface() [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLCaps.h | 402 bool canCopyTexSubImage(GrGLFormat dstFormat, bool dstHasMSAARenderBuffer, 406 bool canCopyAsBlit(GrGLFormat dstFormat, int dstSampleCnt, 412 bool canCopyAsDraw(GrGLFormat dstFormat, bool srcIsTexturable) const;
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | FramebufferVk.cpp | 59 angle::FormatID dstFormat = dstRenderTarget->getImageFormat().actualImageFormatID; in HasDstBlitFeature() local 60 return renderer->hasImageFormatFeatureBits(dstFormat, VK_FORMAT_FEATURE_BLIT_DST_BIT); in HasDstBlitFeature() 69 const angle::Format &dstFormat = dstRenderTarget->getImageFormat().intendedFormat(); in AreSrcAndDstColorChannelsBlitCompatible() local 73 ASSERT(!dstFormat.isLUMA() && !srcFormat.isLUMA()); in AreSrcAndDstColorChannelsBlitCompatible() 76 ASSERT(dstFormat.redBits > 0 && srcFormat.redBits > 0); in AreSrcAndDstColorChannelsBlitCompatible() 78 return (dstFormat.greenBits > 0 || srcFormat.greenBits == 0) && in AreSrcAndDstColorChannelsBlitCompatible() 79 (dstFormat.blueBits > 0 || srcFormat.blueBits == 0) && in AreSrcAndDstColorChannelsBlitCompatible() 80 (dstFormat.alphaBits > 0 || srcFormat.alphaBits == 0); in AreSrcAndDstColorChannelsBlitCompatible() 89 const vk::Format &dstFormat = dstRenderTarget->getImageFormat(); in AreSrcAndDstFormatsIdentical() local 91 return srcFormat.actualImageFormatID == dstFormat.actualImageFormatID; in AreSrcAndDstFormatsIdentical() [all …]
|