Home
last modified time | relevance | path

Searched refs:dstType (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/shaders/gradients/
DSk4fLinearGradient.cpp16 template<typename dstType, ApplyPremul premul>
17 void ramp(const Sk4f& c, const Sk4f& dc, dstType dst[], int n, in ramp()
24 Sk4f c0 = c + DstTraits<dstType, premul>::pre_lerp_bias(bias0), in ramp()
25 c1 = c + dc + DstTraits<dstType, premul>::pre_lerp_bias(bias1), in ramp()
30 DstTraits<dstType, premul>::store4x(c0, c1, c2, c3, dst, bias0, bias1); in ramp()
40 DstTraits<dstType, premul>::store(c0, dst++, bias0); in ramp()
41 DstTraits<dstType, premul>::store(c1, dst++, bias1); in ramp()
45 DstTraits<dstType, premul>::store(c0, dst, bias0); in ramp()
199 template<typename dstType, ApplyPremul premul>
201 LinearGradient4fContext::shadePremulSpan(int x, int y, dstType dst[], int count, in shadePremulSpan()
[all …]
DSk4fLinearGradient.h25 template<typename dstType, ApplyPremul, TileMode>
28 template <typename dstType, ApplyPremul premul>
29 void shadePremulSpan(int x, int y, dstType dst[], int count, float bias0, float bias1) const;
31 template <typename dstType, ApplyPremul premul, SkShader::TileMode tileMode>
32 void shadeSpanInternal(int x, int y, dstType dst[], int count, float bias0, float bias1) const;
/external/skqp/src/shaders/gradients/
DSk4fLinearGradient.cpp16 template<typename dstType, ApplyPremul premul>
17 void ramp(const Sk4f& c, const Sk4f& dc, dstType dst[], int n, in ramp()
24 Sk4f c0 = c + DstTraits<dstType, premul>::pre_lerp_bias(bias0), in ramp()
25 c1 = c + dc + DstTraits<dstType, premul>::pre_lerp_bias(bias1), in ramp()
30 DstTraits<dstType, premul>::store4x(c0, c1, c2, c3, dst, bias0, bias1); in ramp()
40 DstTraits<dstType, premul>::store(c0, dst++, bias0); in ramp()
41 DstTraits<dstType, premul>::store(c1, dst++, bias1); in ramp()
45 DstTraits<dstType, premul>::store(c0, dst, bias0); in ramp()
199 template<typename dstType, ApplyPremul premul>
201 LinearGradient4fContext::shadePremulSpan(int x, int y, dstType dst[], int count, in shadePremulSpan()
[all …]
DSk4fLinearGradient.h25 template<typename dstType, ApplyPremul, TileMode>
28 template <typename dstType, ApplyPremul premul>
29 void shadePremulSpan(int x, int y, dstType dst[], int count, float bias0, float bias1) const;
31 template <typename dstType, ApplyPremul premul, SkShader::TileMode tileMode>
32 void shadeSpanInternal(int x, int y, dstType dst[], int count, float bias0, float bias1) const;
/external/mesa3d/src/mesa/main/
Dpack.h51 GLenum dstType, GLvoid *dest,
58 GLenum dstType, GLvoid *dest, const GLubyte *source,
64 GLenum dstType, GLvoid *dest, GLuint depthMax,
70 GLenum dstType, const GLfloat *depthSpan,
76 GLenum dstType, GLuint *dest,
Dpack.c500 GLenum dstType, GLvoid *dest, in _mesa_unpack_stencil_span() argument
518 assert(dstType == GL_UNSIGNED_BYTE || in _mesa_unpack_stencil_span()
519 dstType == GL_UNSIGNED_SHORT || in _mesa_unpack_stencil_span()
520 dstType == GL_UNSIGNED_INT || in _mesa_unpack_stencil_span()
521 dstType == GL_FLOAT_32_UNSIGNED_INT_24_8_REV); in _mesa_unpack_stencil_span()
532 dstType == GL_UNSIGNED_BYTE) { in _mesa_unpack_stencil_span()
538 dstType == GL_UNSIGNED_INT && in _mesa_unpack_stencil_span()
571 switch (dstType) { in _mesa_unpack_stencil_span()
613 GLenum dstType, GLvoid *dest, const GLubyte *source, in _mesa_pack_stencil_span() argument
631 switch (dstType) { in _mesa_pack_stencil_span()
[all …]
Dblit.c104 GLenum dstType = _mesa_get_format_datatype(dstFormat); in compatible_color_datatypes() local
114 if (dstType != GL_INT && dstType != GL_UNSIGNED_INT) { in compatible_color_datatypes()
115 assert(dstType == GL_UNSIGNED_NORMALIZED || in compatible_color_datatypes()
116 dstType == GL_SIGNED_NORMALIZED || in compatible_color_datatypes()
117 dstType == GL_FLOAT); in compatible_color_datatypes()
119 dstType = GL_FLOAT; in compatible_color_datatypes()
122 return srcType == dstType; in compatible_color_datatypes()
Dimage.c475 GLenum dstType, GLvoid *dst, in _mesa_convert_colors() argument
485 assert(srcType != dstType); in _mesa_convert_colors()
489 if (dstType == GL_UNSIGNED_SHORT) { in _mesa_convert_colors()
508 assert(dstType == GL_FLOAT); in _mesa_convert_colors()
522 if (dstType == GL_UNSIGNED_BYTE) { in _mesa_convert_colors()
541 assert(dstType == GL_FLOAT); in _mesa_convert_colors()
555 if (dstType == GL_UNSIGNED_BYTE) { in _mesa_convert_colors()
570 assert(dstType == GL_UNSIGNED_SHORT); in _mesa_convert_colors()
Dtexstore.c151 GLenum dstType; in _mesa_texstore_z32() local
158 dstType = GL_UNSIGNED_INT; in _mesa_texstore_z32()
160 dstType = GL_FLOAT; in _mesa_texstore_z32()
171 dstType, dstRow, in _mesa_texstore_z32()
827 GLenum dstType; in _mesa_texstore_needs_transfer_ops() local
844 dstType = _mesa_get_format_datatype(dstFormat); in _mesa_texstore_needs_transfer_ops()
846 return dstType != GL_INT && dstType != GL_UNSIGNED_INT && in _mesa_texstore_needs_transfer_ops()
Dimage.h102 GLenum dstType, GLvoid *dst,
/external/skqp/src/shaders/
DSkShaderBase.h69 DstType dstType, SkColorSpace* dstColorSpace) in ContextRec()
73 , fPreferredDstType(dstType) in ContextRec()
/external/skia/src/shaders/
DSkShaderBase.h69 DstType dstType, SkColorSpace* dstColorSpace) in ContextRec()
73 , fPreferredDstType(dstType) in ContextRec()
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp1118 const Type& dstType, OutputStream& out) { in writeMatrixCopy() argument
1120 ASSERT(dstType.kind() == Type::kMatrix_Kind); in writeMatrixCopy()
1121 ASSERT(srcType.componentType() == dstType.componentType()); in writeMatrixCopy()
1125 SpvId dstColumnType = this->getType(dstType.componentType().toCompound(fContext, in writeMatrixCopy()
1126 dstType.rows(), in writeMatrixCopy()
1129 if (dstType.componentType() == *fContext.fFloat_Type) { in writeMatrixCopy()
1132 } else if (dstType.componentType() == *fContext.fInt_Type) { in writeMatrixCopy()
1140 for (int i = 0; i < dstType.columns(); i++) { in writeMatrixCopy()
1146 if (srcType.rows() == dstType.rows()) { in writeMatrixCopy()
1150 else if (dstType.rows() > srcType.rows()) { in writeMatrixCopy()
[all …]
DSkSLSPIRVCodeGenerator.h191 void writeMatrixCopy(SpvId id, SpvId src, const Type& srcType, const Type& dstType,
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.cpp1110 const Type& dstType, OutputStream& out) { in writeMatrixCopy() argument
1112 ASSERT(dstType.kind() == Type::kMatrix_Kind); in writeMatrixCopy()
1113 ASSERT(srcType.componentType() == dstType.componentType()); in writeMatrixCopy()
1117 SpvId dstColumnType = this->getType(dstType.componentType().toCompound(fContext, in writeMatrixCopy()
1118 dstType.rows(), in writeMatrixCopy()
1121 if (dstType.componentType() == *fContext.fFloat_Type) { in writeMatrixCopy()
1124 } else if (dstType.componentType() == *fContext.fInt_Type) { in writeMatrixCopy()
1132 for (int i = 0; i < dstType.columns(); i++) { in writeMatrixCopy()
1138 if (srcType.rows() == dstType.rows()) { in writeMatrixCopy()
1142 else if (dstType.rows() > srcType.rows()) { in writeMatrixCopy()
[all …]
DSkSLSPIRVCodeGenerator.h191 void writeMatrixCopy(SpvId id, SpvId src, const Type& srcType, const Type& dstType,
/external/deqp/modules/gles3/functional/
Des3fFramebufferBlitTests.cpp1025 tcu::TextureChannelClass dstType = tcu::getTextureChannelClass(dstTexFmt.type); in init() local
1028 …(dstType == tcu::TEXTURECHANNELCLASS_FLOATING_POINT || dstType == tcu::TEXTURECHANNELCLASS_UNSIGNE… in init()
1029 …((srcType == tcu::TEXTURECHANNELCLASS_SIGNED_INTEGER) != (dstType == tcu::TEXTURECHANNELCLASS_SIGN… in init()
1030 …((srcType == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER) != (dstType == tcu::TEXTURECHANNELCLASS_UN… in init()
/external/icu/icu4c/source/i18n/unicode/
Dtzfmt.h724 …odeString& formatSpecific(const TimeZone& tz, UTimeZoneNameType stdType, UTimeZoneNameType dstType,
/external/skqp/tests/
DVkHardwareBufferTest.cpp1302 SrcType srcType, DstType dstType, bool shareSyncs) { in run_test() argument
1322 if (DstType::kVulkan == dstType) { in run_test()
1325 SkASSERT(DstType::kEGL == dstType); in run_test()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DTimeZoneFormat.java1781 …private String formatSpecific(TimeZone tz, NameType stdType, NameType dstType, long date, Output<T…
1783 assert(dstType == NameType.LONG_DAYLIGHT || dstType == NameType.SHORT_DAYLIGHT);
1787 getTimeZoneNames().getDisplayName(ZoneMeta.getCanonicalCLDRID(tz), dstType, date) :
/external/icu/android_icu4j/src/main/java/android/icu/text/
DTimeZoneFormat.java1711 …private String formatSpecific(TimeZone tz, NameType stdType, NameType dstType, long date, Output<T…
1713 assert(dstType == NameType.LONG_DAYLIGHT || dstType == NameType.SHORT_DAYLIGHT);
1717 getTimeZoneNames().getDisplayName(ZoneMeta.getCanonicalCLDRID(tz), dstType, date) :
/external/mesa3d/src/mesa/swrast/
Ds_span.c1420 GLenum dstType = GL_FLOAT; in _swrast_read_rgba_span() local
1475 if (dstType == GL_UNSIGNED_BYTE) { in _swrast_read_rgba_span()
1479 else if (dstType == GL_FLOAT) { in _swrast_read_rgba_span()
/external/llvm/lib/Target/AArch64/
DAArch64InstrFormats.td3527 RegisterClass srcType, RegisterClass dstType,
3529 : I<(outs dstType:$Rd), (ins srcType:$Rn),
3547 RegisterClass srcType, RegisterClass dstType,
3549 : I<(outs dstType:$Rd), (ins srcType:$Rn, immType:$scale),
3669 RegisterClass srcType, RegisterClass dstType,
3671 : I<(outs dstType:$Rd), (ins srcType:$Rn, immType:$scale),
3686 RegisterClass srcType, RegisterClass dstType,
3688 : I<(outs dstType:$Rd), (ins srcType:$Rn),
3689 asm, "\t$Rd, $Rn", "", [(set (dvt dstType:$Rd), (node srcType:$Rn))]>,
3797 RegisterClass srcType, RegisterClass dstType,
[all …]
/external/deqp/framework/randomshaders/
DrsgExpression.cpp634 bool isConversionOk (VariableType::Type srcType, VariableType::Type dstType, ConstValueRangeAccess … in isConversionOk() argument
643 return convTable[getBaseTypeConvNdx(srcType)][getBaseTypeConvNdx(dstType)](valueRange); in isConversionOk()
/external/icu/icu4c/source/i18n/
Dtzfmt.cpp1352 …oneFormat::formatSpecific(const TimeZone& tz, UTimeZoneNameType stdType, UTimeZoneNameType dstType, in formatSpecific() argument
1369 fTimeZoneNames->getDisplayName(UnicodeString(TRUE, canonicalID, -1), dstType, date, name); in formatSpecific()

12