/external/mesa3d/src/mesa/main/ |
D | texstore.c | 323 GLenum srcFormat, GLenum srcType, in _mesa_make_temp_float_image() argument 331 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_make_temp_float_image() 367 srcFormat, srcType, in _mesa_make_temp_float_image() 371 dst, srcFormat, srcType, src, in _mesa_make_temp_float_image() 435 GLenum srcFormat, GLenum srcType, in make_temp_uint_image() argument 442 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in make_temp_uint_image() 476 srcFormat, srcType, in make_temp_uint_image() 480 dst, srcFormat, srcType, src, in make_temp_uint_image() 564 GLenum srcFormat, GLenum srcType, in _mesa_make_temp_ubyte_image() argument 603 _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, srcType); in _mesa_make_temp_ubyte_image() [all …]
|
D | texcompress_s3tc.c | 173 if (srcFormat != GL_RGB || in _mesa_texstore_rgb_dxt1() 183 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb_dxt1() 188 srcFormat = GL_RGB; in _mesa_texstore_rgb_dxt1() 192 srcFormat, srcType, 0, 0); in _mesa_texstore_rgb_dxt1() 226 if (srcFormat != GL_RGBA || in _mesa_texstore_rgba_dxt1() 236 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt1() 241 srcFormat = GL_RGBA; in _mesa_texstore_rgba_dxt1() 245 srcFormat, srcType, 0, 0); in _mesa_texstore_rgba_dxt1() 279 if (srcFormat != GL_RGBA || in _mesa_texstore_rgba_dxt3() 289 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_dxt3() [all …]
|
D | pack.c | 2774 GLenum srcFormat, GLenum srcType, const GLvoid *src, in extract_uint_indexes() argument 2777 ASSERT(srcFormat == GL_COLOR_INDEX || srcFormat == GL_STENCIL_INDEX); in extract_uint_indexes() 3132 GLenum srcFormat, GLenum srcType, const GLvoid *src, in extract_float_rgba() argument 3141 ASSERT(srcFormat == GL_RED || in extract_float_rgba() 3142 srcFormat == GL_GREEN || in extract_float_rgba() 3143 srcFormat == GL_BLUE || in extract_float_rgba() 3144 srcFormat == GL_ALPHA || in extract_float_rgba() 3145 srcFormat == GL_LUMINANCE || in extract_float_rgba() 3146 srcFormat == GL_LUMINANCE_ALPHA || in extract_float_rgba() 3147 srcFormat == GL_INTENSITY || in extract_float_rgba() [all …]
|
D | pack.h | 63 GLenum srcFormat, GLenum srcType, 72 GLenum srcFormat, GLenum srcType, 80 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
D | texstore.h | 64 GLenum srcFormat, GLenum srcType, \ 78 GLenum srcFormat, GLenum srcType, 87 GLenum srcFormat, GLenum srcType,
|
D | texcompress_rgtc.c | 109 srcFormat, srcType, srcAddr, in _mesa_texstore_red_rgtc1() 156 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_red_rgtc1() 204 srcFormat, srcType, srcAddr, in _mesa_texstore_rg_rgtc2() 258 srcFormat, srcType, srcAddr, in _mesa_texstore_signed_rg_rgtc2()
|
D | texcompress_fxt1.c | 71 if (srcFormat != GL_RGB || in _mesa_texstore_rgb_fxt1() 81 srcFormat, srcType, srcAddr, in _mesa_texstore_rgb_fxt1() 87 srcFormat = GL_RGB; in _mesa_texstore_rgb_fxt1() 91 srcFormat, srcType, 0, 0); in _mesa_texstore_rgb_fxt1() 93 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgb_fxt1() 122 if (srcFormat != GL_RGBA || in _mesa_texstore_rgba_fxt1() 131 srcFormat, srcType, srcAddr, in _mesa_texstore_rgba_fxt1() 137 srcFormat = GL_RGBA; in _mesa_texstore_rgba_fxt1() 141 srcFormat, srcType, 0, 0); in _mesa_texstore_rgba_fxt1() 143 srcRowStride = _mesa_image_row_stride(srcPacking, srcWidth, srcFormat, in _mesa_texstore_rgba_fxt1()
|
D | fbobject.c | 2700 compatible_color_datatypes(gl_format srcFormat, gl_format dstFormat) in compatible_color_datatypes() argument 2702 GLenum srcType = _mesa_get_format_datatype(srcFormat); in compatible_color_datatypes()
|
D | dd.h | 201 GLenum srcFormat, GLenum srcType );
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_texture.c | 285 GLenum srcFormat, in radeonChoose8888TexFormat() argument 298 if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat() 299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat() 300 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat() 301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat() 303 } else if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat() 304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat() 305 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat() 306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_texture.c | 285 GLenum srcFormat, in radeonChoose8888TexFormat() argument 298 if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat() 299 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && !littleEndian) || in radeonChoose8888TexFormat() 300 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat() 301 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && littleEndian)) { in radeonChoose8888TexFormat() 303 } else if ((srcFormat == GL_RGBA && srcType == GL_UNSIGNED_INT_8_8_8_8_REV) || in radeonChoose8888TexFormat() 304 (srcFormat == GL_RGBA && srcType == GL_UNSIGNED_BYTE && littleEndian) || in radeonChoose8888TexFormat() 305 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_INT_8_8_8_8) || in radeonChoose8888TexFormat() 306 (srcFormat == GL_ABGR_EXT && srcType == GL_UNSIGNED_BYTE && !littleEndian)) { in radeonChoose8888TexFormat()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFramebufferBlitTests.cpp | 330 …BlitColorConversionCase (Context& context, const char* name, const char* desc, deUint32 srcFormat,… in BlitColorConversionCase() argument 332 , m_srcFormat (srcFormat) in BlitColorConversionCase() 347 tcu::TextureFormat srcFormat = glu::mapGLInternalFormat(m_srcFormat); in render() local 349 glu::DataType srcOutputType = getFragmentOutputType(srcFormat); in render() 353 tcu::TextureFormatInfo srcFmtRangeInfo = tcu::getTextureFormatInfo(srcFormat); in render() 355 …tcu::BVec4 copyMask = tcu::logicalAnd(getChannelMask(srcFormat.order), getChannelMask(dstForm… in render() 427 const tcu::TextureFormat srcFormat = glu::mapGLInternalFormat(m_srcFormat); in compare() local 429 const bool srcIsSRGB = tcu::isSRGB(srcFormat); in compare() 436 threshold = getToSRGBConversionThreshold(srcFormat, dstFormat); in compare() 440 const tcu::RGBA srcMaxDiff = getFormatThreshold(srcFormat) * (srcIsSRGB ? 2 : 1); in compare() [all …]
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_icc.cpp | 112 int srcFormat; in IccLib_CreateTransform() local 117 srcFormat = COLORSPACE_SH(PT_Lab) | CHANNELS_SH(nSrcComponents) | BYTES_SH(0); in IccLib_CreateTransform() 120 srcFormat = COLORSPACE_SH(PT_ANY) | CHANNELS_SH(nSrcComponents) | BYTES_SH(1); in IccLib_CreateTransform() 122 srcFormat |= DOSWAP_SH(1); in IccLib_CreateTransform() 133 … hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, TYPE_GRAY_8, intent, 0); in IccLib_CreateTransform() 136 … hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, TYPE_BGR_8, intent, 0); in IccLib_CreateTransform() 139 hTransform = cmsCreateTransform(srcProfile, srcFormat, dstProfile, in IccLib_CreateTransform()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 184 const FT_Pixel_Mode srcFormat = static_cast<FT_Pixel_Mode>(srcFTBitmap.pixel_mode); in copyFTBitmap() local 201 if ((FT_PIXEL_MODE_MONO == srcFormat && SkMask::kBW_Format == dstFormat) || in copyFTBitmap() 202 (FT_PIXEL_MODE_GRAY == srcFormat && SkMask::kA8_Format == dstFormat)) in copyFTBitmap() 210 } else if (FT_PIXEL_MODE_MONO == srcFormat && SkMask::kA8_Format == dstFormat) { in copyFTBitmap() 228 } else if (FT_PIXEL_MODE_BGRA == srcFormat && SkMask::kARGB32_Format == dstFormat) { in copyFTBitmap() 247 SkDEBUGF(("FT_Pixel_Mode %d, SkMask::Format %d\n", srcFormat, dstFormat)); in copyFTBitmap()
|
/external/deqp/modules/gles31/functional/ |
D | es31fCopyImageTests.cpp | 2039 void addCopyTests (TestCaseGroup* root, deUint32 srcFormat, deUint32 dstFormat) in addCopyTests() argument 2041 const string groupName = string(formatToName(srcFormat)) + "_" + formatToName(dstFormat); in addCopyTests() 2060 if (glu::isCompressedFormat(srcFormat) && srcTarget == GL_RENDERBUFFER) in addCopyTests() 2063 if (srcTarget == GL_RENDERBUFFER && !isColorRenderable(srcFormat)) in addCopyTests() 2066 …if (glu::isCompressedFormat(srcFormat) && !tcu::isAstcFormat(glu::mapGLCompressedTexFormat(srcForm… in addCopyTests() 2088 …const IVec3 srcSize = getTestedSize(srcTarget, srcFormat, (srcIs3D ? targetSize3D : targetSize2… in addCopyTests() 2092 ImageInfo(srcFormat, srcTarget, srcSize), in addCopyTests() 2358 const deUint32 srcFormat = formats[srcFormatNdx]; in init() local 2361 if (srcFormat != dstFormat && isFloatFormat(srcFormat) && isFloatFormat(dstFormat)) in init() 2364 addCopyTests(viewGroup, srcFormat, dstFormat); in init() [all …]
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_texture.c | 865 const GLenum srcFormat = _mesa_base_fbo_format(ctx, src->InternalFormat); in compatible_src_dst_formats() local 873 if (srcFormat == dstFormat) { in compatible_src_dst_formats() 879 else if (srcFormat == GL_RGB && dstFormat == GL_RGBA) { in compatible_src_dst_formats() 885 else if (srcFormat == GL_RGBA && dstFormat == GL_RGB) { in compatible_src_dst_formats() 896 _mesa_lookup_enum_by_nr(srcFormat), in compatible_src_dst_formats()
|
D | st_cb_drawpixels.c | 1428 enum pipe_format srcFormat, texFormat; in st_CopyPixels() local 1499 srcFormat = rbRead->texture->format; in st_CopyPixels() 1501 if (screen->is_format_supported(screen, srcFormat, st->internal_target, in st_CopyPixels() 1504 texFormat = srcFormat; in st_CopyPixels() 1564 if (srcFormat == texFormat) { in st_CopyPixels()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_texture.c | 237 GLenum srcFormat, GLenum srcType) in nouveau_choose_tex_format() argument
|