/external/mesa3d/src/mesa/main/ |
D | texstore.c | 927 gl_format dstFormat, in memcpy_texture() argument 941 const GLuint texelBytes = _mesa_get_format_bytes(dstFormat); in memcpy_texture() 994 _mesa_pack_ubyte_rgba_rect(dstFormat, srcWidth, srcHeight, in store_ubyte_texture() 1016 ASSERT(dstFormat == MESA_FORMAT_Z32 || in _mesa_texstore_z32() 1017 dstFormat == MESA_FORMAT_Z32_FLOAT); in _mesa_texstore_z32() 1018 ASSERT(_mesa_get_format_bytes(dstFormat) == sizeof(GLuint)); in _mesa_texstore_z32() 1020 if (dstFormat == MESA_FORMAT_Z32) in _mesa_texstore_z32() 1033 dstFormat, in _mesa_texstore_z32() 1066 ASSERT(dstFormat == MESA_FORMAT_X8_Z24); in _mesa_texstore_x8_z24() 1096 ASSERT(dstFormat == MESA_FORMAT_Z24_X8); in _mesa_texstore_z24_x8() [all …]
|
D | pack.c | 521 GLenum dstFormat, GLenum dstType) in _pack_rgba_span_from_uints_problem() argument 527 _mesa_lookup_enum_by_nr(dstFormat)); in _pack_rgba_span_from_uints_problem() 532 GLenum dstFormat, GLenum dstType, in _mesa_pack_rgba_span_from_uints() argument 539 pack_uint_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints() 542 pack_int_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints() 545 pack_ushort_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints() 548 pack_short_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints() 551 pack_ubyte_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints() 554 pack_byte_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n); in _mesa_pack_rgba_span_from_uints() 557 if ((dstFormat == GL_RGB) || (dstFormat == GL_RGB_INTEGER)) { in _mesa_pack_rgba_span_from_uints() [all …]
|
D | pack.h | 55 GLenum dstFormat, GLenum dstType, GLvoid *dstAddr, 62 GLuint n, GLenum dstFormat, GLubyte dest[], 71 GLuint n, GLenum dstFormat, GLfloat dest[], 79 GLuint n, GLenum dstFormat, GLuint *dest, 86 GLuint n, GLenum dstFormat, GLbyte dest[], 149 GLenum dstFormat, GLenum dstType, 155 GLenum dstFormat, GLenum dstType,
|
D | texcompress_rgtc.c | 102 ASSERT(dstFormat == MESA_FORMAT_RED_RGTC1 || in _mesa_texstore_red_rgtc1() 103 dstFormat == MESA_FORMAT_L_LATC1); in _mesa_texstore_red_rgtc1() 107 _mesa_get_format_base_format(dstFormat), in _mesa_texstore_red_rgtc1() 149 ASSERT(dstFormat == MESA_FORMAT_SIGNED_RED_RGTC1 || in _mesa_texstore_signed_red_rgtc1() 150 dstFormat == MESA_FORMAT_SIGNED_L_LATC1); in _mesa_texstore_signed_red_rgtc1() 154 _mesa_get_format_base_format(dstFormat), in _mesa_texstore_signed_red_rgtc1() 197 ASSERT(dstFormat == MESA_FORMAT_RG_RGTC2 || in _mesa_texstore_rg_rgtc2() 198 dstFormat == MESA_FORMAT_LA_LATC2); in _mesa_texstore_rg_rgtc2() 202 _mesa_get_format_base_format(dstFormat), in _mesa_texstore_rg_rgtc2() 251 ASSERT(dstFormat == MESA_FORMAT_SIGNED_RG_RGTC2 || in _mesa_texstore_signed_rg_rgtc2() [all …]
|
D | texcompress_s3tc.c | 170 ASSERT(dstFormat == MESA_FORMAT_RGB_DXT1 || in _mesa_texstore_rgb_dxt1() 171 dstFormat == MESA_FORMAT_SRGB_DXT1); in _mesa_texstore_rgb_dxt1() 181 _mesa_get_format_base_format(dstFormat), in _mesa_texstore_rgb_dxt1() 223 ASSERT(dstFormat == MESA_FORMAT_RGBA_DXT1 || in _mesa_texstore_rgba_dxt1() 224 dstFormat == MESA_FORMAT_SRGBA_DXT1); in _mesa_texstore_rgba_dxt1() 234 _mesa_get_format_base_format(dstFormat), in _mesa_texstore_rgba_dxt1() 276 ASSERT(dstFormat == MESA_FORMAT_RGBA_DXT3 || in _mesa_texstore_rgba_dxt3() 277 dstFormat == MESA_FORMAT_SRGBA_DXT3); in _mesa_texstore_rgba_dxt3() 287 _mesa_get_format_base_format(dstFormat), in _mesa_texstore_rgba_dxt3() 328 ASSERT(dstFormat == MESA_FORMAT_RGBA_DXT5 || in _mesa_texstore_rgba_dxt5() [all …]
|
D | pack_tmp.h | 27 GLenum dstFormat, in FN_NAME() argument 33 switch (dstFormat) { in FN_NAME() 119 _mesa_lookup_enum_by_nr(dstFormat)); in FN_NAME()
|
D | texstore.h | 60 gl_format dstFormat, \
|
D | texcompress_fxt1.c | 69 ASSERT(dstFormat == MESA_FORMAT_RGB_FXT1); in _mesa_texstore_rgb_fxt1() 79 _mesa_get_format_base_format(dstFormat), in _mesa_texstore_rgb_fxt1() 120 ASSERT(dstFormat == MESA_FORMAT_RGBA_FXT1); in _mesa_texstore_rgba_fxt1() 129 _mesa_get_format_base_format(dstFormat), in _mesa_texstore_rgba_fxt1()
|
D | fbobject.c | 2700 compatible_color_datatypes(gl_format srcFormat, gl_format dstFormat) in compatible_color_datatypes() argument 2703 GLenum dstType = _mesa_get_format_datatype(dstFormat); in compatible_color_datatypes()
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 190 const SkMask::Format dstFormat = static_cast<SkMask::Format>(dstMask.fFormat); in copyFTBitmap() local 196 if (SkMask::kLCD16_Format == dstFormat) { in copyFTBitmap() 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/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/mesa3d/src/gallium/state_trackers/vega/ |
D | vg_translate.h | 39 VGImageFormat dstFormat,
|
D | vg_translate.c | 34 VGImageFormat dstFormat, in _vega_pack_rgba_span_float() argument 39 switch (dstFormat) { in _vega_pack_rgba_span_float()
|
/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() 2074 if (glu::isCompressedFormat(dstFormat) && dstTarget == GL_RENDERBUFFER) in addCopyTests() 2077 if (dstTarget == GL_RENDERBUFFER && !isColorRenderable(dstFormat)) in addCopyTests() 2080 …if (glu::isCompressedFormat(dstFormat) && !tcu::isAstcFormat(glu::mapGLCompressedTexFormat(dstForm… in addCopyTests() 2089 …const IVec3 dstSize = getTestedSize(dstTarget, dstFormat, (dstIs3D ? targetSize3D : targetSize2… in addCopyTests() 2093 ImageInfo(dstFormat, dstTarget, dstSize), in addCopyTests() 2359 const deUint32 dstFormat = formats[dstFormatNdx]; 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 | 866 const GLenum dstFormat = _mesa_base_tex_format(ctx, dst->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() 897 _mesa_lookup_enum_by_nr(dstFormat)); in compatible_src_dst_formats()
|