HomeSort by relevance Sort by last modified time
    Searched refs:srcCoeff (Results 1 - 16 of 16) sorted by null

  /external/skia/include/gpu/
GrBlend.h 91 static constexpr bool GrBlendCoeffsUseSrcColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
92 return kZero_GrBlendCoeff != srcCoeff || GrBlendCoeffRefsSrc(dstCoeff);
95 static constexpr bool GrBlendCoeffsUseDstColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
96 return GrBlendCoeffRefsDst(srcCoeff) || kZero_GrBlendCoeff != dstCoeff;
103 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff,
106 kZero_GrBlendCoeff != srcCoeff || kOne_GrBlendCoeff != dstCoeff;
114 * D' = f * (S * srcCoeff + D * dstCoeff) + (1-f) * D
115 * = f * S * srcCoeff + D * (f * dstCoeff + (1 - f))
117 * (Let srcCoeff be negative for reverse subtract.) We can tweak alpha for coverage when the
120 * (f*S) * srcCoeff' + D * dstCoeff' == f * S * srcCoeff + D * (f * dstCoeff + (1 - f)
    [all...]
  /external/skqp/include/gpu/
GrBlend.h 91 static constexpr bool GrBlendCoeffsUseSrcColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
92 return kZero_GrBlendCoeff != srcCoeff || GrBlendCoeffRefsSrc(dstCoeff);
95 static constexpr bool GrBlendCoeffsUseDstColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
96 return GrBlendCoeffRefsDst(srcCoeff) || kZero_GrBlendCoeff != dstCoeff;
103 static constexpr bool GrBlendModifiesDst(GrBlendEquation equation, GrBlendCoeff srcCoeff,
106 kZero_GrBlendCoeff != srcCoeff || kOne_GrBlendCoeff != dstCoeff;
114 * D' = f * (S * srcCoeff + D * dstCoeff) + (1-f) * D
115 * = f * S * srcCoeff + D * (f * dstCoeff + (1 - f))
117 * (Let srcCoeff be negative for reverse subtract.) We can tweak alpha for coverage when the
120 * (f*S) * srcCoeff' + D * dstCoeff' == f * S * srcCoeff + D * (f * dstCoeff + (1 - f)
    [all...]
  /external/skia/src/gpu/glsl/
GrGLSLBlend.cpp 442 SkBlendModeCoeff srcCoeff, dstCoeff;
443 if (SkBlendMode_AsCoeff(mode, &srcCoeff, &dstCoeff)) {
452 bool didAppend = append_porterduff_term(fsBuilder, srcCoeff, srcColor, srcColor, dstColor,
470 SkBlendModeCoeff srcCoeff, dstCoeff;
473 srcCoeff = SkBlendModeCoeff::kOne;
477 srcCoeff = SkBlendModeCoeff::kDC;
481 srcCoeff = SkBlendModeCoeff::kOne;
485 srcCoeff = SkBlendModeCoeff::kIDC;
489 srcCoeff = SkBlendModeCoeff::kZero;
493 srcCoeff = SkBlendModeCoeff::kIDC
    [all...]
  /external/skqp/src/gpu/glsl/
GrGLSLBlend.cpp 442 SkBlendModeCoeff srcCoeff, dstCoeff;
443 if (SkBlendMode_AsCoeff(mode, &srcCoeff, &dstCoeff)) {
452 bool didAppend = append_porterduff_term(fsBuilder, srcCoeff, srcColor, srcColor, dstColor,
470 SkBlendModeCoeff srcCoeff, dstCoeff;
473 srcCoeff = SkBlendModeCoeff::kOne;
477 srcCoeff = SkBlendModeCoeff::kDC;
481 srcCoeff = SkBlendModeCoeff::kOne;
485 srcCoeff = SkBlendModeCoeff::kIDC;
489 srcCoeff = SkBlendModeCoeff::kZero;
493 srcCoeff = SkBlendModeCoeff::kIDC
    [all...]
  /external/skia/src/gpu/effects/
GrPorterDuffXferProcessor.cpp 46 GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff)
50 , fSrcCoeff(srcCoeff)
52 , fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff, dstCoeff)) {}
92 GrBlendCoeff srcCoeff() const {
143 GrBlendEquation BlendEquation, GrBlendCoeff SrcCoeff,
173 GrBlendCoeff SrcCoeff,
176 (GrBlendModifiesDst(BlendEquation, SrcCoeff, DstCoeff) ? kModifiesDst_Property : 0) |
177 (GrBlendCoeffsUseDstColor(SrcCoeff, DstCoeff) ? kUsesDstColor_Property : 0) |
178 ((PrimaryOut >= kModulate_OutputType && GrBlendCoeffsUseSrcColor(SrcCoeff, DstCoeff)) ||
182 : 0) | // We assert later that SrcCoeff doesn't ref src2
    [all...]
  /external/skqp/src/gpu/effects/
GrPorterDuffXferProcessor.cpp 46 GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff)
50 , fSrcCoeff(srcCoeff)
52 , fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff, dstCoeff)) {}
92 GrBlendCoeff srcCoeff() const {
143 GrBlendEquation BlendEquation, GrBlendCoeff SrcCoeff,
173 GrBlendCoeff SrcCoeff,
176 (GrBlendModifiesDst(BlendEquation, SrcCoeff, DstCoeff) ? kModifiesDst_Property : 0) |
177 (GrBlendCoeffsUseDstColor(SrcCoeff, DstCoeff) ? kUsesDstColor_Property : 0) |
178 ((PrimaryOut >= kModulate_OutputType && GrBlendCoeffsUseSrcColor(SrcCoeff, DstCoeff)) ||
182 : 0) | // We assert later that SrcCoeff doesn't ref src2
    [all...]
  /external/skia/src/gpu/
GrBlend.cpp 111 void GrGetCoeffBlendKnownComponents(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff,
119 MaskedColor srcTerm = get_term(srcCoeff, src, dst, src);
  /external/skqp/src/gpu/
GrBlend.cpp 110 void GrGetCoeffBlendKnownComponents(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff,
118 MaskedColor srcTerm = get_term(srcCoeff, src, dst, src);
  /external/skia/src/gpu/vk/
GrVkPipeline.cpp 359 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
362 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff;
367 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
370 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
549 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
552 if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(dstCoeff)) {
  /external/skqp/src/gpu/vk/
GrVkPipeline.cpp 359 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
362 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff;
367 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
370 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
549 GrBlendCoeff srcCoeff = blendInfo.fSrcBlend;
552 if (blend_coeff_refs_constant(srcCoeff) || blend_coeff_refs_constant(dstCoeff)) {
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
TensorShuffling.h 163 return m_impl.coeff(srcCoeff(index));
191 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const {
245 return this->m_impl.coeffRef(this->srcCoeff(index));
TensorStriding.h 161 return m_impl.coeff(srcCoeff(index));
228 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const
286 return this->m_impl.coeffRef(this->srcCoeff(index));
TensorMorphing.h 390 Index offset = srcCoeff(i);
405 return m_impl.coeff(srcCoeff(index));
498 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const
558 return this->m_impl.coeffRef(this->srcCoeff(index));
803 return m_impl.coeff(srcCoeff(index));
815 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const
    [all...]
TensorChipping.h 199 return m_impl.coeff(srcCoeff(index));
278 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Index srcCoeff(Index index) const
338 return this->m_impl.coeffRef(this->srcCoeff(index));
  /external/skia/src/gpu/gl/
GrGLGpu.cpp     [all...]
  /external/skqp/src/gpu/gl/
GrGLGpu.cpp     [all...]

Completed in 397 milliseconds