Searched refs:dstFormat (Results 1 - 16 of 16) sorted by relevance

/external/mesa3d/src/mesa/main/
H A Dtexstore.c927 gl_format dstFormat,
941 const GLuint texelBytes = _mesa_get_format_bytes(dstFormat);
994 _mesa_pack_ubyte_rgba_rect(dstFormat, srcWidth, srcHeight,
1016 ASSERT(dstFormat == MESA_FORMAT_Z32 ||
1017 dstFormat == MESA_FORMAT_Z32_FLOAT);
1018 ASSERT(_mesa_get_format_bytes(dstFormat) == sizeof(GLuint));
1020 if (dstFormat == MESA_FORMAT_Z32)
1033 dstFormat,
1066 ASSERT(dstFormat == MESA_FORMAT_X8_Z24);
1096 ASSERT(dstFormat
925 memcpy_texture(struct gl_context *ctx, GLuint dimensions, gl_format dstFormat, GLint dstRowStride, GLubyte **dstSlices, GLint srcWidth, GLint srcHeight, GLint srcDepth, GLenum srcFormat, GLenum srcType, const GLvoid *srcAddr, const struct gl_pixelstore_attrib *srcPacking) argument
[all...]
H A Dpack.h55 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,
H A Dpack.c521 GLenum dstFormat, GLenum dstType)
527 _mesa_lookup_enum_by_nr(dstFormat));
532 GLenum dstFormat, GLenum dstType,
539 pack_uint_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n);
542 pack_int_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n);
545 pack_ushort_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n);
548 pack_short_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n);
551 pack_ubyte_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n);
554 pack_byte_from_uint_rgba(ctx, dstAddr, dstFormat, rgba, n);
557 if ((dstFormat
520 _pack_rgba_span_from_uints_problem(struct gl_context *ctx, GLenum dstFormat, GLenum dstType) argument
531 _mesa_pack_rgba_span_from_uints(struct gl_context *ctx, GLuint n, GLuint rgba[][4], GLenum dstFormat, GLenum dstType, GLvoid *dstAddr) argument
906 _pack_rgba_span_from_ints_problem(struct gl_context *ctx, GLenum dstFormat, GLenum dstType) argument
917 _mesa_pack_rgba_span_from_ints(struct gl_context *ctx, GLuint n, GLint rgba[][4], GLenum dstFormat, GLenum dstType, GLvoid *dstAddr) argument
1258 _mesa_pack_rgba_span_float(struct gl_context *ctx, GLuint n, GLfloat rgba[][4], GLenum dstFormat, GLenum dstType, GLvoid *dstAddr, const struct gl_pixelstore_attrib *dstPacking, GLbitfield transferOps) argument
4245 _mesa_unpack_color_span_ubyte(struct gl_context *ctx, GLuint n, GLenum dstFormat, GLubyte dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument
4488 _mesa_unpack_color_span_float( struct gl_context *ctx, GLuint n, GLenum dstFormat, GLfloat dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument
4688 _mesa_unpack_color_span_uint(struct gl_context *ctx, GLuint n, GLenum dstFormat, GLuint *dest, GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking) argument
4847 _mesa_unpack_dudv_span_byte( struct gl_context *ctx, GLuint n, GLenum dstFormat, GLbyte dest[], GLenum srcFormat, GLenum srcType, const GLvoid *source, const struct gl_pixelstore_attrib *srcPacking, GLbitfield transferOps ) argument
[all...]
H A Dpack_tmp.h27 GLenum dstFormat,
33 switch (dstFormat) {
119 _mesa_lookup_enum_by_nr(dstFormat));
25 FN_NAME(struct gl_context *ctx, DST_TYPE *dst, GLenum dstFormat, SRC_TYPE rgba[][4], int n) argument
H A Dtexcompress_rgtc.c102 ASSERT(dstFormat == MESA_FORMAT_RED_RGTC1 ||
103 dstFormat == MESA_FORMAT_L_LATC1);
107 _mesa_get_format_base_format(dstFormat),
149 ASSERT(dstFormat == MESA_FORMAT_SIGNED_RED_RGTC1 ||
150 dstFormat == MESA_FORMAT_SIGNED_L_LATC1);
154 _mesa_get_format_base_format(dstFormat),
197 ASSERT(dstFormat == MESA_FORMAT_RG_RGTC2 ||
198 dstFormat == MESA_FORMAT_LA_LATC2);
202 _mesa_get_format_base_format(dstFormat),
251 ASSERT(dstFormat
[all...]
H A Dtexcompress_s3tc.c170 ASSERT(dstFormat == MESA_FORMAT_RGB_DXT1 ||
171 dstFormat == MESA_FORMAT_SRGB_DXT1);
181 _mesa_get_format_base_format(dstFormat),
223 ASSERT(dstFormat == MESA_FORMAT_RGBA_DXT1 ||
224 dstFormat == MESA_FORMAT_SRGBA_DXT1);
234 _mesa_get_format_base_format(dstFormat),
276 ASSERT(dstFormat == MESA_FORMAT_RGBA_DXT3 ||
277 dstFormat == MESA_FORMAT_SRGBA_DXT3);
287 _mesa_get_format_base_format(dstFormat),
328 ASSERT(dstFormat
[all...]
H A Dtexstore.h47 * \param dstFormat destination Mesa texture format
60 gl_format dstFormat, \
H A Dtexcompress_fxt1.c69 ASSERT(dstFormat == MESA_FORMAT_RGB_FXT1);
79 _mesa_get_format_base_format(dstFormat),
120 ASSERT(dstFormat == MESA_FORMAT_RGBA_FXT1);
129 _mesa_get_format_base_format(dstFormat),
H A Dfbobject.c2700 compatible_color_datatypes(gl_format srcFormat, gl_format dstFormat) argument
2703 GLenum dstType = _mesa_get_format_datatype(dstFormat);
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_translate.h39 VGImageFormat dstFormat,
H A Dvg_translate.c34 VGImageFormat dstFormat,
39 switch (dstFormat) {
32 _vega_pack_rgba_span_float(struct vg_context *ctx, VGuint n, VGfloat rgba[][4], VGImageFormat dstFormat, void *dstAddr) argument
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp190 const SkMask::Format dstFormat = static_cast<SkMask::Format>(dstMask.fFormat); local
196 if (SkMask::kLCD16_Format == dstFormat) {
201 if ((FT_PIXEL_MODE_MONO == srcFormat && SkMask::kBW_Format == dstFormat) ||
202 (FT_PIXEL_MODE_GRAY == srcFormat && SkMask::kA8_Format == dstFormat))
210 } else if (FT_PIXEL_MODE_MONO == srcFormat && SkMask::kA8_Format == dstFormat) {
228 } else if (FT_PIXEL_MODE_BGRA == srcFormat && SkMask::kARGB32_Format == dstFormat) {
247 SkDEBUGF(("FT_Pixel_Mode %d, SkMask::Format %d\n", srcFormat, dstFormat));
/external/deqp/modules/gles3/functional/
H A Des3fFramebufferBlitTests.cpp330 BlitColorConversionCase (Context& context, const char* name, const char* desc, deUint32 srcFormat, deUint32 dstFormat, const IVec2& size) argument
333 , m_dstFormat (dstFormat)
348 tcu::TextureFormat dstFormat = glu::mapGLInternalFormat(m_dstFormat); local
350 glu::DataType dstOutputType = getFragmentOutputType(dstFormat);
354 tcu::TextureFormatInfo dstFmtRangeInfo = tcu::getTextureFormatInfo(dstFormat);
355 tcu::BVec4 copyMask = tcu::logicalAnd(getChannelMask(srcFormat.order), getChannelMask(dstFormat.order));
422 readPixels(dst, 0, 0, m_size.x(), m_size.y(), dstFormat, dstRangeInfo.lookupScale, dstRangeInfo.lookupBias);
428 const tcu::TextureFormat dstFormat = glu::mapGLInternalFormat(m_dstFormat); local
430 const bool dstIsSRGB = tcu::isSRGB(dstFormat);
436 threshold = getToSRGBConversionThreshold(srcFormat, dstFormat);
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fCopyImageTests.cpp2161 void addCopyTests (TestCaseGroup* root, deUint32 srcFormat, deUint32 dstFormat) argument
2163 const string groupName = string(formatToName(srcFormat)) + "_" + formatToName(dstFormat);
2196 if (glu::isCompressedFormat(dstFormat) && dstTarget == GL_RENDERBUFFER)
2199 if (dstTarget == GL_RENDERBUFFER && !isColorRenderable(dstFormat))
2202 if (glu::isCompressedFormat(dstFormat) && !tcu::isAstcFormat(glu::mapGLCompressedTexFormat(dstFormat)) && dstIs3D)
2208 const bool isCompressedCase = glu::isCompressedFormat(srcFormat) || glu::isCompressedFormat(dstFormat);
2211 const IVec3 dstSize = getTestedSize(dstTarget, dstFormat, targetSize);
2215 ImageInfo(dstFormat, dstTarget, dstSize),
2481 const deUint32 dstFormat local
2502 const deUint32 dstFormat = formats[dstFormatNdx]; local
2526 const deUint32 dstFormat = compressedFormats[dstFormatNdx]; local
[all...]
/external/vulkan-validation-layers/layers/
H A Dimage.cpp847 VkFormat dstFormat = dstImageEntry->second.format; local
850 if ((vk_format_is_sint(srcFormat) && !vk_format_is_sint(dstFormat)) ||
851 (vk_format_is_uint(srcFormat) && !vk_format_is_uint(dstFormat))) {
855 << "Source format is " << string_VkFormat(srcFormat) << " Destination format is " << string_VkFormat(dstFormat);
862 if (vk_format_is_depth_or_stencil(srcFormat) || vk_format_is_depth_or_stencil(dstFormat)) {
863 if (srcFormat != dstFormat) {
867 << "Source format is " << string_VkFormat(srcFormat) << " Destination format is " << string_VkFormat(dstFormat);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_texture.c866 const GLenum dstFormat = _mesa_base_tex_format(ctx, dst->InternalFormat); local
873 if (srcFormat == dstFormat) {
879 else if (srcFormat == GL_RGB && dstFormat == GL_RGBA) {
885 else if (srcFormat == GL_RGBA && dstFormat == GL_RGB) {
897 _mesa_lookup_enum_by_nr(dstFormat));

Completed in 482 milliseconds